'How do I rearrange menu bar options in Qt Designer 5?
I have been unable to figure out how to easily rearrange the menu bar selections that I have created in Qt Designer. Older documentation indicates that I can press the left click mouse button on a selection and then drag and drop it into a new location but this feature does not seem to work in this version.
I am trying to move "Load Database" above the "Exit" option. I would imagine I could just delete the "Exit" menu selection and add it again but I was hoping there would be an easier option in case this happens again.
Solution 1:[1]
To do so you need to go in the ui editor. Then click on File. Press and hold on the item you want to move. Move it. Below you can see the exact same thing done in QT 4.12.3 and Window 10.
Press file
Press and hold on the desired item
Drag the selected item where you want
Now the 'Save as' is above 'Save'
Solution 2:[2]
Select your action in Designer Press Ctrl + Up/Down
Solution 3:[3]
Ctrl + Up/Down is working for me (Qt desinger 5.15.0)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | eyllanesc |
Solution 2 | Alex |
Solution 3 | Ted Lin |