diff --git a/Classes/DisplayPic.cpp b/Classes/DisplayPic.cpp
index 41a14b0..fe0f998 100644
--- a/Classes/DisplayPic.cpp
+++ b/Classes/DisplayPic.cpp
@@ -6,7 +6,7 @@ DisplayPic::DisplayPic(QWidget *parent)
ui.setupUi(this);
// qss
- QFile file("Resources/qss/lightblue.qss");
+ QFile file(":/qss/qss/aqua.qss");
file.open(QFile::ReadOnly);
QTextStream filetext(&file);
QString stylesheet = filetext.readAll();
diff --git a/Classes/Loading.cpp b/Classes/Loading.cpp
index 2d161e8..83c2210 100644
--- a/Classes/Loading.cpp
+++ b/Classes/Loading.cpp
@@ -5,7 +5,7 @@ Loading::Loading(QWidget *parent)
{
// qss
ui.setupUi(this);
- QFile file("Resources/qss/aqua.qss");
+ QFile file(":/qss/qss/aqua.qss");
file.open(QFile::ReadOnly);
QTextStream filetext(&file);
QString stylesheet = filetext.readAll();
diff --git a/Classes/Reconstruction.cpp b/Classes/Reconstruction.cpp
index 7b35c66..e069523 100644
--- a/Classes/Reconstruction.cpp
+++ b/Classes/Reconstruction.cpp
@@ -14,28 +14,56 @@ void Reconstruction::setStyle()
ui.centralWidget->setGeometry(0, 40, 1110, 400);
ui.centralWidget->show();
+ // qss
+ QFile file(":/qss/qss/flat.qss");
+ file.open(QFile::ReadOnly);
+ QTextStream filetext(&file);
+ QString stylesheet = filetext.readAll();
+ this->setStyleSheet(stylesheet);
+ file.close();
+
QPalette palette1;
palette1.setColor(QPalette::Background, qRgba(44, 46, 70, 100));
ui.widget->setPalette(palette1);
- QPalette palette2;
- palette2.setColor(QPalette::Background, Qt::white);
- ui.stackedWidget->setPalette(palette2);
+ // QPa/*lette palette2;
+ // palette2.setColor(QPalette::Background, Qt::white);
+ // ui.stackedWidget->setPalette(palette2);
ui.stackedWidget->setCurrentIndex(0);
-
+ setPicStyle();
+ setButtonStyle();
+}
+void Reconstruction::setPicStyle()
+{
+ ui.label_11->setPixmap(QPixmap(":/icon/image/calibration/novideo.png"));
+ ui.label_21->setPixmap(QPixmap(":/icon/image/projection/novideo.jpg"));
+}
+void Reconstruction::setButtonStyle()
+{
QString buttonStyle = "QPushButton{background-color:white;color: black;}"
"QPushButton:hover{background-color:#cceeff; color: black;}"
"QPushButton:pressed{background-color:rgb(85, 170, 255);border - style: inset; }";
ui.pushButton->setStyleSheet(buttonStyle);
ui.pushButton_2->setStyleSheet(buttonStyle);
ui.pushButton_3->setStyleSheet(buttonStyle);
+ // 给Button添加图标
+ ui.pushButton->setIcon(QIcon(":/icon/image/common/camera.png"));
+ ui.pushButton_2->setIcon(QIcon(":/icon/image/common/projection.png"));
+ ui.pushButton_3->setIcon(QIcon(":/icon/image/common/3D.png"));
- // qss
- QFile file("Resources/qss/flat.qss");
- file.open(QFile::ReadOnly);
- QTextStream filetext(&file);
- QString stylesheet = filetext.readAll();
- this->setStyleSheet(stylesheet);
- file.close();
+ // 相机标定界面
+ ui.pushButton_5->setIcon(QIcon(":/icon/image/calibration/pics.png"));
+ ui.pushButton_6->setIcon(QIcon(":/icon/image/calibration/camera.png"));
+ ui.pushButton_7->setIcon(QIcon(":/icon/image/calibration/cal.png"));
+ ui.pushButton_8->setIcon(QIcon(":/icon/image/calibration/save.png"));
+
+ // 图案投影界面
+ ui.pushButton_4->setIcon(QIcon(":/icon/image/projection/file.png"));
+
+ // 三维重建界面
+ ui.pushButton_13->setIcon(QIcon(":/icon/image/reconstruction/import.png"));
+ ui.pushButton_14->setIcon(QIcon(":/icon/image/reconstruction/export.png"));
+ ui.pushButton_15->setIcon(QIcon(":/icon/image/reconstruction/save2.png"));
+ ui.pushButton_16->setIcon(QIcon(":/icon/image/reconstruction/color.png"));
}
diff --git a/Classes/Reconstruction.h b/Classes/Reconstruction.h
index 87eeb90..3068fd8 100644
--- a/Classes/Reconstruction.h
+++ b/Classes/Reconstruction.h
@@ -24,6 +24,8 @@ private:
bool confirmPic = false; // 图案投影:确定是否用所拍照片进行重建
QColor color = Qt::black; // 三维重建:颜色
void setStyle();
+ void setPicStyle();
+ void setButtonStyle();
private slots:
void on_pushButton_clicked();
diff --git a/Resources/Reconstruction.qrc b/Resources/Reconstruction.qrc
index 196c380..d15f170 100644
--- a/Resources/Reconstruction.qrc
+++ b/Resources/Reconstruction.qrc
@@ -1,8 +1,26 @@
-
- qss/darkblue.qss
- qss/lightblue.qss
- qss/lightindigo.qss
+
+
+ image/common/3D.png
+ image/common/camera.png
+ image/projection/file.png
+ image/calibration/cal.png
+ image/calibration/camera.png
+ image/calibration/pics.png
+ image/calibration/save.png
+ image/common/projection.png
+ image/reconstruction/color.png
+ image/reconstruction/export.png
+ image/reconstruction/import.png
+ image/reconstruction/save2.png
+ image/calibration/novideo.png
+ image/projection/novideo.jpg
+
+
+ qss/flat.qss
+ qss/Devsion.qss
qss/aqua.qss
+ qss/Hookmark.qss
+ qss/Geoo.qss
diff --git a/Resources/image/calibration/cal.png b/Resources/image/calibration/cal.png
new file mode 100644
index 0000000..d1874ae
Binary files /dev/null and b/Resources/image/calibration/cal.png differ
diff --git a/Resources/image/calibration/camera.png b/Resources/image/calibration/camera.png
new file mode 100644
index 0000000..a88f7bd
Binary files /dev/null and b/Resources/image/calibration/camera.png differ
diff --git a/Resources/image/calibration/novideo.png b/Resources/image/calibration/novideo.png
new file mode 100644
index 0000000..05a7704
Binary files /dev/null and b/Resources/image/calibration/novideo.png differ
diff --git a/Resources/image/calibration/pics.png b/Resources/image/calibration/pics.png
new file mode 100644
index 0000000..1116098
Binary files /dev/null and b/Resources/image/calibration/pics.png differ
diff --git a/Resources/image/calibration/save.png b/Resources/image/calibration/save.png
new file mode 100644
index 0000000..765a5d7
Binary files /dev/null and b/Resources/image/calibration/save.png differ
diff --git a/Resources/image/common/3D.png b/Resources/image/common/3D.png
new file mode 100644
index 0000000..febd37c
Binary files /dev/null and b/Resources/image/common/3D.png differ
diff --git a/Resources/image/common/camera.png b/Resources/image/common/camera.png
new file mode 100644
index 0000000..a88f7bd
Binary files /dev/null and b/Resources/image/common/camera.png differ
diff --git a/Resources/image/common/projection.png b/Resources/image/common/projection.png
new file mode 100644
index 0000000..2fc6a60
Binary files /dev/null and b/Resources/image/common/projection.png differ
diff --git a/Resources/image/common/projection_alt.png b/Resources/image/common/projection_alt.png
new file mode 100644
index 0000000..d673863
Binary files /dev/null and b/Resources/image/common/projection_alt.png differ
diff --git a/Resources/image/projection/file.png b/Resources/image/projection/file.png
new file mode 100644
index 0000000..f41455d
Binary files /dev/null and b/Resources/image/projection/file.png differ
diff --git a/Resources/image/projection/novideo.jpg b/Resources/image/projection/novideo.jpg
new file mode 100644
index 0000000..69a9c61
Binary files /dev/null and b/Resources/image/projection/novideo.jpg differ
diff --git a/Resources/image/reconstruction/color.png b/Resources/image/reconstruction/color.png
new file mode 100644
index 0000000..2353958
Binary files /dev/null and b/Resources/image/reconstruction/color.png differ
diff --git a/Resources/image/reconstruction/color_alt.png b/Resources/image/reconstruction/color_alt.png
new file mode 100644
index 0000000..4d4c6ae
Binary files /dev/null and b/Resources/image/reconstruction/color_alt.png differ
diff --git a/Resources/image/reconstruction/export.png b/Resources/image/reconstruction/export.png
new file mode 100644
index 0000000..63608ce
Binary files /dev/null and b/Resources/image/reconstruction/export.png differ
diff --git a/Resources/image/reconstruction/import.png b/Resources/image/reconstruction/import.png
new file mode 100644
index 0000000..4bf127e
Binary files /dev/null and b/Resources/image/reconstruction/import.png differ
diff --git a/Resources/image/reconstruction/save2.png b/Resources/image/reconstruction/save2.png
new file mode 100644
index 0000000..4d92f0a
Binary files /dev/null and b/Resources/image/reconstruction/save2.png differ
diff --git a/Resources/qss/Devsion.qss b/Resources/qss/Devsion.qss
new file mode 100644
index 0000000..61ed33f
--- /dev/null
+++ b/Resources/qss/Devsion.qss
@@ -0,0 +1,204 @@
+/*Copyright (c) DevSec Studio. All rights reserved.
+
+MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+*/
+
+/*-----QWidget-----*/
+QWidget
+{
+ background-color: #00111d;
+ color: #000000;
+ border-color: #000000;
+
+}
+
+
+/*-----QLabel-----*/
+QLabel
+{
+ background-color: #00111d;
+ color: #717e87;
+ border-color: #000000;
+
+}
+
+
+/*-----QPushButton-----*/
+QPushButton
+{
+ background-color: #3de6af;
+ color: #000000;
+ border-style: solid;
+ border-color: #000000;
+ font-weight : bold;
+ padding: 13px;
+
+}
+
+
+QPushButton::hover
+{
+ background-color: #3dffaf;
+ color: #000000;
+ border-style: solid;
+ border-color: #000000;
+ font-weight : bold;
+ padding: 13px;
+
+}
+
+
+QPushButton::pressed
+{
+ background-color: #3dc8af;
+ color: #000000;
+ border-style: solid;
+ border-color: #000000;
+ font-weight : bold;
+ padding: 13px;
+
+}
+
+
+/*-----QToolButton-----*/
+QToolButton
+{
+ background-color: #00111d;
+ color: #000000;
+ border-style: solid;
+ border-color: #000000;
+ padding: 5px;
+
+}
+
+
+QToolButton::hover
+{
+ background-color: #00111d;
+ color: #000000;
+ border-style: solid;
+ border-width: 1px;
+ border-color: #01dcff;
+
+}
+
+
+QToolButton::pressed
+{
+ background-color: #01dcff;
+ color: #000000;
+ border-style: solid;
+ border-width: 1px;
+ border-color: #01dcff;
+
+}
+
+
+/*-----QLineEdit-----*/
+QLineEdit
+{
+ background-color: #082336;
+ color: #3e93ff;
+ border-style: solid;
+ border-width: 2px;
+ border-color: #1e4b6d;
+ padding: 10px;
+
+}
+
+
+QLineEdit::hover
+{
+ background-color: #082336;
+ color: #3e93ca;
+ border-style: solid;
+ border-width: 2px;
+ border-color: #01dcff;
+ padding: 10px;
+
+}
+
+
+QLineEdit::focus
+{
+
+ color: #3e93ca;
+ border-style: solid;
+ border-width: 2px;
+ border-color: #01dcff;
+ padding: 10px;
+
+}
+
+
+/*-----QCheckBox-----*/
+QCheckBox
+{
+ background-color: transparent;
+ color: #717e87;
+ border-color: #000000;
+
+}
+
+
+QCheckBox::indicator
+{
+ color: #b1b1b1;
+ background-color: #00111d;
+ border: 1px solid #2aaaa8;
+ width: 12px;
+ height: 12px;
+
+}
+
+
+QCheckBox::indicator:checked
+{
+ image:url("./ressources/check.png"); /*To replace*/
+ background-color: #1f2b2b;
+ border: 1px solid #2aaaa8;
+
+}
+
+
+QCheckBox::indicator:unchecked:hover
+{
+ border: 1px solid #2aaaa8;
+
+}
+
+
+QCheckBox::disabled
+{
+ color: #656565;
+
+}
+
+
+QCheckBox::indicator:disabled
+{
+ background-color: #656565;
+ color: #656565;
+ border: 1px solid #656565;
+
+}
+
+
+
diff --git a/Resources/qss/Geoo.qss b/Resources/qss/Geoo.qss
new file mode 100644
index 0000000..3dc19fd
--- /dev/null
+++ b/Resources/qss/Geoo.qss
@@ -0,0 +1,244 @@
+/*Copyright (c) DevSec Studio. All rights reserved.
+
+MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+*/
+
+/*-----QWidget-----*/
+QWidget
+{
+ color: #aaa;
+ background-color: #323232;
+
+}
+
+
+/*-----QLabel-----*/
+QLabel
+{
+ background-color: transparent;
+ color: #fff;
+
+}
+
+
+/*-----QMenuBar-----*/
+QMenuBar
+{
+ background-color: #323232;
+
+}
+
+
+QMenuBar::item
+{
+ background: transparent;
+
+}
+
+
+QMenuBar::item:selected
+{
+ background: #444;
+
+}
+
+
+QMenuBar::item:pressed
+{
+ border: 1px solid #000;
+ background-color: #444;
+ margin-bottom:-1px;
+ padding-bottom:1px;
+
+}
+
+
+/*-----QMenu-----*/
+QMenu
+{
+ background-color: #444;
+ border: 1px solid #222;
+ padding: 4px;
+ padding-right: 0px;
+
+}
+
+
+QMenu::item
+{
+ background-color: transparent;
+ padding: 2px 20px 2px 20px;
+
+}
+
+
+QMenu::item:disabled
+{
+ color: #555;
+ background-color: transparent;
+ padding: 2px 20px 2px 20px;
+
+}
+
+
+QMenu::item:selected
+{
+ background-color: #55aaff;
+ color: #fff;
+
+}
+
+
+/*-----QToolTip-----*/
+QToolTip
+{
+ border: 1px solid #222;
+ background-color: #333;
+ color: #aaa;
+
+}
+
+
+/*-----QToolButton-----*/
+QToolButton
+{
+ color: #b1b1b1;
+ background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #565656, stop: 0.1 #525252, stop: 0.5 #4e4e4e, stop: 0.9 #4a4a4a, stop: 1 #464646);
+ border-width: 1px;
+ border-color: #1e1e1e;
+ border-style: solid;
+ margin-right: 2px;
+ padding: 3px;
+
+}
+
+
+QToolButton:pressed
+{
+ background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #2d2d2d, stop: 0.1 #2b2b2b, stop: 0.5 #292929, stop: 0.9 #282828, stop: 1 #252525);
+
+}
+
+
+QToolButton:checked
+{
+ background-color: gray;
+
+}
+
+/*-----QLineEdit-----*/
+QLineEdit{
+ background-color: #fff;
+ color: #000;
+ selection-color: #fff;
+ selection-background-color: #507098;
+
+}
+
+
+/*-----QTreeView-----*/
+QTreeView
+{
+ background-color: #434343;
+ border: 0.5px solid rgba(108,108,108,75);
+
+}
+
+
+QTreeView::item,
+QTreeView::branch
+{
+ background: transparent;
+ color: #DDD;
+
+}
+
+
+QTreeView::item:hover,
+QTreeView::branch:hover
+{
+ background-color: #55aaff;
+ color: #DDD;
+
+}
+
+
+QTreeView::item:selected,
+QTreeView::branch:selected
+{
+ background-color: #55aaff;
+ color: #fff;
+
+}
+
+
+/*-----QScrollBar-----*/
+QScrollBar:horizontal
+{
+ background-color: #333;
+ height: 8px;
+ margin: 0px;
+ padding: 0px;
+
+}
+
+
+QScrollBar::handle:horizontal
+{
+ border: 1px solid #111;
+ background-color: #535353;
+
+}
+
+
+QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal,
+QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal
+{
+ width: 0px;
+ background-color: transparent;
+
+}
+
+
+QScrollBar:vertical
+{
+ background-color: #333;
+ width: 8px;
+ margin: 0;
+
+}
+
+
+QScrollBar::handle:vertical
+{
+ border: 1px solid #111;
+ background-color: #535353;
+
+}
+
+
+QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical,
+QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
+{
+ height: 0px;
+ background-color: transparent;
+
+}
+
diff --git a/Resources/qss/Hookmark.qss b/Resources/qss/Hookmark.qss
new file mode 100644
index 0000000..00277c7
--- /dev/null
+++ b/Resources/qss/Hookmark.qss
@@ -0,0 +1,172 @@
+/*Copyright (c) DevSec Studio. All rights reserved.
+
+MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+*/
+
+/*-----QWidget-----*/
+QWidget
+{
+ background-color: #292f45;
+ color: #000000;
+ border-color: #000000;
+
+}
+
+
+/*-----QLabel-----*/
+QLabel
+{
+ background-color: #292f45;
+ color: #b9b9bb;
+ border-color: #000000;
+
+}
+
+
+/*-----QPushButton-----*/
+QPushButton
+{
+ background-color: #f0742f;
+ color: #fff;
+ font-weight: bold;
+ border-style: solid;
+ border-width: 1px;
+ border-radius: 17px;
+ border-color: #f0742f;
+ padding: 10px;
+
+}
+
+
+QPushButton::hover
+{
+ background-color: #fc7c11;
+ color: #fff;
+
+}
+
+
+QPushButton::pressed
+{
+ background-color: #ff6b35;
+ color: #fff;
+
+}
+
+
+/*-----QToolButton-----*/
+QToolButton
+{
+ background-color: #292f45;
+ color: #000000;
+ border-style: solid;
+ border-color: #000000;
+
+}
+
+
+QToolButton::hover
+{
+ background-color: #fc7c11;
+ color: #000000;
+ padding: 2px;
+ border-radius: 15px;
+ border-color: #fc7c11;
+
+}
+
+
+QToolButton::pressed
+{
+ background-color: #fc7c11;
+ color: #000000;
+ border-style: solid;
+ border-width: 2px;
+
+}
+
+
+/*-----QLineEdit-----*/
+QLineEdit{
+ background-color: #292f45;
+ color: #b9b9bb;
+ font-weight: bold;
+ border-style: solid;
+ border-width: 2px;
+ border-top: 0px;
+ border-left: 0px;
+ border-right: 0px;
+ border-color: #b9b9bb;
+ padding: 10px;
+
+}
+
+
+/*-----QCheckBox-----*/
+QCheckBox
+{
+ background-color: transparent;
+ color: #b9b9bb;
+ font-weight: bold;
+
+}
+
+
+QCheckBox::indicator
+{
+ color: #b1b1b1;
+ background-color: #00111d;
+ border: 1px solid #f0742f;
+ width: 12px;
+ height: 12px;
+
+}
+
+
+QCheckBox::indicator:checked
+{
+ image:url("./ressources/check.png"); /*To replace*/
+ background-color: #1f2b2b;
+ border: 1px solid #f0742f;
+
+}
+
+
+QCheckBox::indicator:unchecked:hover
+{
+ border: 1px solid #f0742f;
+
+}
+
+
+QCheckBox::disabled
+{
+ color: #656565;
+
+}
+
+
+QCheckBox::indicator:disabled
+{
+ background-color: #656565;
+ color: #656565;
+ border: 1px solid #656565;
+
+}
diff --git a/Resources/qss/darkblue.qss b/Resources/qss/darkblue.qss
deleted file mode 100644
index 44e5c68..0000000
--- a/Resources/qss/darkblue.qss
+++ /dev/null
@@ -1,343 +0,0 @@
-QToolTip{
- color:#ffffff;
- background-color:palette(base);
- border:1px solid palette(highlight);
- border-radius:4px;
-}
-QStatusBar{
- background-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
- color:palette(mid);
-}
-QMenuBar{
- background-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
- border-bottom:2px solid rgba(25,25,25,75);
-}
-QMenuBar::item{
- spacing:2px;
- padding:3px 4px;
- background:transparent;
-}
-QMenuBar::item:selected{
- background-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(106,106,106,255),stop:1 rgba(106,106,106,75));
- border-left:1px solid rgba(106,106,106,127);
- border-right:1px solid rgba(106,106,106,127);
-}
-QMenuBar::item:pressed{
- background-color:palette(highlight);
- border-left:1px solid rgba(25,25,25,127);
- border-right:1px solid rgba(25,25,25,127);
-}
-QMenu{
- background-color:palette(window);
- border:1px solid palette(shadow);
-}
-QMenu::item{
- padding:3px 25px 3px 25px;
- border:1px solid transparent;
-}
-QMenu::item:disabled{
- background-color:rgba(35,35,35,127);
- color:palette(disabled);
-}
-QMenu::item:selected{
- border-color:rgba(147,191,236,127);
- background:palette(highlight);
-}
-QMenu::icon:checked{
- background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
- border:1px solid palette(highlight);
- border-radius:2px;
-}
-QMenu::separator{
- height:1px;
- background:palette(alternate-base);
- margin-left:5px;
- margin-right:5px;
-}
-QMenu::indicator{
- width:18px;
- height:18px;
-}
-QMenu::indicator:non-exclusive:checked{
- image:url(:/darkstyle/icon_checkbox_checked.png);
- padding-left:2px;
-}
-QMenu::indicator:non-exclusive:unchecked{
- image:url(:/darkstyle/icon_checkbox_unchecked.png);
- padding-left:2px;
-}
-QMenu::indicator:exclusive:checked{
- image:url(:/darkstyle/icon_radiobutton_checked.png);
- padding-left:2px;
-}
-QMenu::indicator:exclusive:unchecked{
- image:url(:/darkstyle/icon_radiobutton_unchecked.png);
- padding-left:2px;
-}
-QToolBar::top{
- background-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
- border-bottom:3px solid qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
-}
-QToolBar::bottom{
- background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
- border-top:3px solid qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
-}
-QToolBar::left{
- background-color:qlineargradient(x1:0,y1:0,x2:1,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
- border-right:3px solid qlineargradient(x1:0,y1:0,x2:1,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
-}
-QToolBar::right{
- background-color:qlineargradient(x1:1,y1:0,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
- border-left:3px solid qlineargradient(x1:1,y1:0,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
-}
-QMainWindow::separator{
- width:6px;
- height:5px;
- padding:2px;
-}
-QSplitter::handle:horizontal{
- width:10px;
-}
-QSplitter::handle:vertical{
- height:10px;
-}
-QMainWindow::separator:hover,QSplitter::handle:hover{
- background:palette(highlight);
-}
-QDockWidget::title{
- padding:4px;
- background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
- border:1px solid rgba(25,25,25,75);
- border-bottom:2px solid rgba(25,25,25,75);
-}
-QDockWidget{
- titlebar-close-icon:url(:/darkstyle/icon_close.png);
- titlebar-normal-icon:url(:/darkstyle/icon_restore.png);
-}
-QDockWidget::close-button,QDockWidget::float-button{
- subcontrol-position:top right;
- subcontrol-origin:margin;
- position:absolute;
- top:3px;
- bottom:0px;
- width:20px;
- height:20px;
-}
-QDockWidget::close-button{
- right:3px;
-}
-QDockWidget::float-button{
- right:25px;
-}
-QGroupBox{
- background-color:rgba(66,66,66,50%);
- margin-top:27px;
- border:1px solid rgba(25,25,25,127);
- border-radius:4px;
-}
-QGroupBox::title{
- subcontrol-origin:margin;
- subcontrol-position:left top;
- padding:4px 6px;
- margin-left:3px;
- background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
- border:1px solid rgba(25,25,25,75);
- border-bottom:2px solid rgb(127,127,127);
- border-top-left-radius:4px;
- border-top-right-radius:4px;
-}
-QTabWidget::pane{
- background-color:rgba(66,66,66,50%);
- border-top:1px solid rgba(25,25,25,50%);
-}
-QTabWidget::tab-bar{
- left:3px;
- top:1px;
-}
-QTabBar{
- background-color:transparent;
- qproperty-drawBase:0;
- border-bottom:1px solid rgba(25,25,25,50%);
-}
-QTabBar::tab{
- padding:4px 6px;
- background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
- border:1px solid rgba(25,25,25,75);
- border-top-left-radius:4px;
- border-top-right-radius:4px;
-}
-QTabBar::tab:selected,QTabBar::tab:hover{
- background-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(53,53,53,127),stop:1 rgba(66,66,66,50%));
- border-bottom-color:rgba(66,66,66,75%);
-}
-QTabBar::tab:selected{
- border-bottom:2px solid palette(highlight);
-}
-QTabBar::tab::selected:disabled{
- border-bottom:2px solid rgb(127,127,127);
-}
-QTabBar::tab:!selected{
- margin-top:2px;
-}
-QCheckBox::indicator{
- width:18px;
- height:18px;
-}
-QCheckBox::indicator:checked,QTreeView::indicator:checked,QTableView::indicator:checked,QGroupBox::indicator:checked{
- image:url(:/darkstyle/icon_checkbox_checked.png);
-}
-QCheckBox::indicator:checked:pressed,QTreeView::indicator:checked:pressed,QTableView::indicator:checked:pressed,QGroupBox::indicator:checked:pressed{
- image:url(:/darkstyle/icon_checkbox_checked_pressed.png);
-}
-QCheckBox::indicator:checked:disabled,QTreeView::indicator:checked:disabled,QTableView::indicator:checked:disabled,QGroupBox::indicator:checked:disabled{
- image:url(:/darkstyle/icon_checkbox_checked_disabled.png);
-}
-QCheckBox::indicator:unchecked,QTreeView::indicator:unchecked,QTableView::indicator:unchecked,QGroupBox::indicator:unchecked{
- image:url(:/darkstyle/icon_checkbox_unchecked.png);
-}
-QCheckBox::indicator:unchecked:pressed,QTreeView::indicator:unchecked:pressed,QTableView::indicator:unchecked:pressed,QGroupBox::indicator:unchecked:pressed{
- image:url(:/darkstyle/icon_checkbox_unchecked_pressed.png);
-}
-QCheckBox::indicator:unchecked:disabled,QTreeView::indicator:unchecked:disabled,QTableView::indicator:unchecked:disabled,QGroupBox::indicator:unchecked:disabled{
- image:url(:/darkstyle/icon_checkbox_unchecked_disabled.png);
-}
-QCheckBox::indicator:indeterminate,QTreeView::indicator:indeterminate,QTableView::indicator:indeterminate,QGroupBox::indicator:indeterminate{
- image:url(:/darkstyle/icon_checkbox_indeterminate.png);
-}
-QCheckBox::indicator:indeterminate:pressed,QTreeView::indicator:indeterminate:pressed,QTableView::indicator:indeterminate:pressed,QGroupBox::indicator:indeterminate:pressed{
- image:url(:/darkstyle/icon_checkbox_indeterminate_pressed.png);
-}
-QCheckBox::indicator:indeterminate:disabled,QTreeView::indicator:indeterminate:disabled,QTableView::indicator:indeterminate:disabled,QGroupBox::indicator:indeterminate:disabled{
- image:url(:/darkstyle/icon_checkbox_indeterminate_disabled.png);
-}
-QRadioButton::indicator{
- width:18px;
- height:18px;
-}
-QRadioButton::indicator:checked{
- image:url(:/darkstyle/icon_radiobutton_checked.png);
-}
-QRadioButton::indicator:checked:pressed{
- image:url(:/darkstyle/icon_radiobutton_checked_pressed.png);
-}
-QRadioButton::indicator:checked:disabled{
- image:url(:/darkstyle/icon_radiobutton_checked_disabled.png);
-}
-QRadioButton::indicator:unchecked{
- image:url(:/darkstyle/icon_radiobutton_unchecked.png);
-}
-QRadioButton::indicator:unchecked:pressed{
- image:url(:/darkstyle/icon_radiobutton_unchecked_pressed.png);
-}
-QRadioButton::indicator:unchecked:disabled{
- image:url(:/darkstyle/icon_radiobutton_unchecked_disabled.png);
-}
-QTreeView, QTableView{
- alternate-background-color:palette(window);
- background:palette(base);
-}
-QTreeView QHeaderView::section, QTableView QHeaderView::section{
- background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75));
- border-style:none;
- border-bottom:1px solid palette(dark);
- padding-left:5px;
- padding-right:5px;
-}
-QTreeView::item:selected:disabled, QTableView::item:selected:disabled{
- background:rgb(80,80,80);
-}
-QTreeView::branch{
- background-color:palette(base);
-}
-QTreeView::branch:has-siblings:!adjoins-item{
- border-image:url(:/darkstyle/icon_vline.png) 0;
-}
-QTreeView::branch:has-siblings:adjoins-item{
- border-image:url(:/darkstyle/icon_branch_more.png) 0;
-}
-QTreeView::branch:!has-children:!has-siblings:adjoins-item{
- border-image:url(:/darkstyle/icon_branch_end.png) 0;
-}
-QTreeView::branch:has-children:!has-siblings:closed,
-QTreeView::branch:closed:has-children:has-siblings{
- border-image:none;
- image:url(:/darkstyle/icon_branch_closed.png);
-}
-QTreeView::branch:open:has-children:!has-siblings,
-QTreeView::branch:open:has-children:has-siblings{
- border-image:none;
- image:url(:/darkstyle/icon_branch_open.png);
-}
-QScrollBar:vertical{
- background:palette(base);
- border-top-right-radius:2px;
- border-bottom-right-radius:2px;
- width:16px;
- margin:0px;
-}
-QScrollBar::handle:vertical{
- background-color:palette(alternate-base);
- border-radius:2px;
- min-height:20px;
- margin:2px 4px 2px 4px;
-}
-QScrollBar::handle:vertical:hover{
- background-color:palette(highlight);
-}
-QScrollBar::add-line:vertical{
- background:none;
- height:0px;
- subcontrol-position:right;
- subcontrol-origin:margin;
-}
-QScrollBar::sub-line:vertical{
- background:none;
- height:0px;
- subcontrol-position:left;
- subcontrol-origin:margin;
-}
-QScrollBar:horizontal{
- background:palette(base);
- height:16px;
- margin:0px;
-}
-QScrollBar::handle:horizontal{
- background-color:palette(alternate-base);
- border-radius:2px;
- min-width:20px;
- margin:4px 2px 4px 2px;
-}
-QScrollBar::handle:horizontal:hover{
- background-color:palette(highlight);
-}
-QScrollBar::add-line:horizontal{
- background:none;
- width:0px;
- subcontrol-position:bottom;
- subcontrol-origin:margin;
-}
-QScrollBar::sub-line:horizontal{
- background:none;
- width:0px;
- subcontrol-position:top;
- subcontrol-origin:margin;
-}
-QSlider::handle:horizontal{
- border-radius:4px;
- border:1px solid rgba(25,25,25,255);
- background-color:palette(alternate-base);
- min-height:20px;
- margin:0 -4px;
-}
-QSlider::handle:horizontal:hover{
- background:palette(highlight);
-}
-QSlider::add-page:horizontal{
- background:palette(base);
-}
-QSlider::sub-page:horizontal{
- background:palette(highlight);
-}
-QSlider::sub-page:horizontal:disabled{
- background:rgb(80,80,80);
-}
diff --git a/Resources/qss/flat.qss b/Resources/qss/flat.qss
index 7fe7cd4..4c3f5ad 100644
--- a/Resources/qss/flat.qss
+++ b/Resources/qss/flat.qss
@@ -2,14 +2,14 @@
/*QPushButton*/
QPushButton {
color: #000000;
- background-color: #cceeff;
+ background-color: white;
border: 0px solid rgba(255, 255, 255, 0);
font-size: 16px;
border-radius: 5px;
}
QPushButton:hover {
- background-color: #4fc1e9;
+ background-color: #cceeff;
}
QPushButton:pressed {
diff --git a/Resources/qss/lightblue.qss b/Resources/qss/lightblue.qss
deleted file mode 100644
index 5cb391f..0000000
--- a/Resources/qss/lightblue.qss
+++ /dev/null
@@ -1,954 +0,0 @@
-/*
-* The MIT License (MIT)
-*
-* Copyright : http://blog.csdn.net/liang19890820
-*
-* Author : 一去丶二三里
-*
-* Date : 2016/07/22
-*
-* Description : 白色靓丽
-*
-*/
-
-/**********子界面背景**********/
-QWidget#customWidget {
- background: rgb(173, 202, 232);
-}
-
-/**********子界面中央背景**********/
-QWidget#centerWidget {
- background: rgb(232, 241, 252);
-}
-
-/**********主界面样式**********/
-QWidget#mainWindow {
- border: 1px solid rgb(111, 156, 207);
- background: rgb(232, 241, 252);
-}
-
-QWidget#messageWidget {
- background: rgba(173, 202, 232, 50%);
-}
-
-QWidget#loadingWidget {
- border: none;
- border-radius: 5px;
- background: rgb(187, 212, 238);
-}
-
-QWidget#remoteWidget {
- border-top-right-radius: 10px;
- border-bottom-right-radius: 10px;
- border: 1px solid rgb(111, 156, 207);
- border-left: none;
- background: transparent;
-}
-
-StyledWidget {
- qproperty-normalColor: rgb(65, 65, 65);
- qproperty-disableColor: rgb(180, 180, 180);
- qproperty-highlightColor: rgb(0, 160, 230);
- qproperty-errorColor: red;
-}
-
-QProgressIndicator {
- qproperty-color: rgb(2, 65, 132);
-}
-
-/**********提示**********/
-QToolTip{
- border: 1px solid rgb(111, 156, 207);
- background: white;
- color: rgb(51, 51, 51);
-}
-
-/**********菜单栏**********/
-QMenuBar {
- background: rgb(187, 212, 238);
- border: 1px solid rgb(111, 156, 207);
- border-left: none;
- border-right: none;
-}
-QMenuBar::item {
- border: 1px solid transparent;
- padding: 5px 10px 5px 10px;
- background: transparent;
-}
-QMenuBar::item:enabled {
- color: rgb(2, 65, 132);
-}
-QMenuBar::item:!enabled {
- color: rgb(155, 155, 155);
-}
-QMenuBar::item:enabled:selected {
- border-top-color: rgb(111, 156, 207);
- border-bottom-color: rgb(111, 156, 207);
- background: rgb(198, 224, 252);
-}
-
-/**********菜单**********/
-QMenu {
- border: 1px solid rgb(111, 156, 207);
- background: rgb(232, 241, 250);
-}
-QMenu::item {
- height: 22px;
- padding: 0px 25px 0px 20px;
-}
-QMenu::item:enabled {
- color: rgb(84, 84, 84);
-}
-QMenu::item:!enabled {
- color: rgb(155, 155, 155);
-}
-QMenu::item:enabled:selected {
- color: rgb(2, 65, 132);
- background: rgba(255, 255, 255, 200);
-}
-QMenu::separator {
- height: 1px;
- background: rgb(111, 156, 207);
-}
-QMenu::indicator {
- width: 13px;
- height: 13px;
-}
-QMenu::icon {
- padding-left: 2px;
- padding-right: 2px;
-}
-
-/**********状态栏**********/
-QStatusBar {
- background: rgb(187, 212, 238);
- border: 1px solid rgb(111, 156, 207);
- border-left: none;
- border-right: none;
- border-bottom: none;
-}
-QStatusBar::item {
- border: none;
- border-right: 1px solid rgb(111, 156, 207);
-}
-
-/**********分组框**********/
-QGroupBox {
- font-size: 15px;
- border: 1px solid rgb(111, 156, 207);
- border-radius: 4px;
- margin-top: 10px;
-}
-QGroupBox::title {
- color: rgb(56, 99, 154);
- top: -12px;
- left: 10px;
-}
-
-/**********页签项**********/
-QTabWidget::pane {
- border: none;
- border-top: 3px solid rgb(0, 78, 161);
- background: rgb(187, 212, 238);
-}
-QTabWidget::tab-bar {
- border: none;
-}
-QTabBar::tab {
- border: none;
- border-top-left-radius: 4px;
- border-top-right-radius: 4px;
- color: white;
- background: rgb(120, 170, 220);
- height: 28px;
- min-width: 85px;
- margin-right: 5px;
- padding-left: 5px;
- padding-right: 5px;
-}
-QTabBar::tab:hover {
- background: rgb(0, 78, 161);
-}
-QTabBar::tab:selected {
- color: white;
- background: rgb(0, 78, 161);
-}
-
-QTabWidget#tabWidget::pane {
- border: 1px solid rgb(111, 156, 207);
- background: rgb(232, 241, 252);
- margin-top: -1px;
-}
-
-QTabBar#tabBar::tab {
- border: 1px solid rgb(111, 156, 207);
- border-bottom: none;
- color: rgb(70, 71, 73);
- background: transparent;
-}
-QTabBar#tabBar::tab:hover {
- color: rgb(2, 65, 132);
-}
-QTabBar#tabBar::tab:selected {
- color: rgb(2, 65, 132);
- background: rgb(232, 241, 252);
-}
-
-/**********表头**********/
-QHeaderView{
- border: none;
- border-bottom: 3px solid rgb(0, 78, 161);
- background: transparent;
- min-height: 30px;
-}
-QHeaderView::section:horizontal {
- border: none;
- color: rgb(2, 65, 132);
- background: transparent;
- padding-left: 5px;
-}
-QHeaderView::section:horizontal:hover {
- color: white;
- background: rgb(0, 78, 161);
-}
-QHeaderView::section:horizontal:pressed {
- color: white;
- background: rgb(6, 94, 187);
-}
-QHeaderView::up-arrow {
- width: 13px;
- height: 11px;
- padding-right: 5px;
- image: url(:/White/topArrow);
- subcontrol-position: center right;
-}
-QHeaderView::up-arrow:hover, QHeaderView::up-arrow:pressed {
- image: url(:/White/topArrowHover);
-}
-QHeaderView::down-arrow {
- width: 13px;
- height: 11px;
- padding-right: 5px;
- image: url(:/White/bottomArrow);
- subcontrol-position: center right;
-}
-QHeaderView::down-arrow:hover, QHeaderView::down-arrow:pressed {
- image: url(:/White/bottomArrowHover);
-}
-
-/**********表格**********/
-QTableView {
- border: 1px solid rgb(111, 156, 207);
- background: rgb(224, 238, 255);
- gridline-color: rgb(111, 156, 207);
-}
-QTableView::item {
- padding-left: 5px;
- padding-right: 5px;
- border: none;
- background: white;
- border-right: 1px solid rgb(111, 156, 207);
- border-bottom: 1px solid rgb(111, 156, 207);
-}
-QTableView::item:selected {
- background: rgba(255, 255, 255, 100);
-}
-QTableView::item:selected:!active {
- color: rgb(65, 65, 65);
-}
-QTableView::indicator {
- width: 20px;
- height: 20px;
-}
-QTableView::indicator:enabled:unchecked {
- image: url(:/White/checkBox);
-}
-QTableView::indicator:enabled:unchecked:hover {
- image: url(:/White/checkBoxHover);
-}
-QTableView::indicator:enabled:unchecked:pressed {
- image: url(:/White/checkBoxPressed);
-}
-QTableView::indicator:enabled:checked {
- image: url(:/White/checkBoxChecked);
-}
-QTableView::indicator:enabled:checked:hover {
- image: url(:/White/checkBoxCheckedHover);
-}
-QTableView::indicator:enabled:checked:pressed {
- image: url(:/White/checkBoxCheckedPressed);
-}
-QTableView::indicator:enabled:indeterminate {
- image: url(:/White/checkBoxIndeterminate);
-}
-QTableView::indicator:enabled:indeterminate:hover {
- image: url(:/White/checkBoxIndeterminateHover);
-}
-QTableView::indicator:enabled:indeterminate:pressed {
- image: url(:/White/checkBoxIndeterminatePressed);
-}
-
-/**********滚动条-水平**********/
-QScrollBar:horizontal {
- height: 20px;
- background: transparent;
- margin-top: 3px;
- margin-bottom: 3px;
-}
-QScrollBar::handle:horizontal {
- height: 20px;
- min-width: 30px;
- background: rgb(170, 200, 230);
- margin-left: 15px;
- margin-right: 15px;
-}
-QScrollBar::handle:horizontal:hover {
- background: rgb(165, 195, 225);
-}
-QScrollBar::sub-line:horizontal {
- width: 15px;
- background: transparent;
- image: url(:/White/arrowLeft);
- subcontrol-position: left;
-}
-QScrollBar::add-line:horizontal {
- width: 15px;
- background: transparent;
- image: url(:/White/arrowRight);
- subcontrol-position: right;
-}
-QScrollBar::sub-line:horizontal:hover {
- background: rgb(170, 200, 230);
-}
-QScrollBar::add-line:horizontal:hover {
- background: rgb(170, 200, 230);
-}
-QScrollBar::add-page:horizontal,QScrollBar::sub-page:horizontal {
- background: transparent;
-}
-
-/**********滚动条-垂直**********/
-QScrollBar:vertical {
- width: 20px;
- background: transparent;
- margin-left: 3px;
- margin-right: 3px;
-}
-QScrollBar::handle:vertical {
- width: 20px;
- min-height: 30px;
- background: rgb(170, 200, 230);
- margin-top: 15px;
- margin-bottom: 15px;
-}
-QScrollBar::handle:vertical:hover {
- background: rgb(165, 195, 225);
-}
-QScrollBar::sub-line:vertical {
- height: 15px;
- background: transparent;
- image: url(:/White/topArrow);
- subcontrol-position: top;
-}
-QScrollBar::add-line:vertical {
- height: 15px;
- background: transparent;
- image: url(:/White/bottomArrow);
- subcontrol-position: bottom;
-}
-QScrollBar::sub-line:vertical:hover {
- background: rgb(170, 200, 230);
-}
-QScrollBar::add-line:vertical:hover {
- background: rgb(170, 200, 230);
-}
-QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
- background: transparent;
-}
-
-QScrollBar#verticalScrollBar:vertical {
- margin-top: 30px;
-}
-
-/**********下拉列表**********/
-QComboBox {
- height: 25px;
- border-radius: 4px;
- border: 1px solid rgb(111, 156, 207);
- background: white;
-}
-QComboBox:enabled {
- color: rgb(84, 84, 84);
-}
-QComboBox:!enabled {
- color: rgb(80, 80, 80);
-}
-QComboBox:enabled:hover, QComboBox:enabled:focus {
- color: rgb(51, 51, 51);
-}
-QComboBox::drop-down {
- width: 20px;
- border: none;
- background: transparent;
-}
-QComboBox::drop-down:hover {
- background: rgba(255, 255, 255, 30);
-}
-QComboBox::down-arrow {
- image: url(:/White/arrowBottom);
-}
-QComboBox::down-arrow:on {
- /**top: 1px;**/
-}
-QComboBox QAbstractItemView {
- border: 1px solid rgb(111, 156, 207);
- background: white;
- outline: none;
-}
-QComboBox QAbstractItemView::item {
- height: 25px;
- color: rgb(73, 73, 73);
-}
-QComboBox QAbstractItemView::item:selected {
- background: rgb(232, 241, 250);
- color: rgb(2, 65, 132);
-}
-
-/**********进度条**********/
-QProgressBar{
- border: none;
- text-align: center;
- color: white;
- background: rgb(173, 202, 232);
-}
-QProgressBar::chunk {
- background: rgb(16, 135, 209);
-}
-
-QProgressBar#progressBar {
- border: none;
- text-align: center;
- color: white;
- background-color: transparent;
- background-image: url(":/White/progressBar");
- background-repeat: repeat-x;
-}
-QProgressBar#progressBar::chunk {
- border: none;
- background-color: transparent;
- background-image: url(":/White/progressBarChunk");
- background-repeat: repeat-x;
-}
-
-/**********复选框**********/
-QCheckBox{
- spacing: 5px;
-}
-QCheckBox:enabled:checked{
- color: rgb(2, 65, 132);
-}
-QCheckBox:enabled:!checked{
- color: rgb(70, 71, 73);
-}
-QCheckBox:enabled:hover{
- color: rgb(0, 78, 161);
-}
-QCheckBox:!enabled{
- color: rgb(80, 80, 80);
-}
-QCheckBox::indicator {
- width: 20px;
- height: 20px;
-}
-QCheckBox::indicator:unchecked {
- image: url(:/White/checkBox);
-}
-QCheckBox::indicator:unchecked:hover {
- image: url(:/White/checkBoxHover);
-}
-QCheckBox::indicator:unchecked:pressed {
- image: url(:/White/checkBoxPressed);
-}
-QCheckBox::indicator:checked {
- image: url(:/White/checkBoxChecked);
-}
-QCheckBox::indicator:checked:hover {
- image: url(:/White/checkBoxCheckedHover);
-}
-QCheckBox::indicator:checked:pressed {
- image: url(:/White/checkBoxCheckedPressed);
-}
-QCheckBox::indicator:indeterminate {
- image: url(:/White/checkBoxIndeterminate);
-}
-QCheckBox::indicator:indeterminate:hover {
- image: url(:/White/checkBoxIndeterminateHover);
-}
-QCheckBox::indicator:indeterminate:pressed {
- image: url(:/White/checkBoxIndeterminatePressed);
-}
-
-/**********单选框**********/
-QRadioButton{
- spacing: 5px;
-}
-QRadioButton:enabled:checked{
- color: rgb(2, 65, 132);
-}
-QRadioButton:enabled:!checked{
- color: rgb(70, 71, 73);
-}
-QRadioButton:enabled:hover{
- color: rgb(0, 78, 161);
-}
-QRadioButton:!enabled{
- color: rgb(80, 80, 80);
-}
-QRadioButton::indicator {
- width: 20px;
- height: 20px;
-}
-QRadioButton::indicator:unchecked {
- image: url(:/White/radioButton);
-}
-QRadioButton::indicator:unchecked:hover {
- image: url(:/White/radioButtonHover);
-}
-QRadioButton::indicator:unchecked:pressed {
- image: url(:/White/radioButtonPressed);
-}
-QRadioButton::indicator:checked {
- image: url(:/White/radioButtonChecked);
-}
-QRadioButton::indicator:checked:hover {
- image: url(:/White/radioButtonCheckedHover);
-}
-QRadioButton::indicator:checked:pressed {
- image: url(:/White/radioButtonCheckedPressed);
-}
-
-/**********输入框**********/
-QLineEdit {
- border-radius: 4px;
- height: 25px;
- border: 1px solid rgb(111, 156, 207);
- background: white;
-}
-QLineEdit:enabled {
- color: rgb(84, 84, 84);
-}
-QLineEdit:enabled:hover, QLineEdit:enabled:focus {
- color: rgb(51, 51, 51);
-}
-QLineEdit:!enabled {
- color: rgb(80, 80, 80);
-}
-
-/**********文本编辑框**********/
-QTextEdit {
- border: 1px solid rgb(111, 156, 207);
- color: rgb(70, 71, 73);
- background: rgb(187, 212, 238);
-}
-
-/**********滚动区域**********/
-QScrollArea {
- border: 1px solid rgb(111, 156, 207);
- background: rgb(187, 212, 238);
-}
-
-/**********滚动区域**********/
-QWidget#transparentWidget {
- background: transparent;
-}
-
-/**********微调器**********/
-QSpinBox {
- border-radius: 4px;
- height: 24px;
- min-width: 40px;
- border: 1px solid rgb(111, 156, 207);
- background: white;
-}
-QSpinBox:enabled {
- color: rgb(60, 60, 60);
-}
-QSpinBox:enabled:hover, QSpinBox:enabled:focus {
- color: rgb(51, 51, 51);
-}
-QSpinBox:!enabled {
- color: rgb(210, 210, 210);
- background: transparent;
-}
-QSpinBox::up-button {
- border-left: 1px solid rgb(111, 156, 207);
- width: 18px;
- height: 12px;
- border-top-right-radius: 4px;
- image: url(:/White/upButton);
-}
-QSpinBox::up-button:!enabled {
- background: transparent;
-}
-QSpinBox::up-button:enabled:hover {
- background: rgb(255, 255, 255, 30);
-}
-QSpinBox::down-button {
- border-left: 1px solid rgb(111, 156, 207);
- width: 18px;
- height: 12px;
- border-bottom-right-radius: 4px;
- image: url(:/White/downButton);
-}
-QSpinBox::down-button:!enabled {
- background: transparent;
-}
-QSpinBox::down-button:hover {
- background: rgb(255, 255, 255, 30);
-}
-
-/**********标签**********/
-QLabel#grayLabel {
- color: rgb(70, 71, 73);
-}
-
-QLabel#highlightLabel {
- color: rgb(2, 65, 132);
-}
-
-QLabel#redLabel {
- color: red;
-}
-
-QLabel#grayYaHeiLabel {
- color: rgb(175, 175, 175);
- font-size: 16px;
-}
-
-QLabel#blueLabel {
- color: rgb(0, 160, 230);
-}
-
-QLabel#listLabel {
- color: rgb(51, 51, 51);
-}
-
-QLabel#lineBlueLabel {
- background: rgb(0, 78, 161);
-}
-
-QLabel#graySeperateLabel {
- background: rgb(200, 220, 230);
-}
-
-QLabel#seperateLabel {
- background: rgb(112, 153, 194);
-}
-
-QLabel#radiusBlueLabel {
- border-radius: 15px;
- color: white;
- font-size: 16px;
- background: rgb(0, 78, 161);
-}
-
-QLabel#skinLabel[colorProperty="normal"] {
- color: rgb(56, 99, 154);
-}
-QLabel#skinLabel[colorProperty="highlight"] {
- color: rgb(0, 160, 230);
-}
-
-QLabel#informationLabel {
- qproperty-pixmap: url(:/White/information);
-}
-
-QLabel#errorLabel {
- qproperty-pixmap: url(:/White/error);
-}
-
-QLabel#successLabel {
- qproperty-pixmap: url(:/White/success);
-}
-
-QLabel#questionLabel {
- qproperty-pixmap: url(:/White/question);
-}
-
-QLabel#warningLabel {
- qproperty-pixmap: url(:/White/warning);
-}
-
-QLabel#groupLabel {
- color: rgb(56, 99, 154);
- border: 1px solid rgb(111, 156, 207);
- font-size: 15px;
- border-top-color: transparent;
- border-right-color: transparent;
- border-left-color: transparent;
-}
-
-/**********按钮**********/
-QToolButton#nsccButton {
- border: none;
- color: rgb(2, 65, 132);
- background: transparent;
- padding: 10px;
- qproperty-icon: url(:/White/nscc);
- qproperty-iconSize: 32px 32px;
- qproperty-toolButtonStyle: ToolButtonTextUnderIcon;
-}
-QToolButton#nsccButton:hover {
- background: rgb(187, 212, 238);
-}
-
-QToolButton#transferButton {
- border: none;
- color: rgb(2, 65, 132);
- background: transparent;
- padding: 10px;
- qproperty-icon: url(:/White/transfer);
- qproperty-iconSize: 32px 32px;
- qproperty-toolButtonStyle: ToolButtonTextUnderIcon;
-}
-QToolButton#transferButton:hover {
- background: rgb(187, 212, 238);
-}
-
-/**********按钮**********/
-QPushButton{
- border-radius: 4px;
- border: none;
- width: 75px;
- height: 25px;
-}
-QPushButton:enabled {
- background: rgb(120, 170, 220);
- color: white;
-}
-QPushButton:!enabled {
- background: rgb(180, 180, 180);
- color: white;
-}
-QPushButton:enabled:hover{
- background: rgb(100, 160, 220);
-}
-QPushButton:enabled:pressed{
- background: rgb(0, 78, 161);
-}
-
-QPushButton#blueButton {
- color: white;
-}
-QPushButton#blueButton:enabled {
- background: rgb(0, 78, 161);
- color: white;
-}
-QPushButton:!enabled {
- background: rgb(180, 180, 180);
- color: white;
-}
-QPushButton#blueButton:enabled:hover {
- background: rgb(2, 65, 132);
-}
-QPushButton#blueButton:enabled:pressed {
- background: rgb(6, 94, 187);
-}
-
-QPushButton#selectButton {
- border: none;
- border-radius: none;
- border-left: 1px solid rgb(111, 156, 207);
- background: transparent;
- image: url(:/White/scan);
- color: rgb(51, 51, 51);
-}
-QPushButton#selectButton:enabled:hover{
- background: rgb(187, 212, 238);
-}
-QPushButton#selectButton:enabled:pressed{
- background: rgb(120, 170, 220);
-}
-
-QPushButton#linkButton {
- background: transparent;
- color: rgb(0, 160, 230);
- text-align:left;
-}
-QPushButton#linkButton:hover {
- color: rgb(20, 185, 255);
- text-decoration: underline;
-}
-QPushButton#linkButton:pressed {
- color: rgb(0, 160, 230);
-}
-
-QPushButton#transparentButton {
- background: transparent;
-}
-
-/*****************标题栏按钮*******************/
-QPushButton#minimizeButton {
- border-radius: none;
- border-bottom-left-radius: 4px;
- border-bottom-right-radius: 4px;
- background: rgb(120, 170, 220);
- image: url(:/White/minimizeHover);
-}
-QPushButton#minimizeButton:hover {
- image: url(:/White/minimize);
-}
-QPushButton#minimizeButton:pressed {
- image: url(:/White/minimizePressed);
-}
-
-QPushButton#maximizeButton[maximizeProperty="maximize"] {
- border-radius: none;
- border-bottom-left-radius: 4px;
- border-bottom-right-radius: 4px;
- background: rgb(120, 170, 220);
- image: url(:/White/maximizeHover);
-}
-QPushButton#maximizeButton[maximizeProperty="maximize"]:hover {
- image: url(:/White/maximize);
-}
-QPushButton#maximizeButton[maximizeProperty="maximize"]:pressed {
- image: url(:/White/maximizePressed);
-}
-
-QPushButton#maximizeButton[maximizeProperty="restore"] {
- border-radius: none;
- border-bottom-left-radius: 4px;
- border-bottom-right-radius: 4px;
- background: rgb(120, 170, 220);
- image: url(:/White/restoreHover);
-}
-QPushButton#maximizeButton[maximizeProperty="restore"]:hover {
- image: url(:/White/restore);
-}
-QPushButton#maximizeButton[maximizeProperty="restore"]:pressed {
- image: url(:/White/restorePressed);
-}
-
-QPushButton#closeButton {
- border-radius: none;
- border-bottom-left-radius: 4px;
- border-bottom-right-radius: 4px;
- background: rgb(120, 170, 220);
- image: url(:/White/closeHover);
-}
-QPushButton#closeButton:hover {
- image: url(:/White/close);
-}
-QPushButton#closeButton:pressed {
- image: url(:/White/closePressed);
-}
-
-QPushButton#skinButton {
- border-radius: none;
- border-bottom-left-radius: 4px;
- border-bottom-right-radius: 4px;
- background: rgb(120, 170, 220);
- image: url(:/White/skinHover);
-}
-QPushButton#skinButton:hover {
- image: url(:/White/skin);
-}
-QPushButton#skinButton:pressed {
- image: url(:/White/skinPressed);
-}
-
-QPushButton#feedbackButton {
- border-radius: none;
- border-bottom-left-radius: 4px;
- border-bottom-right-radius: 4px;
- background: rgb(120, 170, 220);
- image: url(:/White/feedbackHover);
-}
-QPushButton#feedbackButton:hover {
- image: url(:/White/feedback);
-}
-QPushButton#feedbackButton:pressed {
- image: url(:/White/feedbackPressed);
-}
-
-QPushButton#closeTipButton {
- border-radius: none;
- border-image: url(:/White/close);
- background: transparent;
-}
-QPushButton#closeTipButton:hover {
- border-image: url(:/White/closeHover);
-}
-QPushButton#closeTipButton:pressed {
- border-image: url(:/White/closePressed);
-}
-
-QPushButton#changeSkinButton{
- border-radius: 4px;
- border: 2px solid rgb(111, 156, 207);
- background: rgb(204, 227, 252);
-}
-QPushButton#changeSkinButton:hover{
- border-color: rgb(60, 150, 200);
-}
-QPushButton#changeSkinButton:pressed, QPushButton#changeSkinButton:checked{
- border-color: rgb(0, 160, 230);
-}
-
-QPushButton#transferButton {
- padding-left: 5px;
- padding-right: 5px;
- color: white;
- background: rgb(0, 78, 161);
-}
-QPushButton#transferButton:hover {
- background: rgb(2, 65, 132);
-}
-QPushButton#transferButton:pressed {
- background: rgb(6, 94, 187);
-}
-QPushButton#transferButton[iconProperty="left"] {
- qproperty-icon: url(:/White/left);
-}
-QPushButton#transferButton[iconProperty="right"] {
- qproperty-icon: url(:/White/right);
-}
-
-QPushButton#openButton {
- border-radius: none;
- image: url(:/White/open);
- background: transparent;
-}
-QPushButton#openButton:hover {
- image: url(:/White/openHover);
-}
-QPushButton#openButton:pressed {
- image: url(:/White/openPressed);
-}
-
-QPushButton#deleteButton {
- border-radius: none;
- image: url(:/White/delete);
- background: transparent;
-}
-QPushButton#deleteButton:hover {
- image: url(:/White/deleteHover);
-}
-QPushButton#deleteButton:pressed {
- image: url(:/White/deletePressed);
-}
-
-QPushButton#menuButton {
- text-align: left center;
- padding-left: 3px;
- color: rgb(84, 84, 84);
- border: 1px solid rgb(111, 156, 207);
- background: white;
-}
-QPushButton#menuButton::menu-indicator{
- subcontrol-position: right center;
- subcontrol-origin: padding;
- image: url(:/White/arrowBottom);
- padding-right: 3px;
-}
\ No newline at end of file
diff --git a/Resources/qss/lightindigo.qss b/Resources/qss/lightindigo.qss
deleted file mode 100644
index 626e6a7..0000000
--- a/Resources/qss/lightindigo.qss
+++ /dev/null
@@ -1,212 +0,0 @@
-QToolTip
-{
- border: 1px solid black;
- background-color: #ffa02f;
- padding: 1px;
- border-radius: 3px;
- opacity: 100;
-}
-
-QWidget
-{
- color: #000000;
- background-color: #f8f8f8;
-}
-
-QWidget:item:hover
-{
- background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6495ed, stop: 1 #6495ed);
- color: #000000;
-}
-
-QWidget:item:selected
-{
- background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffa02f, stop: 1 #d7801a);
-}
-
-QWidget:disabled
-{
- color: #404040;
- background-color: #323232;
-}
-
-QLineEdit
-{
- background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #4d4d4d, stop: 0 #646464, stop: 1 #5d5d5d);
- padding: 1px;
- border-style: solid;
- border: 1px solid #1e1e1e;
- border-radius: 5;
-}
-
-QPushButton
-{
- color: #000000;
- background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #ffffff);
- border-width: 1px;
- border-color: #000000;
- border-style: solid;
- border-radius: 4;
- padding: 3px;
- font-size: 15px;
- padding-left: 5px;
- padding-right: 5px;
-}
-
-QPushButton:pressed
-{
- background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #87cefa, stop: 1 #87cefa);
-}
-
-QComboBox
-{
- selection-background-color: #ffaa00;
- background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #565656, stop: 0.1 #525252, stop: 0.5 #4e4e4e, stop: 0.9 #4a4a4a, stop: 1 #464646);
- border-style: solid;
- border: 1px solid #1e1e1e;
- border-radius: 5;
-}
-
-QPushButton:hover
-{
- border: 2px solid QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6495ed, stop: 1 #6495ed);
-}
-
-QScrollBar:horizontal {
- border: 1px solid #222222;
- background: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0.0 #121212, stop: 0.2 #282828, stop: 1 #484848);
- height: 7px;
- margin: 0px 16px 0 16px;
-}
-
-QScrollBar::handle:horizontal
-{
- background: QLinearGradient( x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #ffa02f, stop: 0.5 #d7801a, stop: 1 #ffa02f);
- min-height: 20px;
- border-radius: 2px;
-}
-
-QScrollBar::add-line:horizontal {
- border: 1px solid #1b1b19;
- border-radius: 2px;
- background: QLinearGradient( x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #ffa02f, stop: 1 #d7801a);
- width: 14px;
- subcontrol-position: right;
- subcontrol-origin: margin;
-}
-
-QScrollBar::sub-line:horizontal {
- border: 1px solid #1b1b19;
- border-radius: 2px;
- background: QLinearGradient( x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #ffa02f, stop: 1 #d7801a);
- width: 14px;
- subcontrol-position: left;
- subcontrol-origin: margin;
-}
-
-QScrollBar::right-arrow:horizontal, QScrollBar::left-arrow:horizontal
-{
- border: 1px solid black;
- width: 1px;
- height: 1px;
- background: white;
-}
-
-QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal
-{
- background: none;
-}
-
-QScrollBar:vertical
-{
- background: QLinearGradient( x1: 0, y1: 0, x2: 1, y2: 0, stop: 0.0 #121212, stop: 0.2 #282828, stop: 1 #484848);
- width: 7px;
- margin: 16px 0 16px 0;
- border: 1px solid #222222;
-}
-
-QScrollBar::handle:vertical
-{
- background: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffa02f, stop: 0.5 #d7801a, stop: 1 #ffa02f);
- min-height: 20px;
- border-radius: 2px;
-}
-
-QScrollBar::add-line:vertical
-{
- border: 1px solid #1b1b19;
- border-radius: 2px;
- background: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffa02f, stop: 1 #d7801a);
- height: 14px;
- subcontrol-position: bottom;
- subcontrol-origin: margin;
-}
-
-QScrollBar::sub-line:vertical
-{
- border: 1px solid #1b1b19;
- border-radius: 2px;
- background: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #d7801a, stop: 1 #ffa02f);
- height: 14px;
- subcontrol-position: top;
- subcontrol-origin: margin;
-}
-
-QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical
-{
- border: 1px solid black;
- width: 1px;
- height: 1px;
- background: white;
-}
-
-
-QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical
-{
- background: none;
-}
-
-QTextEdit
-{
- background-color: #ffffff;
-}
-
-QPlainTextEdit
-{
- background-color: #ffffff;
-}
-
-QLineEdit
-{
- background-color: #ffffff;
-}
-
-QSpinBox
-{
- background-color: #ffffff;
-}
-
-QProgressBar
-{
- border: 2px solid grey;
- border-radius: 5px;
- text-align: center;
-}
-
-QProgressBar::chunk
-{
- background-color: #d7801a;
- width: 2.15px;
- margin: 0.5px;
-}
-
-/**********分组框**********/
-QGroupBox {
- font-size: 16px;
- border: 1px solid grey;
- border-radius: 4px;
- margin-top: 10px;
-}
-QGroupBox::title {
- color: #000000;
-}
\ No newline at end of file
diff --git a/UI/Reconstruction.ui b/UI/Reconstruction.ui
index d1fb4c9..6addda4 100644
--- a/UI/Reconstruction.ui
+++ b/UI/Reconstruction.ui
@@ -502,10 +502,10 @@
- 190
- 120
- 121
- 31
+ 10
+ 10
+ 471
+ 281
@@ -517,7 +517,22 @@
NO VIDEO
+
+ Qt::AlignCenter
+
+
+
+
+ 0
+ 0
+ 491
+ 301
+
+
+
+ graphicsView_3
+ label_11
@@ -692,10 +707,10 @@
- 280
- 170
- 121
- 31
+ 0
+ 0
+ 701
+ 411
@@ -707,7 +722,22 @@
NO VIDEO
+
+ Qt::AlignCenter
+
+
+
+
+ 0
+ 0
+ 701
+ 411
+
+
+
+ graphicsView_2
+ label_21
@@ -750,7 +780,7 @@
470
480
- 81
+ 111
31
@@ -808,7 +838,7 @@
650
60
- 191
+ 201
171
@@ -856,7 +886,7 @@
10
- 50
+ 40
61
16
@@ -868,7 +898,7 @@
- 70
+ 80
117
51
21
@@ -881,7 +911,7 @@
- 130
+ 140
117
51
21
@@ -907,23 +937,23 @@
- 100
- 47
+ 90
+ 30
51
- 21
+ 31
- COLOR
+
- 0
+ 10
10
- 641
+ 631
521
@@ -931,9 +961,9 @@
- 700
+ 690
310
- 93
+ 131
28
@@ -949,9 +979,9 @@
- 700
+ 690
380
- 93
+ 131
28
@@ -967,9 +997,9 @@
- 700
+ 690
450
- 93
+ 131
28
@@ -995,6 +1025,19 @@
+
+
+
+ 240
+ 260
+ 161
+ 16
+
+
+
+ 姝ゅ鐢≒CL灞曠ず娓叉煋鐣岄潰
+
+