summaryrefslogtreecommitdiff
path: root/src/mainwindow.ui
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-06-02 13:14:21 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-06-02 13:14:21 -0400
commit860eb49b45703d939196e92ba6e6d99f54ed3088 (patch)
tree74eb7ceecdc31cfc83c9529831c06422068abd9a /src/mainwindow.ui
parent3c7b232361d01f79a1d48ae3d8200cb6a68bbf32 (diff)
removed actionToToolButton(), which was replacing QAction's in the toolbar with QToolButton's, making it very difficult to have an equivalent in the main menu. QAction's can have a menu, so use that instead.
the only place this doesn't work is with the nexus button, which can be replaced by a menu if there are IPluginModPage plugins adding items to it; registerModPage() works fine with the toolbar, but doesn't handle the main menu yet
Diffstat (limited to 'src/mainwindow.ui')
-rw-r--r--src/mainwindow.ui29
1 files changed, 6 insertions, 23 deletions
diff --git a/src/mainwindow.ui b/src/mainwindow.ui
index 84d3c9e4..a3eb8504 100644
--- a/src/mainwindow.ui
+++ b/src/mainwindow.ui
@@ -1418,14 +1418,14 @@ p, li { white-space: pre-wrap; }
</property>
<addaction name="actionNexus"/>
<addaction name="actionModify_Executables"/>
- <addaction name="actionToolMenu"/>
+ <addaction name="actionTool"/>
<addaction name="actionSettings"/>
</widget>
<widget class="QMenu" name="menu_Help">
<property name="title">
<string>&amp;Help</string>
</property>
- <addaction name="actionHelpMenu"/>
+ <addaction name="actionHelp"/>
<addaction name="actionUpdate"/>
<addaction name="actionEndorseMOMenu"/>
</widget>
@@ -1621,7 +1621,10 @@ p, li { white-space: pre-wrap; }
<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>
@@ -1691,26 +1694,6 @@ p, li { white-space: pre-wrap; }
<string>Exits Mod Organizer</string>
</property>
</action>
- <action name="actionToolMenu">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="icon">
- <iconset resource="resources.qrc">
- <normaloff>:/MO/gui/plugins</normaloff>:/MO/gui/plugins</iconset>
- </property>
- <property name="text">
- <string>&amp;Tools</string>
- </property>
- </action>
- <action name="actionHelpMenu">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>&amp;Help menu</string>
- </property>
- </action>
<action name="actionEndorseMOMenu">
<property name="enabled">
<bool>false</bool>