Made QMenuBar follow Windows 10's design guidelines.

This commit is contained in:
Filiph Sandström 2015-05-25 13:25:37 +02:00
parent 33c57361a9
commit 488748a9e6

View File

@ -17,6 +17,14 @@
<iconset> <iconset>
<normaloff>src/pcafe/res/icon3_64x64.ico</normaloff>src/pcafe/res/icon3_64x64.ico</iconset> <normaloff>src/pcafe/res/icon3_64x64.ico</normaloff>src/pcafe/res/icon3_64x64.ico</iconset>
</property> </property>
<property name="styleSheet">
<string notr="true">QMenuBar::item {
background-color: transparent;
}
QMenuBar{
background-color: rgb(255, 255, 255);
}</string>
</property>
<property name="tabShape"> <property name="tabShape">
<enum>QTabWidget::Rounded</enum> <enum>QTabWidget::Rounded</enum>
</property> </property>
@ -32,10 +40,16 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1081</width> <width>1081</width>
<height>21</height> <height>31</height>
</rect> </rect>
</property> </property>
<property name="styleSheet">
<string notr="true"/>
</property>
<widget class="QMenu" name="menu_File"> <widget class="QMenu" name="menu_File">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="title"> <property name="title">
<string>&amp;File</string> <string>&amp;File</string>
</property> </property>
@ -45,6 +59,9 @@
<addaction name="action_Exit"/> <addaction name="action_Exit"/>
</widget> </widget>
<widget class="QMenu" name="menu_Emulation"> <widget class="QMenu" name="menu_Emulation">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="title"> <property name="title">
<string>&amp;Emulation</string> <string>&amp;Emulation</string>
</property> </property>
@ -56,6 +73,9 @@
<addaction name="action_Configure"/> <addaction name="action_Configure"/>
</widget> </widget>
<widget class="QMenu" name="menu_View"> <widget class="QMenu" name="menu_View">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="title"> <property name="title">
<string>&amp;View</string> <string>&amp;View</string>
</property> </property>
@ -64,6 +84,9 @@
<addaction name="action_Hotkeys"/> <addaction name="action_Hotkeys"/>
</widget> </widget>
<widget class="QMenu" name="menu_Help"> <widget class="QMenu" name="menu_Help">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="title"> <property name="title">
<string>&amp;Help</string> <string>&amp;Help</string>
</property> </property>
@ -92,7 +115,7 @@
</action> </action>
<action name="action_Start"> <action name="action_Start">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>&amp;Start</string> <string>&amp;Start</string>