QToolBar::insertWidget allows to add a QWidget after a specific QAction. Is there any way to add a QAction at a specific position?
Removing all actions and then re-adding them again after is my last hope !
QToolBar::insertWidget allows to add a QWidget after a specific QAction. Is there any way to add a QAction at a specific position?
Removing all actions and then re-adding them again after is my last hope !
You can use the insertAction() method, inherited from QWidget, to insert your QAction before a given QAction.