I want to implement a lot of actions in my app( a lot . say some 50 )
( i'm coding in PyQt )
I wanted these actions be added to 2 or 3 QDockWidgets (right,left and bottom ) as icons . I created an action and added to a QListWidget and set the dockwidget . But nothing appears .
Here's the code :
whereQt Code:
self.optionslist_1.addAction(conv_main) rightdock.setWidget(self.optionslist_1)To copy to clipboard, switch view to plain text mode
optionslist_1 is a QListWidget
rightdock whose declarations are implemented previously .
conv_main is an action that i've created earlier .
So actions can't be added to a Dock ?
Should i go for Toolbar ? And is Toolbars added only at Top ?
Any suggestions welcome......
Bookmarks