Made QMenuBar follow Windows 10's design guidelines.
This commit is contained in:
parent
33c57361a9
commit
488748a9e6
1 changed files with 25 additions and 2 deletions
|
@ -17,6 +17,14 @@
|
|||
<iconset>
|
||||
<normaloff>src/pcafe/res/icon3_64x64.ico</normaloff>src/pcafe/res/icon3_64x64.ico</iconset>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QMenuBar::item {
|
||||
background-color: transparent;
|
||||
}
|
||||
QMenuBar{
|
||||
background-color: rgb(255, 255, 255);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="tabShape">
|
||||
<enum>QTabWidget::Rounded</enum>
|
||||
</property>
|
||||
|
@ -32,10 +40,16 @@
|
|||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1081</width>
|
||||
<height>21</height>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<widget class="QMenu" name="menu_File">
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>&File</string>
|
||||
</property>
|
||||
|
@ -45,6 +59,9 @@
|
|||
<addaction name="action_Exit"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menu_Emulation">
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>&Emulation</string>
|
||||
</property>
|
||||
|
@ -56,6 +73,9 @@
|
|||
<addaction name="action_Configure"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menu_View">
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>&View</string>
|
||||
</property>
|
||||
|
@ -64,6 +84,9 @@
|
|||
<addaction name="action_Hotkeys"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menu_Help">
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>&Help</string>
|
||||
</property>
|
||||
|
@ -92,7 +115,7 @@
|
|||
</action>
|
||||
<action name="action_Start">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Start</string>
|
||||
|
|
Loading…
Reference in a new issue