diff options
| author | Al <gabriel.cortesi@outlook.com> | 2019-06-03 22:26:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-03 22:26:55 +0200 |
| commit | 0ecd812035a26c196154be2e28dad65aebcbd8bd (patch) | |
| tree | 4fb2ca83bca9b0314ea57fa63a864b6a29b6d917 /src/mainwindow.ui | |
| parent | f00314442b9c3c28e846c64da3c3f776e50656de (diff) | |
| parent | 1fcd8f0e09363a0103df116e137ea9eb16bbf0db (diff) | |
Merge pull request #744 from isanae/standard-menu-and-toolbar
Standard menu and toolbars
Diffstat (limited to 'src/mainwindow.ui')
| -rw-r--r-- | src/mainwindow.ui | 307 |
1 files changed, 270 insertions, 37 deletions
diff --git a/src/mainwindow.ui b/src/mainwindow.ui index d876b54a..9656cbf2 100644 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -31,6 +31,18 @@ </sizepolicy> </property> <layout class="QHBoxLayout" name="horizontalLayout_8"> + <property name="leftMargin"> + <number>6</number> + </property> + <property name="topMargin"> + <number>6</number> + </property> + <property name="rightMargin"> + <number>6</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> <item> <widget class="QSplitter" name="topLevelSplitter"> <property name="orientation"> @@ -1337,17 +1349,8 @@ p, li { white-space: pre-wrap; } </layout> </widget> <widget class="QToolBar" name="toolBar"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="contextMenuPolicy"> - <enum>Qt::CustomContextMenu</enum> - </property> <property name="windowTitle"> - <string>Tool Bar</string> - </property> - <property name="movable"> - <bool>false</bool> + <string>Main ToolBar</string> </property> <property name="iconSize"> <size> @@ -1355,12 +1358,6 @@ p, li { white-space: pre-wrap; } <height>36</height> </size> </property> - <property name="toolButtonStyle"> - <enum>Qt::ToolButtonIconOnly</enum> - </property> - <property name="floatable"> - <bool>false</bool> - </property> <attribute name="toolBarArea"> <enum>TopToolBarArea</enum> </attribute> @@ -1368,9 +1365,11 @@ p, li { white-space: pre-wrap; } <bool>false</bool> </attribute> <addaction name="actionChange_Game"/> - <addaction name="actionInstallMod"/> - <addaction name="actionNexus"/> <addaction name="actionAdd_Profile"/> + <addaction name="separator"/> + <addaction name="actionNexus"/> + <addaction name="actionInstallMod"/> + <addaction name="separator"/> <addaction name="actionModify_Executables"/> <addaction name="actionTool"/> <addaction name="actionSettings"/> @@ -1381,13 +1380,105 @@ p, li { white-space: pre-wrap; } <addaction name="actionHelp"/> </widget> <widget class="QStatusBar" name="statusBar"/> + <widget class="QMenuBar" name="menuBar"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>926</width> + <height>21</height> + </rect> + </property> + <widget class="QMenu" name="menu_File"> + <property name="title"> + <string>&File</string> + </property> + <addaction name="actionChange_Game"/> + <addaction name="actionInstallMod"/> + <addaction name="actionAdd_Profile"/> + <addaction name="separator"/> + <addaction name="actionExit"/> + </widget> + <widget class="QMenu" name="menu_Tools"> + <property name="title"> + <string>&Tools</string> + </property> + <addaction name="actionNexus"/> + <addaction name="separator"/> + <addaction name="actionModify_Executables"/> + <addaction name="actionTool"/> + <addaction name="separator"/> + <addaction name="actionSettings"/> + </widget> + <widget class="QMenu" name="menu_Help"> + <property name="title"> + <string>&Help</string> + </property> + <addaction name="actionHelp"/> + <addaction name="actionUpdate"/> + <addaction name="actionEndorseMO"/> + </widget> + <widget class="QMenu" name="menu_Edit"> + <property name="title"> + <string>&Edit</string> + </property> + <addaction name="actionCopy_Log_to_Clipboard"/> + </widget> + <widget class="QMenu" name="menuView"> + <property name="title"> + <string>&View</string> + </property> + <widget class="QMenu" name="menuToolbars"> + <property name="title"> + <string>&Toolbars</string> + </property> + <addaction name="actionToolBarMainToggle"/> + <addaction name="actionToolBarLinksToggle"/> + <addaction name="separator"/> + <addaction name="actionToolBarSmallIcons"/> + <addaction name="actionToolBarMediumIcons"/> + <addaction name="actionToolBarLargeIcons"/> + <addaction name="separator"/> + <addaction name="actionToolBarIconsOnly"/> + <addaction name="actionToolBarTextOnly"/> + <addaction name="actionToolBarIconsAndText"/> + </widget> + <addaction name="menuToolbars"/> + <addaction name="actionNotifications"/> + </widget> + <addaction name="menu_File"/> + <addaction name="menu_Edit"/> + <addaction name="menuView"/> + <addaction name="menu_Tools"/> + <addaction name="menu_Help"/> + </widget> + <widget class="QToolBar" name="linksToolBar"> + <property name="contextMenuPolicy"> + <enum>Qt::CustomContextMenu</enum> + </property> + <property name="windowTitle"> + <string>Links ToolBar</string> + </property> + <property name="iconSize"> + <size> + <width>42</width> + <height>36</height> + </size> + </property> + <attribute name="toolBarArea"> + <enum>TopToolBarArea</enum> + </attribute> + <attribute name="toolBarBreak"> + <bool>false</bool> + </attribute> + </widget> <action name="actionInstallMod"> <property name="icon"> <iconset resource="resources.qrc"> <normaloff>:/MO/gui/resources/system-installer.png</normaloff>:/MO/gui/resources/system-installer.png</iconset> </property> <property name="text"> - <string>Install Mod</string> + <string>Install &Mod...</string> </property> <property name="iconText"> <string>Install &Mod</string> @@ -1395,6 +1486,9 @@ p, li { white-space: pre-wrap; } <property name="toolTip"> <string>Install a new mod from an archive</string> </property> + <property name="statusTip"> + <string>Install a new mod from an archive</string> + </property> <property name="shortcut"> <string>Ctrl+M</string> </property> @@ -1405,13 +1499,16 @@ p, li { white-space: pre-wrap; } <normaloff>:/MO/gui/profiles</normaloff>:/MO/gui/profiles</iconset> </property> <property name="text"> - <string>Profiles</string> + <string>&Profiles...</string> </property> <property name="iconText"> <string>&Profiles</string> </property> <property name="toolTip"> - <string>Configure Profiles</string> + <string>Configure profiles</string> + </property> + <property name="statusTip"> + <string>Configure profiles</string> </property> <property name="shortcut"> <string>Ctrl+P</string> @@ -1423,7 +1520,7 @@ p, li { white-space: pre-wrap; } <normaloff>:/MO/gui/icon_executable</normaloff>:/MO/gui/icon_executable</iconset> </property> <property name="text"> - <string>Executables</string> + <string>&Executables...</string> </property> <property name="iconText"> <string>&Executables</string> @@ -1431,6 +1528,9 @@ p, li { white-space: pre-wrap; } <property name="toolTip"> <string>Configure the executables that can be started through Mod Organizer</string> </property> + <property name="statusTip"> + <string>Configure the executables that can be started through Mod Organizer</string> + </property> <property name="shortcut"> <string>Ctrl+E</string> </property> @@ -1441,7 +1541,7 @@ p, li { white-space: pre-wrap; } <normaloff>:/MO/gui/plugins</normaloff>:/MO/gui/plugins</iconset> </property> <property name="text"> - <string>Tools</string> + <string>&Tools</string> </property> <property name="iconText"> <string>&Tools</string> @@ -1459,7 +1559,7 @@ p, li { white-space: pre-wrap; } <normaloff>:/MO/gui/settings</normaloff>:/MO/gui/settings</iconset> </property> <property name="text"> - <string>Settings</string> + <string>&Settings...</string> </property> <property name="iconText"> <string>&Settings</string> @@ -1467,6 +1567,9 @@ p, li { white-space: pre-wrap; } <property name="toolTip"> <string>Configure settings and workarounds</string> </property> + <property name="statusTip"> + <string>Configure settings and workarounds</string> + </property> <property name="shortcut"> <string>Ctrl+S</string> </property> @@ -1477,10 +1580,16 @@ p, li { white-space: pre-wrap; } <normaloff>:/MO/gui/resources/internet-web-browser.png</normaloff>:/MO/gui/resources/internet-web-browser.png</iconset> </property> <property name="text"> - <string>Nexus</string> + <string>Visit &Nexus</string> + </property> + <property name="iconText"> + <string>Visit &Nexus</string> </property> <property name="toolTip"> - <string>Search nexus network for more mods</string> + <string>Visit the Nexus website in your browser for more mods</string> + </property> + <property name="statusTip"> + <string>Visit the Nexus website in your browser for more mods</string> </property> <property name="shortcut"> <string>Ctrl+N</string> @@ -1495,25 +1604,34 @@ p, li { white-space: pre-wrap; } <normaloff>:/MO/gui/update</normaloff>:/MO/gui/update</iconset> </property> <property name="text"> - <string>Update</string> + <string>&Update Mod Organizer</string> + </property> + <property name="iconText"> + <string>&Update Mod Organizer</string> </property> <property name="toolTip"> <string>Mod Organizer is up-to-date</string> </property> + <property name="statusTip"> + <string>Mod Organizer is up-to-date</string> + </property> </action> <action name="actionNotifications"> - <property name="enabled"> - <bool>false</bool> - </property> <property name="icon"> <iconset resource="resources.qrc"> <normaloff>:/MO/gui/warning</normaloff>:/MO/gui/warning</iconset> </property> <property name="text"> - <string>No Notifications</string> + <string>&Notifications...</string> + </property> + <property name="toolTip"> + <string>Open the notifications dialog</string> + </property> + <property name="statusTip"> + <string>Open the notifications dialog</string> </property> <property name="whatsThis"> - <string>This button will be highlighted if MO discovered potential problems in your setup and provide tips on how to fix them.</string> + <string>This button will be highlighted on the toolbar if MO discovered potential problems in your setup and provide tips on how to fix them.</string> </property> </action> <action name="actionHelp"> @@ -1522,10 +1640,16 @@ p, li { white-space: pre-wrap; } <normaloff>:/MO/gui/help</normaloff>:/MO/gui/help</iconset> </property> <property name="text"> - <string>Help</string> + <string>&Help</string> + </property> + <property name="iconText"> + <string>&Help</string> </property> <property name="toolTip"> - <string>Help</string> + <string>Show help options</string> + </property> + <property name="statusTip"> + <string>Show help options</string> </property> <property name="shortcut"> <string>Ctrl+H</string> @@ -1537,15 +1661,30 @@ p, li { white-space: pre-wrap; } <normaloff>:/MO/gui/icon_favorite</normaloff>:/MO/gui/icon_favorite</iconset> </property> <property name="text"> - <string>Endorse MO</string> + <string>&Endorse ModOrganizer</string> + </property> + <property name="iconText"> + <string>&Endorse ModOrganizer</string> </property> <property name="toolTip"> <string>Endorse Mod Organizer</string> </property> + <property name="statusTip"> + <string>Endorse Mod Organizer</string> + </property> </action> <action name="actionCopy_Log_to_Clipboard"> <property name="text"> - <string>Copy Log to Clipboard</string> + <string>Copy &Log</string> + </property> + <property name="iconText"> + <string>Copy &Log</string> + </property> + <property name="toolTip"> + <string>Copy log to clipboard</string> + </property> + <property name="statusTip"> + <string>Copy log to clipboard</string> </property> </action> <action name="actionChange_Game"> @@ -1554,11 +1693,105 @@ p, li { white-space: pre-wrap; } <normaloff>:/MO/gui/instance_switch</normaloff>:/MO/gui/instance_switch</iconset> </property> <property name="text"> - <string>Change Game</string> + <string>&Change Game...</string> + </property> + <property name="iconText"> + <string>&Change Game</string> </property> <property name="toolTip"> <string>Open the Instance selection dialog to manage a different Game</string> </property> + <property name="statusTip"> + <string>Open the Instance selection dialog to manage a different Game</string> + </property> + </action> + <action name="actionExit"> + <property name="text"> + <string>E&xit</string> + </property> + <property name="iconText"> + <string>E&xit</string> + </property> + <property name="toolTip"> + <string>Exits Mod Organizer</string> + </property> + <property name="statusTip"> + <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> + </property> + </action> + <action name="actionToolBarLinksToggle"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>&Links</string> + </property> + </action> + <action name="actionToolBarSmallIcons"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>&Small Icons</string> + </property> + </action> + <action name="actionToolBarLargeIcons"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>Lar&ge Icons</string> + </property> + </action> + <action name="actionToolBarIconsOnly"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>&Icons Only</string> + </property> + </action> + <action name="actionToolBarTextOnly"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>&Text Only</string> + </property> + </action> + <action name="actionToolBarIconsAndText"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>I&cons and Text</string> + </property> + </action> + <action name="actionToolBarMediumIcons"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>M&edium Icons</string> + </property> </action> </widget> <layoutdefault spacing="6" margin="11"/> |
