summaryrefslogtreecommitdiff
path: root/src/mainwindow.ui
diff options
context:
space:
mode:
authorAl <gabriel.cortesi@outlook.com>2019-06-03 22:26:55 +0200
committerGitHub <noreply@github.com>2019-06-03 22:26:55 +0200
commit0ecd812035a26c196154be2e28dad65aebcbd8bd (patch)
tree4fb2ca83bca9b0314ea57fa63a864b6a29b6d917 /src/mainwindow.ui
parentf00314442b9c3c28e846c64da3c3f776e50656de (diff)
parent1fcd8f0e09363a0103df116e137ea9eb16bbf0db (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.ui307
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>&amp;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>&amp;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>&amp;Help</string>
+ </property>
+ <addaction name="actionHelp"/>
+ <addaction name="actionUpdate"/>
+ <addaction name="actionEndorseMO"/>
+ </widget>
+ <widget class="QMenu" name="menu_Edit">
+ <property name="title">
+ <string>&amp;Edit</string>
+ </property>
+ <addaction name="actionCopy_Log_to_Clipboard"/>
+ </widget>
+ <widget class="QMenu" name="menuView">
+ <property name="title">
+ <string>&amp;View</string>
+ </property>
+ <widget class="QMenu" name="menuToolbars">
+ <property name="title">
+ <string>&amp;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 &amp;Mod...</string>
</property>
<property name="iconText">
<string>Install &amp;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>&amp;Profiles...</string>
</property>
<property name="iconText">
<string>&amp;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>&amp;Executables...</string>
</property>
<property name="iconText">
<string>&amp;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>&amp;Tools</string>
</property>
<property name="iconText">
<string>&amp;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>&amp;Settings...</string>
</property>
<property name="iconText">
<string>&amp;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 &amp;Nexus</string>
+ </property>
+ <property name="iconText">
+ <string>Visit &amp;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>&amp;Update Mod Organizer</string>
+ </property>
+ <property name="iconText">
+ <string>&amp;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>&amp;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>&amp;Help</string>
+ </property>
+ <property name="iconText">
+ <string>&amp;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>&amp;Endorse ModOrganizer</string>
+ </property>
+ <property name="iconText">
+ <string>&amp;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 &amp;Log</string>
+ </property>
+ <property name="iconText">
+ <string>Copy &amp;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>&amp;Change Game...</string>
+ </property>
+ <property name="iconText">
+ <string>&amp;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&amp;xit</string>
+ </property>
+ <property name="iconText">
+ <string>E&amp;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>&amp;Main</string>
+ </property>
+ </action>
+ <action name="actionToolBarLinksToggle">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>&amp;Links</string>
+ </property>
+ </action>
+ <action name="actionToolBarSmallIcons">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>&amp;Small Icons</string>
+ </property>
+ </action>
+ <action name="actionToolBarLargeIcons">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>Lar&amp;ge Icons</string>
+ </property>
+ </action>
+ <action name="actionToolBarIconsOnly">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>&amp;Icons Only</string>
+ </property>
+ </action>
+ <action name="actionToolBarTextOnly">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>&amp;Text Only</string>
+ </property>
+ </action>
+ <action name="actionToolBarIconsAndText">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>I&amp;cons and Text</string>
+ </property>
+ </action>
+ <action name="actionToolBarMediumIcons">
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>M&amp;edium Icons</string>
+ </property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>