Qt: Add toggles for toolbar/status bar

This commit is contained in:
Connor McLaughlin
2020-08-20 23:39:29 +10:00
parent c3ce9135bf
commit 5fca2d1d1c
3 changed files with 92 additions and 1 deletions

View File

@@ -30,7 +30,7 @@
<x>0</x>
<y>0</y>
<width>754</width>
<height>22</height>
<height>30</height>
</rect>
</property>
<widget class="QMenu" name="menuSystem">
@@ -161,8 +161,19 @@
<addaction name="actionDebugShowTimersState"/>
<addaction name="actionDebugShowMDECState"/>
</widget>
<widget class="QMenu" name="menu_View">
<property name="title">
<string>&amp;View</string>
</property>
<addaction name="actionViewToolbar"/>
<addaction name="actionViewStatusBar"/>
<addaction name="separator"/>
<addaction name="actionViewGameList"/>
<addaction name="actionViewSystemDisplay"/>
</widget>
<addaction name="menuSystem"/>
<addaction name="menuSettings"/>
<addaction name="menu_View"/>
<addaction name="menuDebug"/>
<addaction name="menuHelp"/>
</widget>
@@ -560,6 +571,41 @@
<string>Resumes the last save state created.</string>
</property>
</action>
<action name="actionViewToolbar">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>&amp;Toolbar</string>
</property>
</action>
<action name="actionViewStatusBar">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>&amp;Status Bar</string>
</property>
</action>
<action name="actionViewGameList">
<property name="text">
<string>&amp;Game List</string>
</property>
</action>
<action name="actionViewSystemDisplay">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>System &amp;Display</string>
</property>
</action>
</widget>
<resources>
<include location="resources/icons.qrc"/>