Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reccommendation for plugin writers: customization menu #18592

Closed
qgib opened this issue Apr 29, 2014 · 1 comment
Closed

Reccommendation for plugin writers: customization menu #18592

qgib opened this issue Apr 29, 2014 · 1 comment
Labels
Documentation Changes to Documentation, README, INSTALL, etc Feature Request

Comments

@qgib
Copy link
Contributor

qgib commented Apr 29, 2014

Author Name: Paolo Cavallini (@pcav)
Original Redmine Issue: 10133

Redmine category:documentation_and_help


From Radim comments.

Customization only works for objects with objectName. objectName is automatically set by Qt for objects created in designer (compiled from .ui). For objects created programmatically it has to be set. Object names have to be added in all plugins.
Recommendation for plugin authors: when you are adding QMenu or QAction, always set its object name, e.g.: myMenu = QMenu('My menu") myMenu.setObjectName("myMenu")

See also #17769

This should be added to Python manual/guidelines.

@qgib
Copy link
Contributor Author

qgib commented Mar 5, 2015

Author Name: Alexander Bruy (@alexbruy)


Already added in documentation master


  • resolution was changed from to fixed/implemented
  • status_id was changed from Open to Closed

@qgib qgib added Feature Request Documentation Changes to Documentation, README, INSTALL, etc labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Changes to Documentation, README, INSTALL, etc Feature Request
Projects
None yet
Development

No branches or pull requests

1 participant