更新代码
@@ -1244,7 +1244,15 @@
|
||||
<property name="title">
|
||||
<string>构建(&B)</string>
|
||||
</property>
|
||||
<widget class="QMenu" name="menu_C">
|
||||
<property name="title">
|
||||
<string>编译项目(&C)</string>
|
||||
</property>
|
||||
<addaction name="action_1"/>
|
||||
<addaction name="action_2"/>
|
||||
</widget>
|
||||
<addaction name="actionGouj"/>
|
||||
<addaction name="menu_C"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menu_H">
|
||||
<property name="title">
|
||||
@@ -1308,6 +1316,25 @@
|
||||
<string>关于(&A)</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_1">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>编译项目1</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_2">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>编译项目2</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections>
|
||||
|
||||
@@ -7,7 +7,11 @@ int main(int argc, char *argv[])
|
||||
QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::Floor);
|
||||
#endif
|
||||
QApplication a(argc, argv);
|
||||
a.setFont(QFont("Microsoft Yahei", 9));
|
||||
//a.setFont(QFont("Microsoft Yahei", 9));
|
||||
QFont font;
|
||||
font.setFamily("Microsoft Yahei");
|
||||
font.setPixelSize(12);
|
||||
a.setFont(font);
|
||||
|
||||
#if (QT_VERSION < QT_VERSION_CHECK(5,0,0))
|
||||
#if _MSC_VER
|
||||
|
||||
@@ -1,29 +1,16 @@
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file>qss/psblack.css</file>
|
||||
<file>qss/psblack/add_bottom.png</file>
|
||||
<file>qss/psblack/add_left.png</file>
|
||||
<file>qss/psblack/add_right.png</file>
|
||||
<file>qss/psblack/add_top.png</file>
|
||||
<file>qss/psblack/branch_close.png</file>
|
||||
<file>qss/psblack/branch_open.png</file>
|
||||
<file>qss/psblack/calendar_nextmonth.png</file>
|
||||
<file>qss/psblack/calendar_prevmonth.png</file>
|
||||
<file>qss/psblack/checkbox_checked.png</file>
|
||||
<file>qss/psblack/checkbox_checked_disable.png</file>
|
||||
<file>qss/psblack/checkbox_parcial.png</file>
|
||||
<file>qss/psblack/checkbox_parcial_disable.png</file>
|
||||
<file>qss/psblack/checkbox_unchecked.png</file>
|
||||
<file>qss/psblack/checkbox_unchecked_disable.png</file>
|
||||
<file>qss/psblack/radiobutton_checked.png</file>
|
||||
<file>qss/psblack/radiobutton_checked_disable.png</file>
|
||||
<file>qss/psblack/radiobutton_unchecked.png</file>
|
||||
<file>qss/psblack/radiobutton_unchecked_disable.png</file>
|
||||
<file>qss/flatwhite.css</file>
|
||||
<file>qss/lightblue.css</file>
|
||||
<file>qss/psblack.css</file>
|
||||
<file>qss/flatwhite/add_bottom.png</file>
|
||||
<file>qss/flatwhite/add_left.png</file>
|
||||
<file>qss/flatwhite/add_right.png</file>
|
||||
<file>qss/flatwhite/add_top.png</file>
|
||||
<file>qss/flatwhite/arrow_bottom.png</file>
|
||||
<file>qss/flatwhite/arrow_left.png</file>
|
||||
<file>qss/flatwhite/arrow_right.png</file>
|
||||
<file>qss/flatwhite/arrow_top.png</file>
|
||||
<file>qss/flatwhite/branch_close.png</file>
|
||||
<file>qss/flatwhite/branch_open.png</file>
|
||||
<file>qss/flatwhite/calendar_nextmonth.png</file>
|
||||
@@ -34,15 +21,19 @@
|
||||
<file>qss/flatwhite/checkbox_parcial_disable.png</file>
|
||||
<file>qss/flatwhite/checkbox_unchecked.png</file>
|
||||
<file>qss/flatwhite/checkbox_unchecked_disable.png</file>
|
||||
<file>qss/flatwhite/menu_checked.png</file>
|
||||
<file>qss/flatwhite/radiobutton_checked.png</file>
|
||||
<file>qss/flatwhite/radiobutton_checked_disable.png</file>
|
||||
<file>qss/flatwhite/radiobutton_unchecked.png</file>
|
||||
<file>qss/flatwhite/radiobutton_unchecked_disable.png</file>
|
||||
<file>qss/lightblue.css</file>
|
||||
<file>qss/lightblue/add_bottom.png</file>
|
||||
<file>qss/lightblue/add_left.png</file>
|
||||
<file>qss/lightblue/add_right.png</file>
|
||||
<file>qss/lightblue/add_top.png</file>
|
||||
<file>qss/lightblue/arrow_bottom.png</file>
|
||||
<file>qss/lightblue/arrow_left.png</file>
|
||||
<file>qss/lightblue/arrow_right.png</file>
|
||||
<file>qss/lightblue/arrow_top.png</file>
|
||||
<file>qss/lightblue/branch_close.png</file>
|
||||
<file>qss/lightblue/branch_open.png</file>
|
||||
<file>qss/lightblue/calendar_nextmonth.png</file>
|
||||
@@ -53,9 +44,33 @@
|
||||
<file>qss/lightblue/checkbox_parcial_disable.png</file>
|
||||
<file>qss/lightblue/checkbox_unchecked.png</file>
|
||||
<file>qss/lightblue/checkbox_unchecked_disable.png</file>
|
||||
<file>qss/lightblue/menu_checked.png</file>
|
||||
<file>qss/lightblue/radiobutton_checked.png</file>
|
||||
<file>qss/lightblue/radiobutton_checked_disable.png</file>
|
||||
<file>qss/lightblue/radiobutton_unchecked.png</file>
|
||||
<file>qss/lightblue/radiobutton_unchecked_disable.png</file>
|
||||
<file>qss/psblack/add_bottom.png</file>
|
||||
<file>qss/psblack/add_left.png</file>
|
||||
<file>qss/psblack/add_right.png</file>
|
||||
<file>qss/psblack/add_top.png</file>
|
||||
<file>qss/psblack/arrow_bottom.png</file>
|
||||
<file>qss/psblack/arrow_left.png</file>
|
||||
<file>qss/psblack/arrow_right.png</file>
|
||||
<file>qss/psblack/arrow_top.png</file>
|
||||
<file>qss/psblack/branch_close.png</file>
|
||||
<file>qss/psblack/branch_open.png</file>
|
||||
<file>qss/psblack/calendar_nextmonth.png</file>
|
||||
<file>qss/psblack/calendar_prevmonth.png</file>
|
||||
<file>qss/psblack/checkbox_checked.png</file>
|
||||
<file>qss/psblack/checkbox_checked_disable.png</file>
|
||||
<file>qss/psblack/checkbox_parcial.png</file>
|
||||
<file>qss/psblack/checkbox_parcial_disable.png</file>
|
||||
<file>qss/psblack/checkbox_unchecked.png</file>
|
||||
<file>qss/psblack/checkbox_unchecked_disable.png</file>
|
||||
<file>qss/psblack/menu_checked.png</file>
|
||||
<file>qss/psblack/radiobutton_checked.png</file>
|
||||
<file>qss/psblack/radiobutton_checked_disable.png</file>
|
||||
<file>qss/psblack/radiobutton_unchecked.png</file>
|
||||
<file>qss/psblack/radiobutton_unchecked_disable.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
@@ -262,8 +262,19 @@ padding:3px 20px;
|
||||
}
|
||||
|
||||
QMenu::indicator{
|
||||
width:20px;
|
||||
height:13px;
|
||||
}
|
||||
|
||||
QMenu::indicator::checked{
|
||||
image:url(:/qss/flatwhite/menu_checked.png);
|
||||
}
|
||||
|
||||
QMenu::right-arrow{
|
||||
image:url(:/qss/flatwhite/arrow_right.png);
|
||||
width:13px;
|
||||
height:13px;
|
||||
padding:0px 3px 0px 0px;
|
||||
}
|
||||
|
||||
QMenu::item:selected,QMenuBar::item:selected{
|
||||
|
||||
|
Before Width: | Height: | Size: 181 B After Width: | Height: | Size: 329 B |
|
Before Width: | Height: | Size: 219 B After Width: | Height: | Size: 374 B |
|
Before Width: | Height: | Size: 214 B After Width: | Height: | Size: 341 B |
|
Before Width: | Height: | Size: 178 B After Width: | Height: | Size: 333 B |
BIN
styledemo/other/qss/flatwhite/arrow_bottom.png
Normal file
|
After Width: | Height: | Size: 333 B |
BIN
styledemo/other/qss/flatwhite/arrow_left.png
Normal file
|
After Width: | Height: | Size: 369 B |
BIN
styledemo/other/qss/flatwhite/arrow_right.png
Normal file
|
After Width: | Height: | Size: 355 B |
BIN
styledemo/other/qss/flatwhite/arrow_top.png
Normal file
|
After Width: | Height: | Size: 339 B |
|
Before Width: | Height: | Size: 167 B After Width: | Height: | Size: 257 B |
|
Before Width: | Height: | Size: 273 B After Width: | Height: | Size: 443 B |
|
Before Width: | Height: | Size: 358 B After Width: | Height: | Size: 662 B |
|
Before Width: | Height: | Size: 341 B After Width: | Height: | Size: 733 B |
|
Before Width: | Height: | Size: 289 B After Width: | Height: | Size: 592 B |
|
Before Width: | Height: | Size: 301 B After Width: | Height: | Size: 590 B |
|
Before Width: | Height: | Size: 172 B After Width: | Height: | Size: 212 B |
|
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 285 B |
|
Before Width: | Height: | Size: 133 B After Width: | Height: | Size: 171 B |
|
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 178 B |
BIN
styledemo/other/qss/flatwhite/menu_checked.png
Normal file
|
After Width: | Height: | Size: 544 B |
|
Before Width: | Height: | Size: 726 B After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 817 B After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 523 B After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 593 B After Width: | Height: | Size: 1.3 KiB |
@@ -262,8 +262,19 @@ padding:3px 20px;
|
||||
}
|
||||
|
||||
QMenu::indicator{
|
||||
width:20px;
|
||||
height:13px;
|
||||
}
|
||||
|
||||
QMenu::indicator::checked{
|
||||
image:url(:/qss/lightblue/menu_checked.png);
|
||||
}
|
||||
|
||||
QMenu::right-arrow{
|
||||
image:url(:/qss/lightblue/arrow_right.png);
|
||||
width:13px;
|
||||
height:13px;
|
||||
padding:0px 3px 0px 0px;
|
||||
}
|
||||
|
||||
QMenu::item:selected,QMenuBar::item:selected{
|
||||
@@ -604,7 +615,7 @@ background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #DEF0FE,stop:1
|
||||
}
|
||||
|
||||
QComboBox QAbstractItemView::item{
|
||||
min-height:20px;
|
||||
min-height:120px;
|
||||
min-width:10px;
|
||||
}
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 182 B After Width: | Height: | Size: 343 B |
|
Before Width: | Height: | Size: 222 B After Width: | Height: | Size: 378 B |
|
Before Width: | Height: | Size: 221 B After Width: | Height: | Size: 357 B |
|
Before Width: | Height: | Size: 178 B After Width: | Height: | Size: 360 B |
BIN
styledemo/other/qss/lightblue/arrow_bottom.png
Normal file
|
After Width: | Height: | Size: 349 B |
BIN
styledemo/other/qss/lightblue/arrow_left.png
Normal file
|
After Width: | Height: | Size: 383 B |
BIN
styledemo/other/qss/lightblue/arrow_right.png
Normal file
|
After Width: | Height: | Size: 362 B |
BIN
styledemo/other/qss/lightblue/arrow_top.png
Normal file
|
After Width: | Height: | Size: 360 B |
|
Before Width: | Height: | Size: 169 B After Width: | Height: | Size: 264 B |
|
Before Width: | Height: | Size: 274 B After Width: | Height: | Size: 457 B |
|
Before Width: | Height: | Size: 386 B After Width: | Height: | Size: 674 B |
|
Before Width: | Height: | Size: 355 B After Width: | Height: | Size: 749 B |
|
Before Width: | Height: | Size: 304 B After Width: | Height: | Size: 574 B |
|
Before Width: | Height: | Size: 316 B After Width: | Height: | Size: 623 B |
|
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 237 B |
|
Before Width: | Height: | Size: 219 B After Width: | Height: | Size: 278 B |
|
Before Width: | Height: | Size: 135 B After Width: | Height: | Size: 180 B |
|
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 182 B |
BIN
styledemo/other/qss/lightblue/menu_checked.png
Normal file
|
After Width: | Height: | Size: 551 B |
|
Before Width: | Height: | Size: 680 B After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 843 B After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 520 B After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 615 B After Width: | Height: | Size: 1.3 KiB |
@@ -262,8 +262,19 @@ padding:3px 20px;
|
||||
}
|
||||
|
||||
QMenu::indicator{
|
||||
width:20px;
|
||||
height:13px;
|
||||
}
|
||||
|
||||
QMenu::indicator::checked{
|
||||
image:url(:/qss/psblack/menu_checked.png);
|
||||
}
|
||||
|
||||
QMenu::right-arrow{
|
||||
image:url(:/qss/psblack/arrow_right.png);
|
||||
width:13px;
|
||||
height:13px;
|
||||
padding:0px 3px 0px 0px;
|
||||
}
|
||||
|
||||
QMenu::item:selected,QMenuBar::item:selected{
|
||||
|
||||
|
Before Width: | Height: | Size: 201 B After Width: | Height: | Size: 332 B |
|
Before Width: | Height: | Size: 233 B After Width: | Height: | Size: 377 B |
|
Before Width: | Height: | Size: 235 B After Width: | Height: | Size: 348 B |
|
Before Width: | Height: | Size: 197 B After Width: | Height: | Size: 345 B |
BIN
styledemo/other/qss/psblack/arrow_bottom.png
Normal file
|
After Width: | Height: | Size: 335 B |
BIN
styledemo/other/qss/psblack/arrow_left.png
Normal file
|
After Width: | Height: | Size: 372 B |
BIN
styledemo/other/qss/psblack/arrow_right.png
Normal file
|
After Width: | Height: | Size: 348 B |
BIN
styledemo/other/qss/psblack/arrow_top.png
Normal file
|
After Width: | Height: | Size: 349 B |
|
Before Width: | Height: | Size: 177 B After Width: | Height: | Size: 255 B |
|
Before Width: | Height: | Size: 275 B After Width: | Height: | Size: 434 B |
|
Before Width: | Height: | Size: 318 B After Width: | Height: | Size: 612 B |
|
Before Width: | Height: | Size: 314 B After Width: | Height: | Size: 670 B |
|
Before Width: | Height: | Size: 307 B After Width: | Height: | Size: 587 B |
|
Before Width: | Height: | Size: 338 B After Width: | Height: | Size: 614 B |
|
Before Width: | Height: | Size: 188 B After Width: | Height: | Size: 211 B |
|
Before Width: | Height: | Size: 251 B After Width: | Height: | Size: 265 B |
|
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 173 B |
|
Before Width: | Height: | Size: 152 B After Width: | Height: | Size: 179 B |
BIN
styledemo/other/qss/psblack/menu_checked.png
Normal file
|
After Width: | Height: | Size: 508 B |
|
Before Width: | Height: | Size: 756 B After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 932 B After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 564 B After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 715 B After Width: | Height: | Size: 1.4 KiB |