更新代码
|
@ -4,16 +4,12 @@ greaterThan(QT_MAJOR_VERSION, 4): CONFIG += c++11
|
||||||
|
|
||||||
!contains(DEFINES, qcustomplot_v1_3) {
|
!contains(DEFINES, qcustomplot_v1_3) {
|
||||||
!contains(DEFINES, qcustomplot_v2_0) {
|
!contains(DEFINES, qcustomplot_v2_0) {
|
||||||
!contains(DEFINES, qcustomplot_v2_1) {
|
|
||||||
DEFINES += qcustomplot_v2_0
|
|
||||||
}}}
|
|
||||||
|
|
||||||
!contains(DEFINES, qcustomplot_v2_1) {
|
!contains(DEFINES, qcustomplot_v2_1) {
|
||||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||||
DEFINES -= qcustomplot_v1_3
|
|
||||||
DEFINES -= qcustomplot_v2_0
|
|
||||||
DEFINES += qcustomplot_v2_1
|
DEFINES += qcustomplot_v2_1
|
||||||
}}
|
} else {
|
||||||
|
DEFINES += qcustomplot_v2_0
|
||||||
|
}}}}
|
||||||
|
|
||||||
contains(DEFINES, qcustomplot_v1_3) {
|
contains(DEFINES, qcustomplot_v1_3) {
|
||||||
INCLUDEPATH += $$PWD/v1_3
|
INCLUDEPATH += $$PWD/v1_3
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
按照国际惯例,先吹吹牛,QCustomPlot这个开源图表组件,作者绝对是全宇宙Qt领域的天花板,设计的极其巧妙和精美,各种情况都考虑到了,将每个功能细分到不同的类,又极具拓展性,当时阅读完代码的时候,我直接跪了8个小时,膝盖现在还是红的。
|
按照国际惯例,先吹吹牛,QCustomPlot这个开源图表组件,作者绝对是全宇宙Qt领域的天花板,设计的极其巧妙和精美,各种情况都考虑到了,将每个功能细分到不同的类,每个类负责管理自己的绘制和各种属性参数等,虽然代码量不多但是又极具拓展性,当时阅读完代码的时候,我直接跪了8个小时,膝盖现在还是红的。作者的实力至少是八星斗圣级别,只要一个巴掌就能把斗宗干趴下。
|
||||||
## 一、功能特点
|
## 一、功能特点
|
||||||
1. 同时支持多个版本,比如1.3、2.0、2.1。
|
1. 同时支持多个版本,比如1.3、2.0、2.1。
|
||||||
2. 官方提供的最新的2.1不支持Qt4,也不支持Qt6.2,所以这里通过define判断Qt套件的版本来加载不同的版本。
|
2. 官方提供的最新的2.1不支持Qt4,也不支持Qt6.2,所以这里通过define判断Qt套件的版本来加载不同的版本。
|
||||||
|
|
|
@ -1,23 +1,28 @@
|
||||||
<RCC>
|
<RCC>
|
||||||
<qresource prefix="/">
|
<qresource prefix="/">
|
||||||
<file>qss/psblack.css</file>
|
<file>qss/blacksoft.css</file>
|
||||||
<file>qss/psblack/add_bottom.png</file>
|
<file>qss/blacksoft/add_bottom.png</file>
|
||||||
<file>qss/psblack/add_left.png</file>
|
<file>qss/blacksoft/add_left.png</file>
|
||||||
<file>qss/psblack/add_right.png</file>
|
<file>qss/blacksoft/add_right.png</file>
|
||||||
<file>qss/psblack/add_top.png</file>
|
<file>qss/blacksoft/add_top.png</file>
|
||||||
<file>qss/psblack/branch_close.png</file>
|
<file>qss/blacksoft/arrow_bottom.png</file>
|
||||||
<file>qss/psblack/branch_open.png</file>
|
<file>qss/blacksoft/arrow_left.png</file>
|
||||||
<file>qss/psblack/calendar_nextmonth.png</file>
|
<file>qss/blacksoft/arrow_right.png</file>
|
||||||
<file>qss/psblack/calendar_prevmonth.png</file>
|
<file>qss/blacksoft/arrow_top.png</file>
|
||||||
<file>qss/psblack/checkbox_checked.png</file>
|
<file>qss/blacksoft/branch_close.png</file>
|
||||||
<file>qss/psblack/checkbox_checked_disable.png</file>
|
<file>qss/blacksoft/branch_open.png</file>
|
||||||
<file>qss/psblack/checkbox_parcial.png</file>
|
<file>qss/blacksoft/calendar_nextmonth.png</file>
|
||||||
<file>qss/psblack/checkbox_parcial_disable.png</file>
|
<file>qss/blacksoft/calendar_prevmonth.png</file>
|
||||||
<file>qss/psblack/checkbox_unchecked.png</file>
|
<file>qss/blacksoft/checkbox_checked.png</file>
|
||||||
<file>qss/psblack/checkbox_unchecked_disable.png</file>
|
<file>qss/blacksoft/checkbox_checked_disable.png</file>
|
||||||
<file>qss/psblack/radiobutton_checked.png</file>
|
<file>qss/blacksoft/checkbox_parcial.png</file>
|
||||||
<file>qss/psblack/radiobutton_checked_disable.png</file>
|
<file>qss/blacksoft/checkbox_parcial_disable.png</file>
|
||||||
<file>qss/psblack/radiobutton_unchecked.png</file>
|
<file>qss/blacksoft/checkbox_unchecked.png</file>
|
||||||
<file>qss/psblack/radiobutton_unchecked_disable.png</file>
|
<file>qss/blacksoft/checkbox_unchecked_disable.png</file>
|
||||||
|
<file>qss/blacksoft/menu_checked.png</file>
|
||||||
|
<file>qss/blacksoft/radiobutton_checked.png</file>
|
||||||
|
<file>qss/blacksoft/radiobutton_checked_disable.png</file>
|
||||||
|
<file>qss/blacksoft/radiobutton_unchecked.png</file>
|
||||||
|
<file>qss/blacksoft/radiobutton_unchecked_disable.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
|
@ -155,19 +155,19 @@ height:15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QRadioButton::indicator::unchecked{
|
QRadioButton::indicator::unchecked{
|
||||||
image:url(:/qss/psblack/radiobutton_unchecked.png);
|
image:url(:/qss/blacksoft/radiobutton_unchecked.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QRadioButton::indicator::unchecked:disabled{
|
QRadioButton::indicator::unchecked:disabled{
|
||||||
image:url(:/qss/psblack/radiobutton_unchecked_disable.png);
|
image:url(:/qss/blacksoft/radiobutton_unchecked_disable.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QRadioButton::indicator::checked{
|
QRadioButton::indicator::checked{
|
||||||
image:url(:/qss/psblack/radiobutton_checked.png);
|
image:url(:/qss/blacksoft/radiobutton_checked.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QRadioButton::indicator::checked:disabled{
|
QRadioButton::indicator::checked:disabled{
|
||||||
image:url(:/qss/psblack/radiobutton_checked_disable.png);
|
image:url(:/qss/blacksoft/radiobutton_checked_disable.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QGroupBox::indicator,QTreeView::indicator,QListView::indicator,QTableView::indicator{
|
QGroupBox::indicator,QTreeView::indicator,QListView::indicator,QTableView::indicator{
|
||||||
|
@ -180,38 +180,38 @@ height:13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:unchecked,QGroupBox::indicator:unchecked,QTreeView::indicator:unchecked,QListView::indicator:unchecked,QTableView::indicator:unchecked{
|
QCheckBox::indicator:unchecked,QGroupBox::indicator:unchecked,QTreeView::indicator:unchecked,QListView::indicator:unchecked,QTableView::indicator:unchecked{
|
||||||
image:url(:/qss/psblack/checkbox_unchecked.png);
|
image:url(:/qss/blacksoft/checkbox_unchecked.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:unchecked:disabled,QGroupBox::indicator:unchecked:disabled,QTreeView::indicator:unchecked:disabled,QListView::indicator:unchecked:disabled,QTableView::indicator:unchecked:disabled{
|
QCheckBox::indicator:unchecked:disabled,QGroupBox::indicator:unchecked:disabled,QTreeView::indicator:unchecked:disabled,QListView::indicator:unchecked:disabled,QTableView::indicator:unchecked:disabled{
|
||||||
image:url(:/qss/psblack/checkbox_unchecked_disable.png);
|
image:url(:/qss/blacksoft/checkbox_unchecked_disable.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:checked,QGroupBox::indicator:checked,QTreeView::indicator:checked,QListView::indicator:checked,QTableView::indicator:checked{
|
QCheckBox::indicator:checked,QGroupBox::indicator:checked,QTreeView::indicator:checked,QListView::indicator:checked,QTableView::indicator:checked{
|
||||||
image:url(:/qss/psblack/checkbox_checked.png);
|
image:url(:/qss/blacksoft/checkbox_checked.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:checked:disabled,QGroupBox::indicator:checked:disabled,QTreeView::indicator:checked:disabled,QListView::indicator:checked:disabled,QTableView::indicator:checked:disabled{
|
QCheckBox::indicator:checked:disabled,QGroupBox::indicator:checked:disabled,QTreeView::indicator:checked:disabled,QListView::indicator:checked:disabled,QTableView::indicator:checked:disabled{
|
||||||
image:url(:/qss/psblack/checkbox_checked_disable.png);
|
image:url(:/qss/blacksoft/checkbox_checked_disable.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:indeterminate,QGroupBox::indicator:indeterminate,QTreeView::indicator:indeterminate,QListView::indicator:indeterminate,QTableView::indicator:indeterminate{
|
QCheckBox::indicator:indeterminate,QGroupBox::indicator:indeterminate,QTreeView::indicator:indeterminate,QListView::indicator:indeterminate,QTableView::indicator:indeterminate{
|
||||||
image:url(:/qss/psblack/checkbox_parcial.png);
|
image:url(:/qss/blacksoft/checkbox_parcial.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:indeterminate:disabled,QGroupBox::indicator:indeterminate:disabled,QTreeView::indicator:indeterminate:disabled,QListView::indicator:indeterminate:disabled,QTableView::indicator:indeterminate:disabled{
|
QCheckBox::indicator:indeterminate:disabled,QGroupBox::indicator:indeterminate:disabled,QTreeView::indicator:indeterminate:disabled,QListView::indicator:indeterminate:disabled,QTableView::indicator:indeterminate:disabled{
|
||||||
image:url(:/qss/psblack/checkbox_parcial_disable.png);
|
image:url(:/qss/blacksoft/checkbox_parcial_disable.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QTimeEdit::up-button,QDateEdit::up-button,QDateTimeEdit::up-button,QDoubleSpinBox::up-button,QSpinBox::up-button{
|
QTimeEdit::up-button,QDateEdit::up-button,QDateTimeEdit::up-button,QDoubleSpinBox::up-button,QSpinBox::up-button{
|
||||||
image:url(:/qss/psblack/add_top.png);
|
image:url(:/qss/blacksoft/add_top.png);
|
||||||
width:10px;
|
width:10px;
|
||||||
height:10px;
|
height:10px;
|
||||||
padding:2px 5px 0px 0px;
|
padding:2px 5px 0px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTimeEdit::down-button,QDateEdit::down-button,QDateTimeEdit::down-button,QDoubleSpinBox::down-button,QSpinBox::down-button{
|
QTimeEdit::down-button,QDateEdit::down-button,QDateTimeEdit::down-button,QDoubleSpinBox::down-button,QSpinBox::down-button{
|
||||||
image:url(:/qss/psblack/add_bottom.png);
|
image:url(:/qss/blacksoft/add_bottom.png);
|
||||||
width:10px;
|
width:10px;
|
||||||
height:10px;
|
height:10px;
|
||||||
padding:0px 5px 2px 0px;
|
padding:0px 5px 2px 0px;
|
||||||
|
@ -226,7 +226,7 @@ bottom:-2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox::down-arrow,QDateEdit[calendarPopup="true"]::down-arrow,QTimeEdit[calendarPopup="true"]::down-arrow,QDateTimeEdit[calendarPopup="true"]::down-arrow{
|
QComboBox::down-arrow,QDateEdit[calendarPopup="true"]::down-arrow,QTimeEdit[calendarPopup="true"]::down-arrow,QDateTimeEdit[calendarPopup="true"]::down-arrow{
|
||||||
image:url(:/qss/psblack/add_bottom.png);
|
image:url(:/qss/blacksoft/add_bottom.png);
|
||||||
width:10px;
|
width:10px;
|
||||||
height:10px;
|
height:10px;
|
||||||
right:2px;
|
right:2px;
|
||||||
|
@ -271,11 +271,11 @@ height:13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::indicator::checked{
|
QMenu::indicator::checked{
|
||||||
image:url(:/qss/psblack/menu_checked.png);
|
image:url(:/qss/blacksoft/menu_checked.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::right-arrow{
|
QMenu::right-arrow{
|
||||||
image:url(:/qss/psblack/arrow_right.png);
|
image:url(:/qss/blacksoft/arrow_right.png);
|
||||||
width:13px;
|
width:13px;
|
||||||
height:13px;
|
height:13px;
|
||||||
padding:0px 3px 0px 0px;
|
padding:0px 3px 0px 0px;
|
||||||
|
@ -445,12 +445,12 @@ gridline-color:#242424;
|
||||||
|
|
||||||
QTreeView::branch:closed:has-children{
|
QTreeView::branch:closed:has-children{
|
||||||
margin:4px;
|
margin:4px;
|
||||||
border-image:url(:/qss/psblack/branch_open.png);
|
border-image:url(:/qss/blacksoft/branch_open.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QTreeView::branch:open:has-children{
|
QTreeView::branch:open:has-children{
|
||||||
margin:4px;
|
margin:4px;
|
||||||
border-image:url(:/qss/psblack/branch_close.png);
|
border-image:url(:/qss/blacksoft/branch_close.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QTreeView,QListView,QTableView,QSplitter::handle,QTreeView::branch{
|
QTreeView,QListView,QTableView,QSplitter::handle,QTreeView::branch{
|
||||||
|
@ -578,13 +578,13 @@ min-width:80px;
|
||||||
QToolButton#qt_calendar_prevmonth{
|
QToolButton#qt_calendar_prevmonth{
|
||||||
icon-size:0px;
|
icon-size:0px;
|
||||||
min-width:20px;
|
min-width:20px;
|
||||||
image:url(:/qss/psblack/calendar_prevmonth.png);
|
image:url(:/qss/blacksoft/calendar_prevmonth.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolButton#qt_calendar_nextmonth{
|
QToolButton#qt_calendar_nextmonth{
|
||||||
icon-size:0px;
|
icon-size:0px;
|
||||||
min-width:20px;
|
min-width:20px;
|
||||||
image:url(:/qss/psblack/calendar_nextmonth.png);
|
image:url(:/qss/blacksoft/calendar_nextmonth.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolButton#qt_calendar_prevmonth,QToolButton#qt_calendar_nextmonth,QToolButton#qt_calendar_monthbutton,QToolButton#qt_calendar_yearbutton{
|
QToolButton#qt_calendar_prevmonth,QToolButton#qt_calendar_nextmonth,QToolButton#qt_calendar_monthbutton,QToolButton#qt_calendar_yearbutton{
|
Before Width: | Height: | Size: 335 B After Width: | Height: | Size: 335 B |
Before Width: | Height: | Size: 377 B After Width: | Height: | Size: 377 B |
Before Width: | Height: | Size: 352 B After Width: | Height: | Size: 352 B |
Before Width: | Height: | Size: 348 B After Width: | Height: | Size: 348 B |
Before Width: | Height: | Size: 335 B After Width: | Height: | Size: 335 B |
Before Width: | Height: | Size: 370 B After Width: | Height: | Size: 370 B |
Before Width: | Height: | Size: 354 B After Width: | Height: | Size: 354 B |
Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 349 B |
Before Width: | Height: | Size: 257 B After Width: | Height: | Size: 257 B |
Before Width: | Height: | Size: 445 B After Width: | Height: | Size: 445 B |
Before Width: | Height: | Size: 623 B After Width: | Height: | Size: 623 B |
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 667 B |
Before Width: | Height: | Size: 593 B After Width: | Height: | Size: 593 B |
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 656 B |
Before Width: | Height: | Size: 326 B After Width: | Height: | Size: 326 B |
Before Width: | Height: | Size: 333 B After Width: | Height: | Size: 333 B |
Before Width: | Height: | Size: 572 B After Width: | Height: | Size: 572 B |
Before Width: | Height: | Size: 624 B After Width: | Height: | Size: 624 B |
Before Width: | Height: | Size: 501 B After Width: | Height: | Size: 501 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
@ -74,10 +74,10 @@ void frmMain::on_btnStyle1_clicked()
|
||||||
|
|
||||||
void frmMain::on_btnStyle2_clicked()
|
void frmMain::on_btnStyle2_clicked()
|
||||||
{
|
{
|
||||||
loadStyle(":/qss/flatwhite.css");
|
loadStyle(":/qss/flatgray.css");
|
||||||
}
|
}
|
||||||
|
|
||||||
void frmMain::on_btnStyle3_clicked()
|
void frmMain::on_btnStyle3_clicked()
|
||||||
{
|
{
|
||||||
loadStyle(":/qss/psblack.css");
|
loadStyle(":/qss/blacksoft.css");
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>800</width>
|
<width>817</width>
|
||||||
<height>600</height>
|
<height>616</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
|
@ -129,7 +129,7 @@
|
||||||
<item row="2" column="2">
|
<item row="2" column="2">
|
||||||
<widget class="QPushButton" name="btnStyle3">
|
<widget class="QPushButton" name="btnStyle3">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>PS黑色</string>
|
<string>软件黑</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -254,7 +254,7 @@
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>淡蓝色</string>
|
<string>浅蓝色</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -324,7 +324,7 @@
|
||||||
<item row="1" column="2">
|
<item row="1" column="2">
|
||||||
<widget class="QPushButton" name="btnStyle2">
|
<widget class="QPushButton" name="btnStyle2">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>扁平白色</string>
|
<string>扁平灰</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -765,7 +765,7 @@ p, li { white-space: pre-wrap; }
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>800</width>
|
<width>817</width>
|
||||||
<height>26</height>
|
<height>26</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
|
|
@ -1,31 +1,30 @@
|
||||||
<RCC>
|
<RCC>
|
||||||
<qresource prefix="/">
|
<qresource prefix="/">
|
||||||
<file>qss/flatwhite.css</file>
|
<file>qss/flatgray.css</file>
|
||||||
<file>qss/lightblue.css</file>
|
<file>qss/lightblue.css</file>
|
||||||
<file>qss/psblack.css</file>
|
<file>qss/flatgray/add_bottom.png</file>
|
||||||
<file>qss/flatwhite/add_bottom.png</file>
|
<file>qss/flatgray/add_left.png</file>
|
||||||
<file>qss/flatwhite/add_left.png</file>
|
<file>qss/flatgray/add_right.png</file>
|
||||||
<file>qss/flatwhite/add_right.png</file>
|
<file>qss/flatgray/add_top.png</file>
|
||||||
<file>qss/flatwhite/add_top.png</file>
|
<file>qss/flatgray/arrow_bottom.png</file>
|
||||||
<file>qss/flatwhite/arrow_bottom.png</file>
|
<file>qss/flatgray/arrow_left.png</file>
|
||||||
<file>qss/flatwhite/arrow_left.png</file>
|
<file>qss/flatgray/arrow_right.png</file>
|
||||||
<file>qss/flatwhite/arrow_right.png</file>
|
<file>qss/flatgray/arrow_top.png</file>
|
||||||
<file>qss/flatwhite/arrow_top.png</file>
|
<file>qss/flatgray/branch_close.png</file>
|
||||||
<file>qss/flatwhite/branch_close.png</file>
|
<file>qss/flatgray/branch_open.png</file>
|
||||||
<file>qss/flatwhite/branch_open.png</file>
|
<file>qss/flatgray/calendar_nextmonth.png</file>
|
||||||
<file>qss/flatwhite/calendar_nextmonth.png</file>
|
<file>qss/flatgray/calendar_prevmonth.png</file>
|
||||||
<file>qss/flatwhite/calendar_prevmonth.png</file>
|
<file>qss/flatgray/checkbox_checked.png</file>
|
||||||
<file>qss/flatwhite/checkbox_checked.png</file>
|
<file>qss/flatgray/checkbox_checked_disable.png</file>
|
||||||
<file>qss/flatwhite/checkbox_checked_disable.png</file>
|
<file>qss/flatgray/checkbox_parcial.png</file>
|
||||||
<file>qss/flatwhite/checkbox_parcial.png</file>
|
<file>qss/flatgray/checkbox_parcial_disable.png</file>
|
||||||
<file>qss/flatwhite/checkbox_parcial_disable.png</file>
|
<file>qss/flatgray/checkbox_unchecked.png</file>
|
||||||
<file>qss/flatwhite/checkbox_unchecked.png</file>
|
<file>qss/flatgray/checkbox_unchecked_disable.png</file>
|
||||||
<file>qss/flatwhite/checkbox_unchecked_disable.png</file>
|
<file>qss/flatgray/menu_checked.png</file>
|
||||||
<file>qss/flatwhite/menu_checked.png</file>
|
<file>qss/flatgray/radiobutton_checked.png</file>
|
||||||
<file>qss/flatwhite/radiobutton_checked.png</file>
|
<file>qss/flatgray/radiobutton_checked_disable.png</file>
|
||||||
<file>qss/flatwhite/radiobutton_checked_disable.png</file>
|
<file>qss/flatgray/radiobutton_unchecked.png</file>
|
||||||
<file>qss/flatwhite/radiobutton_unchecked.png</file>
|
<file>qss/flatgray/radiobutton_unchecked_disable.png</file>
|
||||||
<file>qss/flatwhite/radiobutton_unchecked_disable.png</file>
|
|
||||||
<file>qss/lightblue/add_bottom.png</file>
|
<file>qss/lightblue/add_bottom.png</file>
|
||||||
<file>qss/lightblue/add_left.png</file>
|
<file>qss/lightblue/add_left.png</file>
|
||||||
<file>qss/lightblue/add_right.png</file>
|
<file>qss/lightblue/add_right.png</file>
|
||||||
|
@ -49,28 +48,29 @@
|
||||||
<file>qss/lightblue/radiobutton_checked_disable.png</file>
|
<file>qss/lightblue/radiobutton_checked_disable.png</file>
|
||||||
<file>qss/lightblue/radiobutton_unchecked.png</file>
|
<file>qss/lightblue/radiobutton_unchecked.png</file>
|
||||||
<file>qss/lightblue/radiobutton_unchecked_disable.png</file>
|
<file>qss/lightblue/radiobutton_unchecked_disable.png</file>
|
||||||
<file>qss/psblack/add_bottom.png</file>
|
<file>qss/blacksoft.css</file>
|
||||||
<file>qss/psblack/add_left.png</file>
|
<file>qss/blacksoft/add_bottom.png</file>
|
||||||
<file>qss/psblack/add_right.png</file>
|
<file>qss/blacksoft/add_left.png</file>
|
||||||
<file>qss/psblack/add_top.png</file>
|
<file>qss/blacksoft/add_right.png</file>
|
||||||
<file>qss/psblack/arrow_bottom.png</file>
|
<file>qss/blacksoft/add_top.png</file>
|
||||||
<file>qss/psblack/arrow_left.png</file>
|
<file>qss/blacksoft/arrow_bottom.png</file>
|
||||||
<file>qss/psblack/arrow_right.png</file>
|
<file>qss/blacksoft/arrow_left.png</file>
|
||||||
<file>qss/psblack/arrow_top.png</file>
|
<file>qss/blacksoft/arrow_right.png</file>
|
||||||
<file>qss/psblack/branch_close.png</file>
|
<file>qss/blacksoft/arrow_top.png</file>
|
||||||
<file>qss/psblack/branch_open.png</file>
|
<file>qss/blacksoft/branch_close.png</file>
|
||||||
<file>qss/psblack/calendar_nextmonth.png</file>
|
<file>qss/blacksoft/branch_open.png</file>
|
||||||
<file>qss/psblack/calendar_prevmonth.png</file>
|
<file>qss/blacksoft/calendar_nextmonth.png</file>
|
||||||
<file>qss/psblack/checkbox_checked.png</file>
|
<file>qss/blacksoft/calendar_prevmonth.png</file>
|
||||||
<file>qss/psblack/checkbox_checked_disable.png</file>
|
<file>qss/blacksoft/checkbox_checked.png</file>
|
||||||
<file>qss/psblack/checkbox_parcial.png</file>
|
<file>qss/blacksoft/checkbox_checked_disable.png</file>
|
||||||
<file>qss/psblack/checkbox_parcial_disable.png</file>
|
<file>qss/blacksoft/checkbox_parcial.png</file>
|
||||||
<file>qss/psblack/checkbox_unchecked.png</file>
|
<file>qss/blacksoft/checkbox_parcial_disable.png</file>
|
||||||
<file>qss/psblack/checkbox_unchecked_disable.png</file>
|
<file>qss/blacksoft/checkbox_unchecked.png</file>
|
||||||
<file>qss/psblack/menu_checked.png</file>
|
<file>qss/blacksoft/checkbox_unchecked_disable.png</file>
|
||||||
<file>qss/psblack/radiobutton_checked.png</file>
|
<file>qss/blacksoft/menu_checked.png</file>
|
||||||
<file>qss/psblack/radiobutton_checked_disable.png</file>
|
<file>qss/blacksoft/radiobutton_checked.png</file>
|
||||||
<file>qss/psblack/radiobutton_unchecked.png</file>
|
<file>qss/blacksoft/radiobutton_checked_disable.png</file>
|
||||||
<file>qss/psblack/radiobutton_unchecked_disable.png</file>
|
<file>qss/blacksoft/radiobutton_unchecked.png</file>
|
||||||
|
<file>qss/blacksoft/radiobutton_unchecked_disable.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
|
@ -155,19 +155,19 @@ height:15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QRadioButton::indicator::unchecked{
|
QRadioButton::indicator::unchecked{
|
||||||
image:url(:/qss/psblack/radiobutton_unchecked.png);
|
image:url(:/qss/blacksoft/radiobutton_unchecked.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QRadioButton::indicator::unchecked:disabled{
|
QRadioButton::indicator::unchecked:disabled{
|
||||||
image:url(:/qss/psblack/radiobutton_unchecked_disable.png);
|
image:url(:/qss/blacksoft/radiobutton_unchecked_disable.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QRadioButton::indicator::checked{
|
QRadioButton::indicator::checked{
|
||||||
image:url(:/qss/psblack/radiobutton_checked.png);
|
image:url(:/qss/blacksoft/radiobutton_checked.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QRadioButton::indicator::checked:disabled{
|
QRadioButton::indicator::checked:disabled{
|
||||||
image:url(:/qss/psblack/radiobutton_checked_disable.png);
|
image:url(:/qss/blacksoft/radiobutton_checked_disable.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QGroupBox::indicator,QTreeView::indicator,QListView::indicator,QTableView::indicator{
|
QGroupBox::indicator,QTreeView::indicator,QListView::indicator,QTableView::indicator{
|
||||||
|
@ -180,38 +180,38 @@ height:13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:unchecked,QGroupBox::indicator:unchecked,QTreeView::indicator:unchecked,QListView::indicator:unchecked,QTableView::indicator:unchecked{
|
QCheckBox::indicator:unchecked,QGroupBox::indicator:unchecked,QTreeView::indicator:unchecked,QListView::indicator:unchecked,QTableView::indicator:unchecked{
|
||||||
image:url(:/qss/psblack/checkbox_unchecked.png);
|
image:url(:/qss/blacksoft/checkbox_unchecked.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:unchecked:disabled,QGroupBox::indicator:unchecked:disabled,QTreeView::indicator:unchecked:disabled,QListView::indicator:unchecked:disabled,QTableView::indicator:unchecked:disabled{
|
QCheckBox::indicator:unchecked:disabled,QGroupBox::indicator:unchecked:disabled,QTreeView::indicator:unchecked:disabled,QListView::indicator:unchecked:disabled,QTableView::indicator:unchecked:disabled{
|
||||||
image:url(:/qss/psblack/checkbox_unchecked_disable.png);
|
image:url(:/qss/blacksoft/checkbox_unchecked_disable.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:checked,QGroupBox::indicator:checked,QTreeView::indicator:checked,QListView::indicator:checked,QTableView::indicator:checked{
|
QCheckBox::indicator:checked,QGroupBox::indicator:checked,QTreeView::indicator:checked,QListView::indicator:checked,QTableView::indicator:checked{
|
||||||
image:url(:/qss/psblack/checkbox_checked.png);
|
image:url(:/qss/blacksoft/checkbox_checked.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:checked:disabled,QGroupBox::indicator:checked:disabled,QTreeView::indicator:checked:disabled,QListView::indicator:checked:disabled,QTableView::indicator:checked:disabled{
|
QCheckBox::indicator:checked:disabled,QGroupBox::indicator:checked:disabled,QTreeView::indicator:checked:disabled,QListView::indicator:checked:disabled,QTableView::indicator:checked:disabled{
|
||||||
image:url(:/qss/psblack/checkbox_checked_disable.png);
|
image:url(:/qss/blacksoft/checkbox_checked_disable.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:indeterminate,QGroupBox::indicator:indeterminate,QTreeView::indicator:indeterminate,QListView::indicator:indeterminate,QTableView::indicator:indeterminate{
|
QCheckBox::indicator:indeterminate,QGroupBox::indicator:indeterminate,QTreeView::indicator:indeterminate,QListView::indicator:indeterminate,QTableView::indicator:indeterminate{
|
||||||
image:url(:/qss/psblack/checkbox_parcial.png);
|
image:url(:/qss/blacksoft/checkbox_parcial.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:indeterminate:disabled,QGroupBox::indicator:indeterminate:disabled,QTreeView::indicator:indeterminate:disabled,QListView::indicator:indeterminate:disabled,QTableView::indicator:indeterminate:disabled{
|
QCheckBox::indicator:indeterminate:disabled,QGroupBox::indicator:indeterminate:disabled,QTreeView::indicator:indeterminate:disabled,QListView::indicator:indeterminate:disabled,QTableView::indicator:indeterminate:disabled{
|
||||||
image:url(:/qss/psblack/checkbox_parcial_disable.png);
|
image:url(:/qss/blacksoft/checkbox_parcial_disable.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QTimeEdit::up-button,QDateEdit::up-button,QDateTimeEdit::up-button,QDoubleSpinBox::up-button,QSpinBox::up-button{
|
QTimeEdit::up-button,QDateEdit::up-button,QDateTimeEdit::up-button,QDoubleSpinBox::up-button,QSpinBox::up-button{
|
||||||
image:url(:/qss/psblack/add_top.png);
|
image:url(:/qss/blacksoft/add_top.png);
|
||||||
width:10px;
|
width:10px;
|
||||||
height:10px;
|
height:10px;
|
||||||
padding:2px 5px 0px 0px;
|
padding:2px 5px 0px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTimeEdit::down-button,QDateEdit::down-button,QDateTimeEdit::down-button,QDoubleSpinBox::down-button,QSpinBox::down-button{
|
QTimeEdit::down-button,QDateEdit::down-button,QDateTimeEdit::down-button,QDoubleSpinBox::down-button,QSpinBox::down-button{
|
||||||
image:url(:/qss/psblack/add_bottom.png);
|
image:url(:/qss/blacksoft/add_bottom.png);
|
||||||
width:10px;
|
width:10px;
|
||||||
height:10px;
|
height:10px;
|
||||||
padding:0px 5px 2px 0px;
|
padding:0px 5px 2px 0px;
|
||||||
|
@ -226,7 +226,7 @@ bottom:-2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox::down-arrow,QDateEdit[calendarPopup="true"]::down-arrow,QTimeEdit[calendarPopup="true"]::down-arrow,QDateTimeEdit[calendarPopup="true"]::down-arrow{
|
QComboBox::down-arrow,QDateEdit[calendarPopup="true"]::down-arrow,QTimeEdit[calendarPopup="true"]::down-arrow,QDateTimeEdit[calendarPopup="true"]::down-arrow{
|
||||||
image:url(:/qss/psblack/add_bottom.png);
|
image:url(:/qss/blacksoft/add_bottom.png);
|
||||||
width:10px;
|
width:10px;
|
||||||
height:10px;
|
height:10px;
|
||||||
right:2px;
|
right:2px;
|
||||||
|
@ -271,11 +271,11 @@ height:13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::indicator::checked{
|
QMenu::indicator::checked{
|
||||||
image:url(:/qss/psblack/menu_checked.png);
|
image:url(:/qss/blacksoft/menu_checked.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::right-arrow{
|
QMenu::right-arrow{
|
||||||
image:url(:/qss/psblack/arrow_right.png);
|
image:url(:/qss/blacksoft/arrow_right.png);
|
||||||
width:13px;
|
width:13px;
|
||||||
height:13px;
|
height:13px;
|
||||||
padding:0px 3px 0px 0px;
|
padding:0px 3px 0px 0px;
|
||||||
|
@ -445,12 +445,12 @@ gridline-color:#242424;
|
||||||
|
|
||||||
QTreeView::branch:closed:has-children{
|
QTreeView::branch:closed:has-children{
|
||||||
margin:4px;
|
margin:4px;
|
||||||
border-image:url(:/qss/psblack/branch_open.png);
|
border-image:url(:/qss/blacksoft/branch_open.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QTreeView::branch:open:has-children{
|
QTreeView::branch:open:has-children{
|
||||||
margin:4px;
|
margin:4px;
|
||||||
border-image:url(:/qss/psblack/branch_close.png);
|
border-image:url(:/qss/blacksoft/branch_close.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QTreeView,QListView,QTableView,QSplitter::handle,QTreeView::branch{
|
QTreeView,QListView,QTableView,QSplitter::handle,QTreeView::branch{
|
||||||
|
@ -578,13 +578,13 @@ min-width:80px;
|
||||||
QToolButton#qt_calendar_prevmonth{
|
QToolButton#qt_calendar_prevmonth{
|
||||||
icon-size:0px;
|
icon-size:0px;
|
||||||
min-width:20px;
|
min-width:20px;
|
||||||
image:url(:/qss/psblack/calendar_prevmonth.png);
|
image:url(:/qss/blacksoft/calendar_prevmonth.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolButton#qt_calendar_nextmonth{
|
QToolButton#qt_calendar_nextmonth{
|
||||||
icon-size:0px;
|
icon-size:0px;
|
||||||
min-width:20px;
|
min-width:20px;
|
||||||
image:url(:/qss/psblack/calendar_nextmonth.png);
|
image:url(:/qss/blacksoft/calendar_nextmonth.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolButton#qt_calendar_prevmonth,QToolButton#qt_calendar_nextmonth,QToolButton#qt_calendar_monthbutton,QToolButton#qt_calendar_yearbutton{
|
QToolButton#qt_calendar_prevmonth,QToolButton#qt_calendar_nextmonth,QToolButton#qt_calendar_monthbutton,QToolButton#qt_calendar_yearbutton{
|
Before Width: | Height: | Size: 335 B After Width: | Height: | Size: 335 B |
Before Width: | Height: | Size: 377 B After Width: | Height: | Size: 377 B |
Before Width: | Height: | Size: 352 B After Width: | Height: | Size: 352 B |
Before Width: | Height: | Size: 348 B After Width: | Height: | Size: 348 B |
Before Width: | Height: | Size: 335 B After Width: | Height: | Size: 335 B |
Before Width: | Height: | Size: 370 B After Width: | Height: | Size: 370 B |
Before Width: | Height: | Size: 354 B After Width: | Height: | Size: 354 B |
Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 349 B |
Before Width: | Height: | Size: 257 B After Width: | Height: | Size: 257 B |
Before Width: | Height: | Size: 445 B After Width: | Height: | Size: 445 B |
Before Width: | Height: | Size: 623 B After Width: | Height: | Size: 623 B |
Before Width: | Height: | Size: 667 B After Width: | Height: | Size: 667 B |
Before Width: | Height: | Size: 593 B After Width: | Height: | Size: 593 B |
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 656 B |
Before Width: | Height: | Size: 326 B After Width: | Height: | Size: 326 B |
Before Width: | Height: | Size: 333 B After Width: | Height: | Size: 333 B |
Before Width: | Height: | Size: 572 B After Width: | Height: | Size: 572 B |
Before Width: | Height: | Size: 624 B After Width: | Height: | Size: 624 B |
Before Width: | Height: | Size: 501 B After Width: | Height: | Size: 501 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
@ -155,19 +155,19 @@ height:15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QRadioButton::indicator::unchecked{
|
QRadioButton::indicator::unchecked{
|
||||||
image:url(:/qss/flatwhite/radiobutton_unchecked.png);
|
image:url(:/qss/flatgray/radiobutton_unchecked.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QRadioButton::indicator::unchecked:disabled{
|
QRadioButton::indicator::unchecked:disabled{
|
||||||
image:url(:/qss/flatwhite/radiobutton_unchecked_disable.png);
|
image:url(:/qss/flatgray/radiobutton_unchecked_disable.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QRadioButton::indicator::checked{
|
QRadioButton::indicator::checked{
|
||||||
image:url(:/qss/flatwhite/radiobutton_checked.png);
|
image:url(:/qss/flatgray/radiobutton_checked.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QRadioButton::indicator::checked:disabled{
|
QRadioButton::indicator::checked:disabled{
|
||||||
image:url(:/qss/flatwhite/radiobutton_checked_disable.png);
|
image:url(:/qss/flatgray/radiobutton_checked_disable.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QGroupBox::indicator,QTreeView::indicator,QListView::indicator,QTableView::indicator{
|
QGroupBox::indicator,QTreeView::indicator,QListView::indicator,QTableView::indicator{
|
||||||
|
@ -180,38 +180,38 @@ height:13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:unchecked,QGroupBox::indicator:unchecked,QTreeView::indicator:unchecked,QListView::indicator:unchecked,QTableView::indicator:unchecked{
|
QCheckBox::indicator:unchecked,QGroupBox::indicator:unchecked,QTreeView::indicator:unchecked,QListView::indicator:unchecked,QTableView::indicator:unchecked{
|
||||||
image:url(:/qss/flatwhite/checkbox_unchecked.png);
|
image:url(:/qss/flatgray/checkbox_unchecked.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:unchecked:disabled,QGroupBox::indicator:unchecked:disabled,QTreeView::indicator:unchecked:disabled,QListView::indicator:unchecked:disabled,QTableView::indicator:unchecked:disabled{
|
QCheckBox::indicator:unchecked:disabled,QGroupBox::indicator:unchecked:disabled,QTreeView::indicator:unchecked:disabled,QListView::indicator:unchecked:disabled,QTableView::indicator:unchecked:disabled{
|
||||||
image:url(:/qss/flatwhite/checkbox_unchecked_disable.png);
|
image:url(:/qss/flatgray/checkbox_unchecked_disable.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:checked,QGroupBox::indicator:checked,QTreeView::indicator:checked,QListView::indicator:checked,QTableView::indicator:checked{
|
QCheckBox::indicator:checked,QGroupBox::indicator:checked,QTreeView::indicator:checked,QListView::indicator:checked,QTableView::indicator:checked{
|
||||||
image:url(:/qss/flatwhite/checkbox_checked.png);
|
image:url(:/qss/flatgray/checkbox_checked.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:checked:disabled,QGroupBox::indicator:checked:disabled,QTreeView::indicator:checked:disabled,QListView::indicator:checked:disabled,QTableView::indicator:checked:disabled{
|
QCheckBox::indicator:checked:disabled,QGroupBox::indicator:checked:disabled,QTreeView::indicator:checked:disabled,QListView::indicator:checked:disabled,QTableView::indicator:checked:disabled{
|
||||||
image:url(:/qss/flatwhite/checkbox_checked_disable.png);
|
image:url(:/qss/flatgray/checkbox_checked_disable.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:indeterminate,QGroupBox::indicator:indeterminate,QTreeView::indicator:indeterminate,QListView::indicator:indeterminate,QTableView::indicator:indeterminate{
|
QCheckBox::indicator:indeterminate,QGroupBox::indicator:indeterminate,QTreeView::indicator:indeterminate,QListView::indicator:indeterminate,QTableView::indicator:indeterminate{
|
||||||
image:url(:/qss/flatwhite/checkbox_parcial.png);
|
image:url(:/qss/flatgray/checkbox_parcial.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QCheckBox::indicator:indeterminate:disabled,QGroupBox::indicator:indeterminate:disabled,QTreeView::indicator:indeterminate:disabled,QListView::indicator:indeterminate:disabled,QTableView::indicator:indeterminate:disabled{
|
QCheckBox::indicator:indeterminate:disabled,QGroupBox::indicator:indeterminate:disabled,QTreeView::indicator:indeterminate:disabled,QListView::indicator:indeterminate:disabled,QTableView::indicator:indeterminate:disabled{
|
||||||
image:url(:/qss/flatwhite/checkbox_parcial_disable.png);
|
image:url(:/qss/flatgray/checkbox_parcial_disable.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QTimeEdit::up-button,QDateEdit::up-button,QDateTimeEdit::up-button,QDoubleSpinBox::up-button,QSpinBox::up-button{
|
QTimeEdit::up-button,QDateEdit::up-button,QDateTimeEdit::up-button,QDoubleSpinBox::up-button,QSpinBox::up-button{
|
||||||
image:url(:/qss/flatwhite/add_top.png);
|
image:url(:/qss/flatgray/add_top.png);
|
||||||
width:10px;
|
width:10px;
|
||||||
height:10px;
|
height:10px;
|
||||||
padding:2px 5px 0px 0px;
|
padding:2px 5px 0px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTimeEdit::down-button,QDateEdit::down-button,QDateTimeEdit::down-button,QDoubleSpinBox::down-button,QSpinBox::down-button{
|
QTimeEdit::down-button,QDateEdit::down-button,QDateTimeEdit::down-button,QDoubleSpinBox::down-button,QSpinBox::down-button{
|
||||||
image:url(:/qss/flatwhite/add_bottom.png);
|
image:url(:/qss/flatgray/add_bottom.png);
|
||||||
width:10px;
|
width:10px;
|
||||||
height:10px;
|
height:10px;
|
||||||
padding:0px 5px 2px 0px;
|
padding:0px 5px 2px 0px;
|
||||||
|
@ -226,7 +226,7 @@ bottom:-2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox::down-arrow,QDateEdit[calendarPopup="true"]::down-arrow,QTimeEdit[calendarPopup="true"]::down-arrow,QDateTimeEdit[calendarPopup="true"]::down-arrow{
|
QComboBox::down-arrow,QDateEdit[calendarPopup="true"]::down-arrow,QTimeEdit[calendarPopup="true"]::down-arrow,QDateTimeEdit[calendarPopup="true"]::down-arrow{
|
||||||
image:url(:/qss/flatwhite/add_bottom.png);
|
image:url(:/qss/flatgray/add_bottom.png);
|
||||||
width:10px;
|
width:10px;
|
||||||
height:10px;
|
height:10px;
|
||||||
right:2px;
|
right:2px;
|
||||||
|
@ -271,11 +271,11 @@ height:13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::indicator::checked{
|
QMenu::indicator::checked{
|
||||||
image:url(:/qss/flatwhite/menu_checked.png);
|
image:url(:/qss/flatgray/menu_checked.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::right-arrow{
|
QMenu::right-arrow{
|
||||||
image:url(:/qss/flatwhite/arrow_right.png);
|
image:url(:/qss/flatgray/arrow_right.png);
|
||||||
width:13px;
|
width:13px;
|
||||||
height:13px;
|
height:13px;
|
||||||
padding:0px 3px 0px 0px;
|
padding:0px 3px 0px 0px;
|
||||||
|
@ -445,12 +445,12 @@ gridline-color:#B6B6B6;
|
||||||
|
|
||||||
QTreeView::branch:closed:has-children{
|
QTreeView::branch:closed:has-children{
|
||||||
margin:4px;
|
margin:4px;
|
||||||
border-image:url(:/qss/flatwhite/branch_open.png);
|
border-image:url(:/qss/flatgray/branch_open.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QTreeView::branch:open:has-children{
|
QTreeView::branch:open:has-children{
|
||||||
margin:4px;
|
margin:4px;
|
||||||
border-image:url(:/qss/flatwhite/branch_close.png);
|
border-image:url(:/qss/flatgray/branch_close.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QTreeView,QListView,QTableView,QSplitter::handle,QTreeView::branch{
|
QTreeView,QListView,QTableView,QSplitter::handle,QTreeView::branch{
|
||||||
|
@ -578,13 +578,13 @@ min-width:80px;
|
||||||
QToolButton#qt_calendar_prevmonth{
|
QToolButton#qt_calendar_prevmonth{
|
||||||
icon-size:0px;
|
icon-size:0px;
|
||||||
min-width:20px;
|
min-width:20px;
|
||||||
image:url(:/qss/flatwhite/calendar_prevmonth.png);
|
image:url(:/qss/flatgray/calendar_prevmonth.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolButton#qt_calendar_nextmonth{
|
QToolButton#qt_calendar_nextmonth{
|
||||||
icon-size:0px;
|
icon-size:0px;
|
||||||
min-width:20px;
|
min-width:20px;
|
||||||
image:url(:/qss/flatwhite/calendar_nextmonth.png);
|
image:url(:/qss/flatgray/calendar_nextmonth.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolButton#qt_calendar_prevmonth,QToolButton#qt_calendar_nextmonth,QToolButton#qt_calendar_monthbutton,QToolButton#qt_calendar_yearbutton{
|
QToolButton#qt_calendar_prevmonth,QToolButton#qt_calendar_nextmonth,QToolButton#qt_calendar_monthbutton,QToolButton#qt_calendar_yearbutton{
|
Before Width: | Height: | Size: 336 B After Width: | Height: | Size: 336 B |
Before Width: | Height: | Size: 370 B After Width: | Height: | Size: 370 B |
Before Width: | Height: | Size: 358 B After Width: | Height: | Size: 358 B |
Before Width: | Height: | Size: 332 B After Width: | Height: | Size: 332 B |
Before Width: | Height: | Size: 337 B After Width: | Height: | Size: 337 B |
Before Width: | Height: | Size: 376 B After Width: | Height: | Size: 376 B |
Before Width: | Height: | Size: 360 B After Width: | Height: | Size: 360 B |
Before Width: | Height: | Size: 361 B After Width: | Height: | Size: 361 B |
Before Width: | Height: | Size: 263 B After Width: | Height: | Size: 263 B |
Before Width: | Height: | Size: 444 B After Width: | Height: | Size: 444 B |
Before Width: | Height: | Size: 655 B After Width: | Height: | Size: 655 B |
Before Width: | Height: | Size: 740 B After Width: | Height: | Size: 740 B |
Before Width: | Height: | Size: 616 B After Width: | Height: | Size: 616 B |
Before Width: | Height: | Size: 639 B After Width: | Height: | Size: 639 B |
Before Width: | Height: | Size: 341 B After Width: | Height: | Size: 341 B |
Before Width: | Height: | Size: 331 B After Width: | Height: | Size: 331 B |
Before Width: | Height: | Size: 612 B After Width: | Height: | Size: 612 B |
Before Width: | Height: | Size: 646 B After Width: | Height: | Size: 646 B |
Before Width: | Height: | Size: 542 B After Width: | Height: | Size: 542 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
@ -16,7 +16,7 @@ int main(int argc, char *argv[])
|
||||||
QUIHelper::setCode();
|
QUIHelper::setCode();
|
||||||
|
|
||||||
//加载样式表
|
//加载样式表
|
||||||
QFile file(":/qss/psblack.css");
|
QFile file(":/qss/blacksoft.css");
|
||||||
if (file.open(QFile::ReadOnly)) {
|
if (file.open(QFile::ReadOnly)) {
|
||||||
QString qss = QLatin1String(file.readAll());
|
QString qss = QLatin1String(file.readAll());
|
||||||
QString paletteColor = qss.mid(20, 7);
|
QString paletteColor = qss.mid(20, 7);
|
||||||
|
|
After Width: | Height: | Size: 23 KiB |
|
@ -98,7 +98,7 @@ void frmMain::initStyle()
|
||||||
{
|
{
|
||||||
//加载样式表
|
//加载样式表
|
||||||
QString qss;
|
QString qss;
|
||||||
QFile file(":/qss/psblack.css");
|
QFile file(":/qss/blacksoft.css");
|
||||||
if (file.open(QFile::ReadOnly)) {
|
if (file.open(QFile::ReadOnly)) {
|
||||||
qss = QLatin1String(file.readAll());
|
qss = QLatin1String(file.readAll());
|
||||||
QString paletteColor = qss.mid(20, 7);
|
QString paletteColor = qss.mid(20, 7);
|
||||||
|
|
|
@ -16,6 +16,8 @@ frmMain::~frmMain()
|
||||||
|
|
||||||
void frmMain::initForm()
|
void frmMain::initForm()
|
||||||
{
|
{
|
||||||
|
this->setWindowTitle("九宫格主界面");
|
||||||
|
|
||||||
bg = "main2.jpg";
|
bg = "main2.jpg";
|
||||||
QList<QToolButton *> btns = this->findChildren<QToolButton *>();
|
QList<QToolButton *> btns = this->findChildren<QToolButton *>();
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ int main(int argc, char *argv[])
|
||||||
QUIHelper::setCode();
|
QUIHelper::setCode();
|
||||||
|
|
||||||
//加载样式表
|
//加载样式表
|
||||||
QFile file(":/qss/psblack.css");
|
QFile file(":/qss/blacksoft.css");
|
||||||
if (file.open(QFile::ReadOnly)) {
|
if (file.open(QFile::ReadOnly)) {
|
||||||
QString qss = QLatin1String(file.readAll());
|
QString qss = QLatin1String(file.readAll());
|
||||||
QString paletteColor = qss.mid(20, 7);
|
QString paletteColor = qss.mid(20, 7);
|
||||||
|
@ -26,7 +26,6 @@ int main(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
frmMain w;
|
frmMain w;
|
||||||
w.setWindowTitle("九宫格主界面 (QQ: 517216493 WX: feiyangqingyun)");
|
|
||||||
QUIHelper::setFormInCenter(&w);
|
QUIHelper::setFormInCenter(&w);
|
||||||
w.show();
|
w.show();
|
||||||
|
|
||||||
|
|
After Width: | Height: | Size: 370 KiB |
After Width: | Height: | Size: 36 KiB |