1 Attachment(s)
Arrange QtoolButton in QToolBar ?
Hello,
I'm wondering if there is a way to re-arrange the QToolButton in a QToolbar?
I have a QToolbutton at the end of my ToolBar, and I would like to move it up. (see image)
I was searching the forums and found .takeAt() and insertWidget() for layouts, I'm looking for something similar for ToolButtons
Thanks!
Nick
Attachment 13156
Re: Arrange QtoolButton in QToolBar ?
You could try
1) call actions() to retrieve a list of the actions "behind" the buttons
2) call clear()
2) modify the list
3) call addActions() with the modified list
Cheers,
_