|
After Width: | Height: | Size: 84 KiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 79 KiB |
|
After Width: | Height: | Size: 71 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 51 KiB |
@ -0,0 +1,64 @@
|
|||||||
|
QT += network
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||||
|
lessThan(QT_MAJOR_VERSION, 6) {
|
||||||
|
android {QT += androidextras}
|
||||||
|
} else {
|
||||||
|
QT += core-private
|
||||||
|
}}
|
||||||
|
|
||||||
|
#指定编译产生的文件分门别类放到对应目录
|
||||||
|
MOC_DIR = temp/moc
|
||||||
|
RCC_DIR = temp/rcc
|
||||||
|
UI_DIR = temp/ui
|
||||||
|
OBJECTS_DIR = temp/obj
|
||||||
|
|
||||||
|
#指定编译生成的可执行文件放到源码上一级目录下的bin目录
|
||||||
|
!android {
|
||||||
|
!wasm {
|
||||||
|
DESTDIR = $$PWD/../bin
|
||||||
|
}}
|
||||||
|
|
||||||
|
#把所有警告都关掉眼不见为净
|
||||||
|
CONFIG += warn_off
|
||||||
|
#开启大资源支持
|
||||||
|
CONFIG += resources_big
|
||||||
|
#开启后会将打印信息用控制台输出
|
||||||
|
#CONFIG += console
|
||||||
|
#开启后不会生成空的 debug release 目录
|
||||||
|
#CONFIG -= debug_and_release
|
||||||
|
|
||||||
|
#引入全志H3芯片依赖
|
||||||
|
include ($$PWD/h3.pri)
|
||||||
|
#将当前目录加入到头文件路径
|
||||||
|
INCLUDEPATH += $$PWD
|
||||||
|
|
||||||
|
HEADERS += $$PWD/appdata.h
|
||||||
|
SOURCES += $$PWD/appdata.cpp
|
||||||
|
|
||||||
|
HEADERS += $$PWD/appinit.h
|
||||||
|
SOURCES += $$PWD/appinit.cpp
|
||||||
|
|
||||||
|
HEADERS += $$PWD/base64helper.h
|
||||||
|
SOURCES += $$PWD/base64helper.cpp
|
||||||
|
|
||||||
|
HEADERS += $$PWD/customstyle.h
|
||||||
|
SOURCES += $$PWD/customstyle.cpp
|
||||||
|
|
||||||
|
HEADERS += $$PWD/iconhelper.h
|
||||||
|
SOURCES += $$PWD/iconhelper.cpp
|
||||||
|
|
||||||
|
HEADERS += $$PWD/quihelper.h
|
||||||
|
SOURCES += $$PWD/quihelper.cpp
|
||||||
|
|
||||||
|
#可以指定不加载对应的资源文件
|
||||||
|
!contains(DEFINES, no_qrc_image) {
|
||||||
|
RESOURCES += $$PWD/qrc/image.qrc
|
||||||
|
}
|
||||||
|
|
||||||
|
!contains(DEFINES, no_qrc_qm) {
|
||||||
|
RESOURCES += $$PWD/qrc/qm.qrc
|
||||||
|
}
|
||||||
|
|
||||||
|
!contains(DEFINES, no_qrc_font) {
|
||||||
|
RESOURCES += $$PWD/qrc/font.qrc
|
||||||
|
}
|
||||||
@ -0,0 +1,7 @@
|
|||||||
|
unix:!macx {
|
||||||
|
contains(QT_ARCH, arm) {
|
||||||
|
contains(DEFINES, arma7) {
|
||||||
|
INCLUDEPATH += /usr/local/openssl-1.0.2m-h3-gcc-4.9.2/include
|
||||||
|
LIBS += -L/usr/local/openssl-1.0.2m-h3-gcc-4.9.2/lib -lssl -lcrypto
|
||||||
|
LIBS += -L/usr/local/h3_rootfsv -lXdmcp
|
||||||
|
}}}
|
||||||
@ -0,0 +1,7 @@
|
|||||||
|
<RCC>
|
||||||
|
<qresource prefix="/">
|
||||||
|
<file>font/fontawesome-webfont.ttf</file>
|
||||||
|
<file>font/iconfont.ttf</file>
|
||||||
|
<file>font/pe-icon-set-weather.ttf</file>
|
||||||
|
</qresource>
|
||||||
|
</RCC>
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
<RCC>
|
||||||
|
<qresource prefix="/">
|
||||||
|
<file>image/bg_novideo.png</file>
|
||||||
|
</qresource>
|
||||||
|
</RCC>
|
||||||
|
After Width: | Height: | Size: 1.9 KiB |
@ -0,0 +1,6 @@
|
|||||||
|
<RCC>
|
||||||
|
<qresource prefix="/">
|
||||||
|
<file>qm/qt_zh_CN.qm</file>
|
||||||
|
<file>qm/widgets.qm</file>
|
||||||
|
</qresource>
|
||||||
|
</RCC>
|
||||||
@ -0,0 +1,28 @@
|
|||||||
|
<RCC>
|
||||||
|
<qresource prefix="/">
|
||||||
|
<file>qss/blacksoft.css</file>
|
||||||
|
<file>qss/blacksoft/add_bottom.png</file>
|
||||||
|
<file>qss/blacksoft/add_left.png</file>
|
||||||
|
<file>qss/blacksoft/add_right.png</file>
|
||||||
|
<file>qss/blacksoft/add_top.png</file>
|
||||||
|
<file>qss/blacksoft/arrow_bottom.png</file>
|
||||||
|
<file>qss/blacksoft/arrow_left.png</file>
|
||||||
|
<file>qss/blacksoft/arrow_right.png</file>
|
||||||
|
<file>qss/blacksoft/arrow_top.png</file>
|
||||||
|
<file>qss/blacksoft/branch_close.png</file>
|
||||||
|
<file>qss/blacksoft/branch_open.png</file>
|
||||||
|
<file>qss/blacksoft/calendar_nextmonth.png</file>
|
||||||
|
<file>qss/blacksoft/calendar_prevmonth.png</file>
|
||||||
|
<file>qss/blacksoft/checkbox_checked.png</file>
|
||||||
|
<file>qss/blacksoft/checkbox_checked_disable.png</file>
|
||||||
|
<file>qss/blacksoft/checkbox_parcial.png</file>
|
||||||
|
<file>qss/blacksoft/checkbox_parcial_disable.png</file>
|
||||||
|
<file>qss/blacksoft/checkbox_unchecked.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>
|
||||||
|
</RCC>
|
||||||
@ -0,0 +1,694 @@
|
|||||||
|
QPalette{background:#444444;}*{outline:0px;color:#DCDCDC;}
|
||||||
|
|
||||||
|
QGraphicsView{
|
||||||
|
border:1px solid #242424;
|
||||||
|
qproperty-backgroundBrush:#444444;
|
||||||
|
}
|
||||||
|
|
||||||
|
QWidget[form="true"],QLabel[frameShape="1"]{
|
||||||
|
border:1px solid #242424;
|
||||||
|
border-radius:0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QWidget[form="bottom"]{
|
||||||
|
background:#484848;
|
||||||
|
}
|
||||||
|
|
||||||
|
QWidget[form="bottom"] .QFrame{
|
||||||
|
border:1px solid #DCDCDC;
|
||||||
|
}
|
||||||
|
|
||||||
|
QWidget[form="bottom"] QLabel,QWidget[form="title"] QLabel{
|
||||||
|
border-radius:0px;
|
||||||
|
color:#DCDCDC;
|
||||||
|
background:none;
|
||||||
|
border-style:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
QWidget[form="title"],QWidget[nav="left"],QWidget[nav="top"] QAbstractButton{
|
||||||
|
border-style:none;
|
||||||
|
border-radius:0px;
|
||||||
|
padding:5px;
|
||||||
|
color:#DCDCDC;
|
||||||
|
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838);
|
||||||
|
}
|
||||||
|
|
||||||
|
QWidget[nav="top"] QAbstractButton:hover,QWidget[nav="top"] QAbstractButton:pressed,QWidget[nav="top"] QAbstractButton:checked{
|
||||||
|
border-style:solid;
|
||||||
|
border-width:0px 0px 2px 0px;
|
||||||
|
padding:4px 4px 2px 4px;
|
||||||
|
border-color:#AAAAAA;
|
||||||
|
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #646464,stop:1 #525252);
|
||||||
|
}
|
||||||
|
|
||||||
|
QWidget[nav="left"] QAbstractButton{
|
||||||
|
border-radius:0px;
|
||||||
|
color:#DCDCDC;
|
||||||
|
background:none;
|
||||||
|
border-style:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
QWidget[nav="left"] QAbstractButton:hover{
|
||||||
|
color:#FFFFFF;
|
||||||
|
background-color:#AAAAAA;
|
||||||
|
}
|
||||||
|
|
||||||
|
QWidget[nav="left"] QAbstractButton:checked,QWidget[nav="left"] QAbstractButton:pressed{
|
||||||
|
color:#DCDCDC;
|
||||||
|
border-style:solid;
|
||||||
|
border-width:0px 0px 0px 2px;
|
||||||
|
padding:4px 4px 4px 2px;
|
||||||
|
border-color:#AAAAAA;
|
||||||
|
background-color:#444444;
|
||||||
|
}
|
||||||
|
|
||||||
|
QWidget[video="true"] QLabel{
|
||||||
|
color:#DCDCDC;
|
||||||
|
border:1px solid #242424;
|
||||||
|
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838);
|
||||||
|
}
|
||||||
|
|
||||||
|
QWidget[video="true"] QLabel:focus{
|
||||||
|
border:1px solid #AAAAAA;
|
||||||
|
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #646464,stop:1 #525252);
|
||||||
|
}
|
||||||
|
|
||||||
|
QLineEdit:read-only{
|
||||||
|
background-color:#484848;
|
||||||
|
}
|
||||||
|
|
||||||
|
QLineEdit,QTextEdit,QPlainTextEdit,QSpinBox,QDoubleSpinBox,QComboBox,QDateEdit,QTimeEdit,QDateTimeEdit{
|
||||||
|
border:1px solid #242424;
|
||||||
|
border-radius:3px;
|
||||||
|
padding:2px;
|
||||||
|
background:none;
|
||||||
|
selection-background-color:#AAAAAA;
|
||||||
|
selection-color:#FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
QLineEdit:focus,QTextEdit:focus,QPlainTextEdit:focus,QSpinBox:focus,QDoubleSpinBox:focus,QComboBox:focus,QDateEdit:focus,QTimeEdit:focus,QDateTimeEdit:focus,QLineEdit:hover,QTextEdit:hover,QPlainTextEdit:hover,QSpinBox:hover,QDoubleSpinBox:hover,QComboBox:hover,QDateEdit:hover,QTimeEdit:hover,QDateTimeEdit:hover{
|
||||||
|
border:1px solid #242424;
|
||||||
|
}
|
||||||
|
|
||||||
|
QLineEdit[echoMode="2"]{
|
||||||
|
lineedit-password-character:9679;
|
||||||
|
}
|
||||||
|
|
||||||
|
.QFrame{
|
||||||
|
border:1px solid #242424;
|
||||||
|
border-radius:3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.QGroupBox{
|
||||||
|
border:1px solid #242424;
|
||||||
|
border-radius:5px;
|
||||||
|
margin-top:9px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.QGroupBox::title{
|
||||||
|
subcontrol-origin:margin;
|
||||||
|
position:relative;
|
||||||
|
left:10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.QPushButton,.QToolButton{
|
||||||
|
border-style:none;
|
||||||
|
border:1px solid #242424;
|
||||||
|
color:#DCDCDC;
|
||||||
|
padding:5px;
|
||||||
|
min-height:15px;
|
||||||
|
border-radius:5px;
|
||||||
|
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838);
|
||||||
|
}
|
||||||
|
|
||||||
|
.QPushButton:hover,.QToolButton:hover{
|
||||||
|
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #646464,stop:1 #525252);
|
||||||
|
}
|
||||||
|
|
||||||
|
.QPushButton:pressed,.QToolButton:pressed{
|
||||||
|
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838);
|
||||||
|
}
|
||||||
|
|
||||||
|
.QToolButton::menu-indicator{
|
||||||
|
image:None;
|
||||||
|
}
|
||||||
|
|
||||||
|
QToolButton#btnMenu,QPushButton#btnMenu_Min,QPushButton#btnMenu_Max,QPushButton#btnMenu_Close{
|
||||||
|
border-radius:3px;
|
||||||
|
color:#DCDCDC;
|
||||||
|
padding:3px;
|
||||||
|
margin:0px;
|
||||||
|
background:none;
|
||||||
|
border-style:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
QToolButton#btnMenu:hover,QPushButton#btnMenu_Min:hover,QPushButton#btnMenu_Max:hover{
|
||||||
|
color:#FFFFFF;
|
||||||
|
margin:1px 1px 2px 1px;
|
||||||
|
background-color:rgba(51,127,209,230);
|
||||||
|
}
|
||||||
|
|
||||||
|
QPushButton#btnMenu_Close:hover{
|
||||||
|
color:#FFFFFF;
|
||||||
|
margin:1px 1px 2px 1px;
|
||||||
|
background-color:rgba(238,0,0,128);
|
||||||
|
}
|
||||||
|
|
||||||
|
QRadioButton::indicator{
|
||||||
|
width:15px;
|
||||||
|
height:15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QRadioButton::indicator::unchecked{
|
||||||
|
image:url(:/qss/blacksoft/radiobutton_unchecked.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
QRadioButton::indicator::unchecked:disabled{
|
||||||
|
image:url(:/qss/blacksoft/radiobutton_unchecked_disable.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
QRadioButton::indicator::checked{
|
||||||
|
image:url(:/qss/blacksoft/radiobutton_checked.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
QRadioButton::indicator::checked:disabled{
|
||||||
|
image:url(:/qss/blacksoft/radiobutton_checked_disable.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
QGroupBox::indicator,QTreeView::indicator,QListView::indicator,QTableView::indicator{
|
||||||
|
padding:0px 0px 0px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QCheckBox::indicator,QGroupBox::indicator,QTreeView::indicator,QListView::indicator,QTableView::indicator{
|
||||||
|
width:13px;
|
||||||
|
height:13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QCheckBox::indicator:unchecked,QGroupBox::indicator:unchecked,QTreeView::indicator:unchecked,QListView::indicator:unchecked,QTableView::indicator:unchecked{
|
||||||
|
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{
|
||||||
|
image:url(:/qss/blacksoft/checkbox_unchecked_disable.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
QCheckBox::indicator:checked,QGroupBox::indicator:checked,QTreeView::indicator:checked,QListView::indicator:checked,QTableView::indicator:checked{
|
||||||
|
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{
|
||||||
|
image:url(:/qss/blacksoft/checkbox_checked_disable.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
QCheckBox::indicator:indeterminate,QGroupBox::indicator:indeterminate,QTreeView::indicator:indeterminate,QListView::indicator:indeterminate,QTableView::indicator:indeterminate{
|
||||||
|
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{
|
||||||
|
image:url(:/qss/blacksoft/checkbox_parcial_disable.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
QTimeEdit::up-button,QDateEdit::up-button,QDateTimeEdit::up-button,QDoubleSpinBox::up-button,QSpinBox::up-button{
|
||||||
|
image:url(:/qss/blacksoft/add_top.png);
|
||||||
|
width:10px;
|
||||||
|
height:10px;
|
||||||
|
padding:2px 5px 0px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTimeEdit::down-button,QDateEdit::down-button,QDateTimeEdit::down-button,QDoubleSpinBox::down-button,QSpinBox::down-button{
|
||||||
|
image:url(:/qss/blacksoft/add_bottom.png);
|
||||||
|
width:10px;
|
||||||
|
height:10px;
|
||||||
|
padding:0px 5px 2px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTimeEdit::up-button:pressed,QDateEdit::up-button:pressed,QDateTimeEdit::up-button:pressed,QDoubleSpinBox::up-button:pressed,QSpinBox::up-button:pressed{
|
||||||
|
top:-2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTimeEdit::down-button:pressed,QDateEdit::down-button:pressed,QDateTimeEdit::down-button:pressed,QDoubleSpinBox::down-button:pressed,QSpinBox::down-button:pressed,QSpinBox::down-button:pressed{
|
||||||
|
bottom:-2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QComboBox::down-arrow,QDateEdit[calendarPopup="true"]::down-arrow,QTimeEdit[calendarPopup="true"]::down-arrow,QDateTimeEdit[calendarPopup="true"]::down-arrow{
|
||||||
|
image:url(:/qss/blacksoft/add_bottom.png);
|
||||||
|
width:10px;
|
||||||
|
height:10px;
|
||||||
|
right:2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QComboBox::drop-down,QDateEdit::drop-down,QTimeEdit::drop-down,QDateTimeEdit::drop-down{
|
||||||
|
subcontrol-origin:padding;
|
||||||
|
subcontrol-position:top right;
|
||||||
|
width:15px;
|
||||||
|
border-left-width:0px;
|
||||||
|
border-left-style:solid;
|
||||||
|
border-top-right-radius:3px;
|
||||||
|
border-bottom-right-radius:3px;
|
||||||
|
border-left-color:#242424;
|
||||||
|
}
|
||||||
|
|
||||||
|
QComboBox::drop-down:on{
|
||||||
|
top:1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QMenuBar::item{
|
||||||
|
color:#DCDCDC;
|
||||||
|
background-color:#484848;
|
||||||
|
margin:0px;
|
||||||
|
padding:3px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QMenu,QMenuBar,QMenu:disabled,QMenuBar:disabled{
|
||||||
|
color:#DCDCDC;
|
||||||
|
background-color:#484848;
|
||||||
|
border:1px solid #242424;
|
||||||
|
margin:0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QMenu::item{
|
||||||
|
padding:3px 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QMenu::indicator{
|
||||||
|
width:20px;
|
||||||
|
height:13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QMenu::indicator::checked{
|
||||||
|
image:url(:/qss/blacksoft/menu_checked.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
QMenu::right-arrow{
|
||||||
|
image:url(:/qss/blacksoft/arrow_right.png);
|
||||||
|
width:13px;
|
||||||
|
height:13px;
|
||||||
|
padding:0px 3px 0px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QMenu::item:selected,QMenuBar::item:selected{
|
||||||
|
color:#DCDCDC;
|
||||||
|
border:0px solid #242424;
|
||||||
|
background:#646464;
|
||||||
|
}
|
||||||
|
|
||||||
|
QMenu::separator{
|
||||||
|
height:1px;
|
||||||
|
background:#242424;
|
||||||
|
}
|
||||||
|
|
||||||
|
QProgressBar{
|
||||||
|
min-height:10px;
|
||||||
|
background:#484848;
|
||||||
|
border-radius:5px;
|
||||||
|
text-align:center;
|
||||||
|
border:1px solid #484848;
|
||||||
|
}
|
||||||
|
|
||||||
|
QProgressBar:chunk{
|
||||||
|
border-radius:5px;
|
||||||
|
background-color:#242424;
|
||||||
|
}
|
||||||
|
|
||||||
|
QSlider::groove:horizontal{
|
||||||
|
height:8px;
|
||||||
|
border-radius:4px;
|
||||||
|
background:#484848;
|
||||||
|
}
|
||||||
|
|
||||||
|
QSlider::add-page:horizontal{
|
||||||
|
height:8px;
|
||||||
|
border-radius:4px;
|
||||||
|
background:#484848;
|
||||||
|
}
|
||||||
|
|
||||||
|
QSlider::sub-page:horizontal{
|
||||||
|
height:8px;
|
||||||
|
border-radius:4px;
|
||||||
|
background:#242424;
|
||||||
|
}
|
||||||
|
|
||||||
|
QSlider::handle:horizontal{
|
||||||
|
width:13px;
|
||||||
|
margin-top:-3px;
|
||||||
|
margin-bottom:-3px;
|
||||||
|
border-radius:6px;
|
||||||
|
background:qradialgradient(spread:pad,cx:0.5,cy:0.5,radius:0.5,fx:0.5,fy:0.5,stop:0.6 #444444,stop:0.8 #242424);
|
||||||
|
}
|
||||||
|
|
||||||
|
QSlider::groove:vertical{
|
||||||
|
width:8px;
|
||||||
|
border-radius:4px;
|
||||||
|
background:#484848;
|
||||||
|
}
|
||||||
|
|
||||||
|
QSlider::add-page:vertical{
|
||||||
|
width:8px;
|
||||||
|
border-radius:4px;
|
||||||
|
background:#242424;
|
||||||
|
}
|
||||||
|
|
||||||
|
QSlider::sub-page:vertical{
|
||||||
|
width:8px;
|
||||||
|
border-radius:4px;
|
||||||
|
background:#484848;
|
||||||
|
}
|
||||||
|
|
||||||
|
QSlider::handle:vertical{
|
||||||
|
height:14px;
|
||||||
|
margin-left:-3px;
|
||||||
|
margin-right:-3px;
|
||||||
|
border-radius:6px;
|
||||||
|
background:qradialgradient(spread:pad,cx:0.5,cy:0.5,radius:0.5,fx:0.5,fy:0.5,stop:0.6 #444444,stop:0.8 #242424);
|
||||||
|
}
|
||||||
|
|
||||||
|
QScrollBar:horizontal{
|
||||||
|
background:#484848;
|
||||||
|
padding:0px;
|
||||||
|
border-radius:6px;
|
||||||
|
max-height:12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QScrollBar::handle:horizontal{
|
||||||
|
background:#242424;
|
||||||
|
min-width:50px;
|
||||||
|
border-radius:6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QScrollBar::handle:horizontal:hover{
|
||||||
|
background:#AAAAAA;
|
||||||
|
}
|
||||||
|
|
||||||
|
QScrollBar::handle:horizontal:pressed{
|
||||||
|
background:#AAAAAA;
|
||||||
|
}
|
||||||
|
|
||||||
|
QScrollBar::add-page:horizontal{
|
||||||
|
background:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
QScrollBar::sub-page:horizontal{
|
||||||
|
background:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
QScrollBar::add-line:horizontal{
|
||||||
|
background:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
QScrollBar::sub-line:horizontal{
|
||||||
|
background:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
QScrollBar:vertical{
|
||||||
|
background:#484848;
|
||||||
|
padding:0px;
|
||||||
|
border-radius:6px;
|
||||||
|
max-width:12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QScrollBar::handle:vertical{
|
||||||
|
background:#242424;
|
||||||
|
min-height:50px;
|
||||||
|
border-radius:6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QScrollBar::handle:vertical:hover{
|
||||||
|
background:#AAAAAA;
|
||||||
|
}
|
||||||
|
|
||||||
|
QScrollBar::handle:vertical:pressed{
|
||||||
|
background:#AAAAAA;
|
||||||
|
}
|
||||||
|
|
||||||
|
QScrollBar::add-page:vertical{
|
||||||
|
background:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
QScrollBar::sub-page:vertical{
|
||||||
|
background:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
QScrollBar::add-line:vertical{
|
||||||
|
background:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
QScrollBar::sub-line:vertical{
|
||||||
|
background:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
QScrollArea{
|
||||||
|
border:0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTreeView,QListView,QTableView,QTabWidget::pane{
|
||||||
|
border:1px solid #242424;
|
||||||
|
selection-background-color:#646464;
|
||||||
|
selection-color:#DCDCDC;
|
||||||
|
alternate-background-color:#525252;
|
||||||
|
gridline-color:#242424;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTreeView::branch:closed:has-children{
|
||||||
|
margin:4px;
|
||||||
|
border-image:url(:/qss/blacksoft/branch_open.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
QTreeView::branch:open:has-children{
|
||||||
|
margin:4px;
|
||||||
|
border-image:url(:/qss/blacksoft/branch_close.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
QTreeView,QListView,QTableView,QSplitter::handle,QTreeView::branch{
|
||||||
|
background:#444444;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTableView::item:selected,QListView::item:selected,QTreeView::item:selected{
|
||||||
|
color:#DCDCDC;
|
||||||
|
background:#383838;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTableView::item:hover,QListView::item:hover,QTreeView::item:hover,QHeaderView,QHeaderView::section,QTableCornerButton:section{
|
||||||
|
color:#DCDCDC;
|
||||||
|
background:#525252;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTableView::item,QListView::item,QTreeView::item{
|
||||||
|
padding:1px;
|
||||||
|
margin:0px;
|
||||||
|
border:0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QHeaderView::section,QTableCornerButton:section{
|
||||||
|
padding:3px;
|
||||||
|
margin:0px;
|
||||||
|
border:1px solid #242424;
|
||||||
|
border-left-width:0px;
|
||||||
|
border-right-width:1px;
|
||||||
|
border-top-width:0px;
|
||||||
|
border-bottom-width:1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTabBar::tab{
|
||||||
|
border:1px solid #242424;
|
||||||
|
color:#DCDCDC;
|
||||||
|
margin:0px;
|
||||||
|
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #646464,stop:1 #525252);
|
||||||
|
}
|
||||||
|
|
||||||
|
QTabBar::tab:selected{
|
||||||
|
border-style:solid;
|
||||||
|
border-color:#AAAAAA;
|
||||||
|
background:#444444;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTabBar::tab:top,QTabBar::tab:bottom{
|
||||||
|
padding:3px 8px 3px 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTabBar::tab:left,QTabBar::tab:right{
|
||||||
|
padding:8px 3px 8px 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTabBar::tab:top:selected{
|
||||||
|
border-width:2px 0px 0px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTabBar::tab:right:selected{
|
||||||
|
border-width:0px 0px 0px 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTabBar::tab:bottom:selected{
|
||||||
|
border-width:0px 0px 2px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTabBar::tab:left:selected{
|
||||||
|
border-width:0px 2px 0px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTabBar::tab:first:top:selected,QTabBar::tab:first:bottom:selected{
|
||||||
|
border-left-width:1px;
|
||||||
|
border-left-color:#242424;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTabBar::tab:first:left:selected,QTabBar::tab:first:right:selected{
|
||||||
|
border-top-width:1px;
|
||||||
|
border-top-color:#242424;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTabBar::tab:last:top:selected,QTabBar::tab:last:bottom:selected{
|
||||||
|
border-right-width:1px;
|
||||||
|
border-right-color:#242424;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTabBar::tab:last:left:selected,QTabBar::tab:last:right:selected{
|
||||||
|
border-bottom-width:1px;
|
||||||
|
border-bottom-color:#242424;
|
||||||
|
}
|
||||||
|
|
||||||
|
QStatusBar::item{
|
||||||
|
border:0px solid #484848;
|
||||||
|
border-radius:3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QToolBox::tab,QWidget[form="panel"]{
|
||||||
|
padding:3px;
|
||||||
|
border-radius:5px;
|
||||||
|
color:#DCDCDC;
|
||||||
|
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838);
|
||||||
|
}
|
||||||
|
|
||||||
|
QWidget[flag="paneltitle"]{
|
||||||
|
border-bottom-left-radius:0px;
|
||||||
|
border-bottom-right-radius:0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QWidget[flag="panelcontrol"]{
|
||||||
|
border-top-width:0px;
|
||||||
|
border-top-left-radius:0px;
|
||||||
|
border-top-right-radius:0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QToolTip{
|
||||||
|
border:0px solid #DCDCDC;
|
||||||
|
padding:1px;
|
||||||
|
color:#DCDCDC;
|
||||||
|
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838);
|
||||||
|
}
|
||||||
|
|
||||||
|
QToolBox::tab:selected{
|
||||||
|
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #646464,stop:1 #525252);
|
||||||
|
}
|
||||||
|
|
||||||
|
QPrintPreviewDialog QToolButton{
|
||||||
|
border:0px solid #DCDCDC;
|
||||||
|
border-radius:0px;
|
||||||
|
margin:0px;
|
||||||
|
padding:3px;
|
||||||
|
background:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
QColorDialog QPushButton,QFileDialog QPushButton{
|
||||||
|
min-width:80px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QToolButton#qt_calendar_prevmonth{
|
||||||
|
icon-size:0px;
|
||||||
|
min-width:20px;
|
||||||
|
image:url(:/qss/blacksoft/calendar_prevmonth.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
QToolButton#qt_calendar_nextmonth{
|
||||||
|
icon-size:0px;
|
||||||
|
min-width:20px;
|
||||||
|
image:url(:/qss/blacksoft/calendar_nextmonth.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
QToolButton#qt_calendar_prevmonth,QToolButton#qt_calendar_nextmonth,QToolButton#qt_calendar_monthbutton,QToolButton#qt_calendar_yearbutton{
|
||||||
|
border:0px solid #DCDCDC;
|
||||||
|
border-radius:3px;
|
||||||
|
margin:3px 3px 3px 3px;
|
||||||
|
padding:3px;
|
||||||
|
background:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
QToolButton#qt_calendar_prevmonth:hover,QToolButton#qt_calendar_nextmonth:hover,QToolButton#qt_calendar_monthbutton:hover,QToolButton#qt_calendar_yearbutton:hover,QToolButton#qt_calendar_prevmonth:pressed,QToolButton#qt_calendar_nextmonth:pressed,QToolButton#qt_calendar_monthbutton:pressed,QToolButton#qt_calendar_yearbutton:pressed{
|
||||||
|
border:1px solid #242424;
|
||||||
|
}
|
||||||
|
|
||||||
|
QCalendarWidget QSpinBox#qt_calendar_yearedit{
|
||||||
|
margin:2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QCalendarWidget QToolButton::menu-indicator{
|
||||||
|
image:None;
|
||||||
|
}
|
||||||
|
|
||||||
|
QCalendarWidget QTableView{
|
||||||
|
border-width:0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QCalendarWidget QWidget#qt_calendar_navigationbar{
|
||||||
|
border:1px solid #242424;
|
||||||
|
border-width:1px 1px 0px 1px;
|
||||||
|
background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838);
|
||||||
|
}
|
||||||
|
|
||||||
|
QTableView[model="true"]::item{
|
||||||
|
padding:0px;
|
||||||
|
margin:0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTableView QLineEdit,QTableView QComboBox,QTableView QSpinBox,QTableView QDoubleSpinBox,QTableView QDateEdit,QTableView QTimeEdit,QTableView QDateTimeEdit{
|
||||||
|
border-width:0px;
|
||||||
|
border-radius:0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTableView QLineEdit:focus,QTableView QComboBox:focus,QTableView QSpinBox:focus,QTableView QDoubleSpinBox:focus,QTableView QDateEdit:focus,QTableView QTimeEdit:focus,QTableView QDateTimeEdit:focus{
|
||||||
|
border-width:0px;
|
||||||
|
border-radius:0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QLineEdit,QTextEdit,QPlainTextEdit,QSpinBox,QDoubleSpinBox,QComboBox,QDateEdit,QTimeEdit,QDateTimeEdit{
|
||||||
|
background:#444444;
|
||||||
|
}
|
||||||
|
|
||||||
|
QTabWidget::pane:top{top:-1px;}
|
||||||
|
QTabWidget::pane:bottom{bottom:-1px;}
|
||||||
|
QTabWidget::pane:left{right:-1px;}
|
||||||
|
QTabWidget::pane:right{left:-1px;}
|
||||||
|
|
||||||
|
QDialog,QDial,#QUIWidgetMain{
|
||||||
|
background-color:#444444;
|
||||||
|
color:#DCDCDC;
|
||||||
|
}
|
||||||
|
|
||||||
|
QDialogButtonBox>QPushButton{
|
||||||
|
min-width:50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QListView[noborder="true"],QTreeView[noborder="true"],QTabWidget[noborder="true"]::pane{
|
||||||
|
border-width:0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QToolBar>*,QStatusBar>*{
|
||||||
|
margin:2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
*:disabled,QMenu::item:disabled,QTabBar:tab:disabled,QHeaderView::section:disabled{
|
||||||
|
background:#444444;
|
||||||
|
border-color:#484848;
|
||||||
|
color:#242424;
|
||||||
|
}
|
||||||
|
|
||||||
|
QLabel:disabled{
|
||||||
|
background:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*TextColor:#DCDCDC*/
|
||||||
|
/*PanelColor:#444444*/
|
||||||
|
/*BorderColor:#242424*/
|
||||||
|
/*NormalColorStart:#484848*/
|
||||||
|
/*NormalColorEnd:#383838*/
|
||||||
|
/*DarkColorStart:#646464*/
|
||||||
|
/*DarkColorEnd:#525252*/
|
||||||
|
/*HighColor:#AAAAAA*/
|
||||||
|
After Width: | Height: | Size: 335 B |
|
After Width: | Height: | Size: 377 B |
|
After Width: | Height: | Size: 352 B |
|
After Width: | Height: | Size: 348 B |
|
After Width: | Height: | Size: 335 B |
|
After Width: | Height: | Size: 370 B |
|
After Width: | Height: | Size: 354 B |
|
After Width: | Height: | Size: 349 B |
|
After Width: | Height: | Size: 257 B |
|
After Width: | Height: | Size: 445 B |
|
After Width: | Height: | Size: 623 B |
|
After Width: | Height: | Size: 667 B |
|
After Width: | Height: | Size: 593 B |
|
After Width: | Height: | Size: 656 B |
|
After Width: | Height: | Size: 326 B |
|
After Width: | Height: | Size: 333 B |
|
After Width: | Height: | Size: 572 B |
|
After Width: | Height: | Size: 624 B |
|
After Width: | Height: | Size: 501 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
@ -0,0 +1,17 @@
|
|||||||
|
QT += core gui
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 5): QT += core5compat
|
||||||
|
|
||||||
|
TARGET = flatui
|
||||||
|
TEMPLATE = app
|
||||||
|
DESTDIR = $$PWD/../bin
|
||||||
|
CONFIG += warn_off
|
||||||
|
|
||||||
|
SOURCES += main.cpp
|
||||||
|
SOURCES += frmflatui.cpp
|
||||||
|
SOURCES += flatui.cpp
|
||||||
|
|
||||||
|
HEADERS += frmflatui.h
|
||||||
|
HEADERS += flatui.h
|
||||||
|
|
||||||
|
FORMS += frmflatui.ui
|
||||||
@ -0,0 +1,203 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ui version="4.0">
|
||||||
|
<class>frmFlatUI</class>
|
||||||
|
<widget class="QWidget" name="frmFlatUI">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>800</width>
|
||||||
|
<height>600</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>Form</string>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true"/>
|
||||||
|
</property>
|
||||||
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
|
<item row="7" column="0">
|
||||||
|
<widget class="QRadioButton" name="rbtn1">
|
||||||
|
<property name="text">
|
||||||
|
<string>语文</string>
|
||||||
|
</property>
|
||||||
|
<property name="checked">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="2">
|
||||||
|
<widget class="QPushButton" name="btn3">
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true"/>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>测试按钮</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="2">
|
||||||
|
<widget class="QLineEdit" name="txt3"/>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="1">
|
||||||
|
<widget class="QPushButton" name="btn2">
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true"/>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>测试按钮</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="4" rowspan="9">
|
||||||
|
<widget class="QSlider" name="slider3">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property name="invertedControls">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="tickPosition">
|
||||||
|
<enum>QSlider::NoTicks</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="7" column="1">
|
||||||
|
<widget class="QRadioButton" name="rbtn2">
|
||||||
|
<property name="text">
|
||||||
|
<string>英语</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="2" colspan="2">
|
||||||
|
<widget class="QProgressBar" name="bar2">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>16</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="value">
|
||||||
|
<number>24</number>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="5" column="0" colspan="4">
|
||||||
|
<widget class="QScrollBar" name="horizontalScrollBar">
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true"/>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="7" column="3">
|
||||||
|
<widget class="QRadioButton" name="rbtn4">
|
||||||
|
<property name="text">
|
||||||
|
<string>历史</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="7" column="2">
|
||||||
|
<widget class="QRadioButton" name="rbtn3">
|
||||||
|
<property name="text">
|
||||||
|
<string>数学</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="3">
|
||||||
|
<widget class="QPushButton" name="btn4">
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true"/>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>测试按钮</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="1">
|
||||||
|
<widget class="QLineEdit" name="txt2"/>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="3">
|
||||||
|
<widget class="QLineEdit" name="txt4"/>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="0">
|
||||||
|
<widget class="QPushButton" name="btn1">
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true"/>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>测试按钮</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="0">
|
||||||
|
<widget class="QLineEdit" name="txt1"/>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="0" colspan="2">
|
||||||
|
<widget class="QProgressBar" name="bar1">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>16</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="value">
|
||||||
|
<number>24</number>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="5" rowspan="9">
|
||||||
|
<widget class="QScrollBar" name="verticalScrollBar">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="3" column="0" colspan="2">
|
||||||
|
<widget class="QSlider" name="slider1">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="3" column="2" colspan="2">
|
||||||
|
<widget class="QSlider" name="slider2">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximum">
|
||||||
|
<number>255</number>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="9" column="0" colspan="6">
|
||||||
|
<widget class="QTableWidget" name="tableWidget">
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true"/>
|
||||||
|
</property>
|
||||||
|
<property name="gridStyle">
|
||||||
|
<enum>Qt::DashDotLine</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
<layoutdefault spacing="6" margin="11"/>
|
||||||
|
<resources/>
|
||||||
|
<connections/>
|
||||||
|
</ui>
|
||||||
@ -0,0 +1,963 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ui version="4.0">
|
||||||
|
<class>frmIconHelper</class>
|
||||||
|
<widget class="QWidget" name="frmIconHelper">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>800</width>
|
||||||
|
<height>600</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>Dialog</string>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
||||||
|
<property name="leftMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
|
<widget class="QTabWidget" name="tabWidget">
|
||||||
|
<property name="currentIndex">
|
||||||
|
<number>1</number>
|
||||||
|
</property>
|
||||||
|
<widget class="QWidget" name="tabNav">
|
||||||
|
<attribute name="title">
|
||||||
|
<string>使用示例</string>
|
||||||
|
</attribute>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
||||||
|
<item>
|
||||||
|
<widget class="QWidget" name="widget" native="true">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
|
<property name="leftMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<item row="0" column="0">
|
||||||
|
<widget class="QWidget" name="widget1" native="true">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>120</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>120</width>
|
||||||
|
<height>16777215</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
|
<property name="spacing">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="leftMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn11">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>访客登记</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn12">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>记录查询</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn13">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>系统设置</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn14">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>系统重启</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="verticalSpacer1">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>366</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="1">
|
||||||
|
<widget class="QWidget" name="widget2" native="true">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>120</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>120</width>
|
||||||
|
<height>16777215</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||||
|
<property name="spacing">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="leftMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn21">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>访客登记</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn22">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>记录查询</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn23">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>系统设置</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn24">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>系统重启</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="verticalSpacer2">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>366</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="2">
|
||||||
|
<widget class="QWidget" name="widget3" native="true">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>120</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>120</width>
|
||||||
|
<height>16777215</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||||
|
<property name="spacing">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="leftMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn31">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>访客登记</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn32">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>记录查询</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn33">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>系统设置</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn34">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>系统重启</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="verticalSpacer3">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>366</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="3">
|
||||||
|
<widget class="QWidget" name="widget4" native="true">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>120</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>120</width>
|
||||||
|
<height>16777215</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
||||||
|
<property name="spacing">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="leftMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn41">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>访客登记</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn42">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>记录查询</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn43">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>系统设置</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn44">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>系统重启</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="verticalSpacer4">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>366</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="4">
|
||||||
|
<spacer name="horizontalSpacer">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>261</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="0">
|
||||||
|
<widget class="QLabel" name="labInfo1">
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::Box</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>QFrame::Sunken</enum>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="1">
|
||||||
|
<widget class="QLabel" name="labInfo2">
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::Box</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>QFrame::Sunken</enum>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="2">
|
||||||
|
<widget class="QLabel" name="labInfo3">
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::Box</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>QFrame::Sunken</enum>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="3">
|
||||||
|
<widget class="QLabel" name="labInfo4">
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::Box</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>QFrame::Sunken</enum>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QWidget" name="widget5" native="true">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>75</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>16777215</width>
|
||||||
|
<height>75</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
|
<property name="spacing">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="leftMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn51">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>访客登记</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn52">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>记录查询</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn53">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>系统设置</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn54">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>系统重启</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer1">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>413</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QWidget" name="widget6" native="true">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>75</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>16777215</width>
|
||||||
|
<height>75</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||||
|
<property name="spacing">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="leftMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer2">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>413</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn61">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>访客登记</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn62">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>记录查询</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn63">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>系统设置</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btn64">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>系统重启</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget" name="tabFont">
|
||||||
|
<attribute name="title">
|
||||||
|
<string>图形字体</string>
|
||||||
|
</attribute>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||||
|
<item>
|
||||||
|
<widget class="PanelWidget" name="widgetFontPanel" native="true">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QWidget" name="widgetRight" native="true">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>130</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
||||||
|
<property name="leftMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
|
<widget class="QRadioButton" name="rbtnFontAwesome">
|
||||||
|
<property name="text">
|
||||||
|
<string>FontAwesome</string>
|
||||||
|
</property>
|
||||||
|
<property name="checked">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QRadioButton" name="rbtnFontAwesome6">
|
||||||
|
<property name="text">
|
||||||
|
<string>FontAwesome6</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QRadioButton" name="rbtnFontAliBaBa">
|
||||||
|
<property name="text">
|
||||||
|
<string>FontAliBaBa</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QRadioButton" name="rbtnFontWeather">
|
||||||
|
<property name="text">
|
||||||
|
<string>FontWeather</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="labCount">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>35</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::Box</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>QFrame::Sunken</enum>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="labValue">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>35</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::Box</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>QFrame::Sunken</enum>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string/>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="labIcon">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>70</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::Box</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>QFrame::Sunken</enum>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>标签文字</string>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="labImage">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>70</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::Box</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>QFrame::Sunken</enum>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>标签图片</string>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="btnIcon">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>70</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>按钮文字</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QToolButton" name="btnImage">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>70</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>按钮图标</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="btnTest1">
|
||||||
|
<property name="text">
|
||||||
|
<string>测试图标</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="btnTest2">
|
||||||
|
<property name="text">
|
||||||
|
<string>测试图标</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="verticalSpacer">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>105</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
<customwidgets>
|
||||||
|
<customwidget>
|
||||||
|
<class>PanelWidget</class>
|
||||||
|
<extends>QWidget</extends>
|
||||||
|
<header location="global">panelwidget.h</header>
|
||||||
|
<container>1</container>
|
||||||
|
</customwidget>
|
||||||
|
</customwidgets>
|
||||||
|
<resources/>
|
||||||
|
<connections/>
|
||||||
|
</ui>
|
||||||
@ -0,0 +1,23 @@
|
|||||||
|
QT += core gui
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 5): QT += core5compat
|
||||||
|
|
||||||
|
TARGET = iconhelper
|
||||||
|
TEMPLATE = app
|
||||||
|
DESTDIR = $$PWD/../bin
|
||||||
|
CONFIG += warn_off
|
||||||
|
|
||||||
|
SOURCES += main.cpp
|
||||||
|
|
||||||
|
SOURCES += frmiconhelper.cpp
|
||||||
|
SOURCES += iconhelper.cpp
|
||||||
|
SOURCES += panelwidget.cpp
|
||||||
|
|
||||||
|
HEADERS += frmiconhelper.h
|
||||||
|
HEADERS += iconhelper.h
|
||||||
|
HEADERS += panelwidget.h
|
||||||
|
|
||||||
|
FORMS += frmiconhelper.ui
|
||||||
|
|
||||||
|
INCLUDEPATH += $$PWD
|
||||||
|
RESOURCES += main.qrc
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
<RCC>
|
||||||
|
<qresource prefix="/">
|
||||||
|
<file>font/fontawesome-webfont.ttf</file>
|
||||||
|
<file>font/iconfont.ttf</file>
|
||||||
|
<file>font/pe-icon-set-weather.ttf</file>
|
||||||
|
<file>font/fa-regular-400.ttf</file>
|
||||||
|
</qresource>
|
||||||
|
</RCC>
|
||||||
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 968 KiB |