diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-03 18:30:23 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-03 18:30:23 -0400 |
| commit | 97026b4da03dbb9dda460c6046aaa09a23a927bf (patch) | |
| tree | 04b8450cdf3c8dd63d37ef4940d5802f2d6b6ef5 /src/mainwindow.ui | |
| parent | 355a2fbbee568723a05283f9a63ad9aa30040394 (diff) | |
added menubar toggle in the context menu
removed two unused actions: actionToolbar_Size and actionToolbar_style
added ways to make the menu reappear if you hide everything:
- show the toolbar popup when right-clicking around the border of the main window
- intercept the Alt key and make the main menu visible
Diffstat (limited to 'src/mainwindow.ui')
| -rw-r--r-- | src/mainwindow.ui | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/src/mainwindow.ui b/src/mainwindow.ui index 9656cbf2..e25111e1 100644 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -30,6 +30,9 @@ <verstretch>0</verstretch> </sizepolicy> </property> + <property name="contextMenuPolicy"> + <enum>Qt::CustomContextMenu</enum> + </property> <layout class="QHBoxLayout" name="horizontalLayout_8"> <property name="leftMargin"> <number>6</number> @@ -1432,6 +1435,7 @@ p, li { white-space: pre-wrap; } <property name="title"> <string>&Toolbars</string> </property> + <addaction name="actionMainMenuToggle"/> <addaction name="actionToolBarMainToggle"/> <addaction name="actionToolBarLinksToggle"/> <addaction name="separator"/> @@ -1719,22 +1723,12 @@ p, li { white-space: pre-wrap; } <string>Exits Mod Organizer</string> </property> </action> - <action name="actionToolbar_Size"> - <property name="text"> - <string>Toolbar Size</string> - </property> - </action> - <action name="actionToolbar_style"> - <property name="text"> - <string>Toolbar Buttons</string> - </property> - </action> <action name="actionToolBarMainToggle"> <property name="checkable"> <bool>true</bool> </property> <property name="text"> - <string>&Main</string> + <string>M&ain</string> </property> </action> <action name="actionToolBarLinksToggle"> @@ -1793,6 +1787,14 @@ p, li { white-space: pre-wrap; } <string>M&edium Icons</string> </property> </action> + <action name="actionMainMenuToggle"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>&Menu</string> + </property> + </action> </widget> <layoutdefault spacing="6" margin="11"/> <customwidgets> |
