From 54143c24e7804fdac18d80b47690a7bedecc0698 Mon Sep 17 00:00:00 2001 From: KangLin Date: Wed, 17 May 2017 20:38:43 +0800 Subject: [PATCH] Add style --- Mainwindow.cpp | 10 +- Resource/Resource.qrc | 3 + Resource/sink/Style_Blue.qss | 932 +++++++++++++++++++++++++++ Resource/sink/Style_Gray.qss | 969 +++++++++++++++++++++++++++++ Resource/translations/app_cs.ts | 16 +- Resource/translations/app_da.ts | 16 +- Resource/translations/app_de.ts | 16 +- Resource/translations/app_fr.ts | 16 +- Resource/translations/app_hu.ts | 16 +- Resource/translations/app_ja.ts | 16 +- Resource/translations/app_ko.ts | 16 +- Resource/translations/app_pl.ts | 16 +- Resource/translations/app_ru.ts | 16 +- Resource/translations/app_sk.ts | 16 +- Resource/translations/app_sl.ts | 16 +- Resource/translations/app_uk.ts | 16 +- Resource/translations/app_zh_CN.ts | 16 +- Resource/translations/app_zh_TW.ts | 167 ++--- 18 files changed, 2170 insertions(+), 119 deletions(-) create mode 100644 Resource/sink/Style_Blue.qss create mode 100644 Resource/sink/Style_Gray.qss diff --git a/Mainwindow.cpp b/Mainwindow.cpp index b7fdd12..83087a1 100644 --- a/Mainwindow.cpp +++ b/Mainwindow.cpp @@ -499,9 +499,11 @@ int MainWindow::InitMenuStyles() QMap::iterator it; m_ActionStyles["Custom"] = m_MenuStyle.addAction(tr("Custom")); m_ActionStyles["System"] = m_MenuStyle.addAction(tr("System")); + m_ActionStyles["Gradient blue"] = m_MenuStyle.addAction(tr("Gradient blue")); m_ActionStyles["Blue"] = m_MenuStyle.addAction(tr("Blue")); + m_ActionStyles["Gradient Dark"] = m_MenuStyle.addAction(tr("Gradient Dark")); m_ActionStyles["Dark"] = m_MenuStyle.addAction(tr("Dark")); - + for(it = m_ActionStyles.begin(); it != m_ActionStyles.end(); it++) { it.value()->setCheckable(true); @@ -597,7 +599,11 @@ void MainWindow::slotActionGroupStyleTriggered(QAction* act) if(it.key() == "Blue") CGlobal::Instance()->SetStyleMenu("Blue", ":/sink/Blue"); else if(it.key() == "Dark") - CGlobal::Instance()->SetStyleMenu("Dark", ":/qdarkstyle/style.qss"); + CGlobal::Instance()->SetStyleMenu("Dark", ":/sink/Dark"); + else if(it.key() == "Gradient blue") + CGlobal::Instance()->SetStyleMenu("Gradient blue", ":/sink/Gradient_blue"); + else if(it.key() == "Gradient Dark") + CGlobal::Instance()->SetStyleMenu("Gradient Dark", ":/sink/Gradient_Dark"); else if(it.key() == "Custom") OpenCustomStyleMenu(); else diff --git a/Resource/Resource.qrc b/Resource/Resource.qrc index cdda879..b69a57d 100644 --- a/Resource/Resource.qrc +++ b/Resource/Resource.qrc @@ -18,5 +18,8 @@ sink/blue.qss + sink/Style_Gray.qss + sink/Style_Blue.qss + sink/dark/style.qss diff --git a/Resource/sink/Style_Blue.qss b/Resource/sink/Style_Blue.qss new file mode 100644 index 0000000..2566669 --- /dev/null +++ b/Resource/sink/Style_Blue.qss @@ -0,0 +1,932 @@ +QMainWindow { + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.4 rgb(194, 216, 242), + stop: 0.4 rgb(194, 216, 242), stop: 1.0 rgb(156, 193, 239)); + color:rgb(59, 90, 130); +} + +QWidget{ + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.4 rgb(194, 216, 242), + stop: 0.4 rgb(194, 216, 242), stop: 1.0 rgb(156, 193, 239)); + color:rgb(59, 90, 130); +} + +QDockWidget > QWidget { + border-style:none; + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.4 rgb(194, 216, 242), + stop: 0.4 rgb(194, 216, 242), stop: 1.0 rgb(156, 193, 239)); + + padding:1px; + border-radius: 0px; + + border-top: 2px solid rgb(136, 163, 205); + border-left: 2px solid rgb(136, 163, 205); + border-bottom: 1px solid rgb(255, 255, 255); + border-right: 1px solid rgb(255, 255, 255); +} + +QWidget > QDockWidget { + background:white; +} + +QCalendarWidget > QWidget > QToolButton { + border-style:none; + color:rgb(59, 90, 130); + background:transparent; + padding:1px; + border-radius: 0px; +} + +QCalendarWidget > QWidget#qt_calendar_navigationbar{ + border-top: 2px solid rgb(136, 163, 205); + border-left: 2px solid rgb(136, 163, 205); + border-bottom: 1px solid rgb(255, 255, 255); + border-right: 1px solid rgb(255, 255, 255); + background:transparent; + border-top-left-radius: 8px; + border-top-right-radius: 8px; +} + +QCalendarWidget > QWidget#qt_calendar_calendarview { + border-top: 2px solid rgb(136, 163, 205); + border-left: 2px solid rgb(136, 163, 205); + border-bottom: 1px solid rgb(255, 255, 255); + border-right: 1px solid rgb(255, 255, 255); + background:white; + border-radius: 0px; + border-bottom-left-radius: 8px; + border-bottom-right-radius: 8px; +} + +QGroupBox { + border: 1px solid gray; + border-radius: 5px; + margin-top: 1ex; + font-size: 11px; + font-weight: bold; +} + +QGroupBox::title { + subcontrol-origin: margin; + subcontrol-position: top left; + padding: 0 3px; +} + +QTabWidget::pane { + margin: 1px, 1px, 1px, 1px; + border-left: 1px solid rgb(255, 255, 255); + border-top: 1px solid rgb(255, 255, 255); + border-bottom: 2px solid rgb(136, 163, 205); + border-right: 2px solid rgb(136, 163, 205); + border-radius: 8px; + border-top-left-radius: 0px; + padding: 0px; +} + +QTabBar::tab { + + background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.4 rgb(194, 216, 242), + stop: 0.4 rgb(194, 216, 242), stop: 1.0 rgb(217, 231, 247)); + border-left: 1px solid rgb(255, 255, 255); + border-top: 1px solid rgb(255, 255, 255); + border-bottom: 1px solid rgb(136, 163, 205); + border-right: 1px solid rgb(136, 163, 205); + border-top-right-radius: 15; + border-top-left-radius: 5; + color:rgb(59, 90, 130); + padding:5px; + min-width: 80px; +} + + +QTabBar::tab:!selected { +margin-top: 3px; /* make non-selected tabs look smaller */ +} + +QTabBar::tab:first { + background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.4 rgb(194, 216, 242), + stop: 0.4 rgb(194, 216, 242), stop: 1.0 rgb(217, 231, 247)); + + border-left: 1px solid rgb(255, 255, 255); + border-top: 1px solid rgb(255, 255, 255); + border-bottom: 1px solid rgb(136, 163, 205); + border-right: 1px solid rgb(136, 163, 205); + border-top-right-radius: 15; + border-top-left-radius: 5; + color:rgb(59, 90, 130); + padding:5px; +} + +QTabBar::tab::selected { + background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.8 rgb(194, 216, 242), + stop: 0.2 rgb(194, 216, 242), stop: 1.0 rgb(217, 231, 247)); + border-left: 1px solid rgb(255, 255, 255); + border-top: 1px solid rgb(255, 255, 255); + border-bottom: 1px solid rgb(136, 163, 205); + border-right: 2px solid rgb(136, 163, 205); + border-top-right-radius: 15; + border-top-left-radius: 5; + color:rgb(59, 90, 130); + padding:5px; +} + +QTabWidget::tab-bar { +left: 0px; /* move to the right by 5px */ +} + +QTabBar::tab:hover { +background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, +stop: 0 rgb(217, 231, 247), stop: 0.8 rgb(194, 216, 242), +stop: 0.2 rgb(194, 216, 242), stop: 1.0 rgb(217, 231, 247)); +} + +QPushButton:hover, QToolButton:hover,QComboBox:hover, QCheckBox:hover, QRadioButton:hover { +background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, +stop: 0 rgb(217, 231, 247), stop: 0.8 rgb(194, 216, 242), +stop: 0.2 rgb(194, 216, 242), stop: 1.0 rgb(217, 231, 247)); +} + + + + +QComboBox:!editable { + min-width: 80px; + min-height: 19px; + background:transparent; + border-left: 1px solid rgb(255, 255, 255); + border-top: 1px solid rgb(255, 255, 255); + border-bottom: 2px solid rgb(136, 163, 205); + border-right: 2px solid rgb(136, 163, 205); + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + padding:3px; + border-radius: 8px; +} + +QComboBox:!editable:on { + min-width: 80px; + min-height: 19px; + background:transparent; + border-right: 1px solid rgb(255, 255, 255); + border-bottom: 1px solid rgb(255, 255, 255); + border-top: 2px solid rgb(136, 163, 205); + border-left: 2px solid rgb(136, 163, 205); + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + padding:3px; + border-radius: 8px; +} + +QComboBox:editable { + min-width: 80px; + min-height: 18px; + border-right: 1px solid rgb(255, 255, 255); + border-bottom: 1px solid rgb(255, 255, 255); + border-top: 2px solid rgb(136, 163, 205); + border-left: 2px solid rgb(136, 163, 205); + background:white; + padding:3px; + border-radius: 8px; +} + +QComboBox::drop-down { + subcontrol-origin: padding; + subcontrol-position: top right; + width: 20px; + border-left-width: 1px; + border-left-color: darkgray; + border-left-style: solid; /* just a single line */ +} + +QComboBox::down-arrow { + background-color: transparent; + border-left: 5px solid none; + border-right: 5px solid none; + border-top: 5px solid #808080; + width: 1px; + height: 1px; + +} + +QComboBox QAbstractItemView { + border: 1px solid gray; +} + + + +QLabel { + background-color:transparent; +} + +QLineEdit, QTextEdit { + background:white; + min-width: 80px; + min-height: 16px; + border-right: 1px solid rgb(255, 255, 255); + border-bottom: 1px solid rgb(255, 255, 255); + border-top: 2px solid rgb(136, 163, 205); + border-left: 2px solid rgb(136, 163, 205); + + padding:3px; + border-radius: 8px; +} + +QRadioButton { + background:transparent; + min-width: 80px; + min-height: 20px; + border-left: 1px solid rgb(255, 255, 255); + border-top: 1px solid rgb(255, 255, 255); + border-bottom: 2px solid rgb(136, 163, 205); + border-right: 2px solid rgb(136, 163, 205); + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + + padding:3px; + border-radius: 8px; +} + +QCheckBox { + background:transparent; + min-width: 80px; + min-height: 20px; + border-left: 1px solid rgb(255, 255, 255); + border-top: 1px solid rgb(255, 255, 255); + border-bottom: 2px solid rgb(136, 163, 205); + border-right: 2px solid rgb(136, 163, 205); + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + + padding:3px; + border-radius: 8px; +} + +QPushButton { + border-style:none; + min-width: 80px; + min-height: 20px; + border-left: 1px solid rgb(255, 255, 255); + border-top: 1px solid rgb(255, 255, 255); + + border-bottom: 2px solid rgb(136, 163, 205); + border-right: 2px solid rgb(136, 163, 205); + color:rgb(59, 90, 130); + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + padding:3px; + border-radius: 8px; +} + +QPushButton::pressed { + border-style:none; + border-top: 2px solid rgb(136, 163, 205); + border-left: 2px solid rgb(136, 163, 205); + + border-bottom: 1px solid rgb(255, 255, 255); + border-right: 1px solid rgb(255, 255, 255); + + color:rgb(59, 90, 130); + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + padding:3px; + border-radius: 8px; +} + +QToolButton { + border-style:none; + min-width: 16px; + min-height: 16px; + border-left: 1px solid rgb(255, 255, 255); + border-top: 1px solid rgb(255, 255, 255); + + border-bottom: 2px solid rgb(136, 163, 205); + border-right: 2px solid rgb(136, 163, 205); + color:rgb(59, 90, 130); + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + padding:3px; + border-radius: 8px; +} + +QCheckBox:checked, QRadioButton:checked { +background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, +stop: 0 rgb(217, 231, 247), stop: 0.8 rgb(194, 216, 242), +stop: 0.2 rgb(194, 216, 242), stop: 1.0 rgb(217, 231, 247)); + border-right: 2px solid rgb(255, 255, 255); + border-bottom: 2px solid rgb(255, 255, 255); + border-top: 2px solid rgb(136, 163, 205); + border-left: 2px solid rgb(136, 163, 205); +} + +QCheckBox:indeterminate { +background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, +stop: 0 rgb(217, 231, 247), stop: 0.8 rgb(194, 216, 242), +stop: 0.2 rgb(194, 216, 242), stop: 1.0 rgb(217, 231, 247)); + border-right: 1px solid rgb(255, 255, 255); + border-bottom: 1px solid rgb(255, 255, 255); + + border-top: 1px solid rgb(136, 163, 205); + border-left: 1px solid rgb(136, 163, 205); +} + + +QToolButton:pressed { + border-top: 2px solid rgb(136, 163, 205); + border-left: 2px solid rgb(136, 163, 205); + border-bottom: 1px solid rgb(255, 255, 255); + border-right: 1px solid rgb(255, 255, 255); + color:rgb(59, 90, 130); + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + padding:3px; + border-radius: 8px; +} + +QMenu{ + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + color:rgb(59, 90, 130); +} + +QMenuBar +{ + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + color:rgb(59, 90, 130); +} + +QMenuBar::item +{ + background: transparent; +} + +QTableView { + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-top: 2px solid rgb(136, 163, 205); + border-left: 2px solid rgb(136, 163, 205); + + border-bottom: 1px solid rgb(255, 255, 255); + border-right: 1px solid rgb(255, 255, 255); + border-radius: 8px; + padding: 0 8px; + color:rgb(59, 90, 130); +} + +QHeaderView { + background: transparent; +} +QHeaderView::section { + background: transparent; + border: 1px solid gray; + padding: 3px; +} + +QTreeView { + border-top: 2px solid rgb(136, 163, 205); + border-left: 2px solid rgb(136, 163, 205); + border-bottom: 1px solid rgb(255, 255, 255); + border-right: 1px solid rgb(255, 255, 255); + color:rgb(59, 90, 130); + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-radius: 8px; + show-decoration-selected: 0; +} + +QGroupBox{ + border-top: 2px solid rgb(136, 163, 205); + border-left: 2px solid rgb(136, 163, 205); + border-bottom: 1px solid rgb(255, 255, 255); + border-right: 1px solid rgb(255, 255, 255); + color:rgb(59, 90, 130); + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-radius: 8px; +} + +QToolBox { + border-top: 2px solid rgb(136, 163, 205); + border-left: 2px solid rgb(136, 163, 205); + border-bottom: 1px solid rgb(255, 255, 255); + border-right: 1px solid rgb(255, 255, 255); + color:rgb(59, 90, 130); + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-radius: 8px; +} + +QListWidget { + border-top: 2px solid rgb(136, 163, 205); + border-left: 2px solid rgb(136, 163, 205); + border-bottom: 1px solid rgb(255, 255, 255); + border-right: 1px solid rgb(255, 255, 255); + color:rgb(59, 90, 130); + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-radius: 8px; + show-decoration-selected: 1; +} + +QToolBox > QWidget { + border-top: 2px solid rgb(136, 163, 205); + border-left: 2px solid rgb(136, 163, 205); + border-bottom: 1px solid rgb(255, 255, 255); + border-right: 1px solid rgb(255, 255, 255); + color:rgb(59, 90, 130); + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-radius: 8px; +} + +QToolBox::tab { + border-top: 2px solid rgb(136, 163, 205); + border-left: 2px solid rgb(136, 163, 205); + border-bottom: 1px solid rgb(255, 255, 255); + border-right: 1px solid rgb(255, 255, 255); + color:rgb(59, 90, 130); + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-radius: 8px; +} + +QSpinBox { + background:white; + border-right: 1px solid rgb(255, 255, 255); + border-bottom: 1px solid rgb(255, 255, 255); + border-top: 2px solid rgb(136, 163, 205); + border-left: 2px solid rgb(136, 163, 205); + + padding:3px; + border-radius: 8px; +} + +QDoubleSpinBox { + background:white; + border-right: 1px solid rgb(255, 255, 255); + border-bottom: 1px solid rgb(255, 255, 255); + border-top: 2px solid rgb(136, 163, 205); + border-left: 2px solid rgb(136, 163, 205); + + padding:3px; + border-radius: 8px; +} + +QDateEdit { + background:white; + border-right: 1px solid rgb(255, 255, 255); + border-bottom: 1px solid rgb(255, 255, 255); + border-top: 2px solid rgb(136, 163, 205); + border-left: 2px solid rgb(136, 163, 205); + + padding:3px; + border-radius: 8px; +} + +QTimeEdit { + background:white; + border-right: 1px solid rgb(255, 255, 255); + border-bottom: 1px solid rgb(255, 255, 255); + border-top: 2px solid rgb(136, 163, 205); + border-left: 2px solid rgb(136, 163, 205); + + padding:3px; + border-radius: 8px; +} + +QDateTimeEdit { + background:white; + border-right: 1px solid rgb(255, 255, 255); + border-bottom: 1px solid rgb(255, 255, 255); + border-top: 2px solid rgb(136, 163, 205); + border-left: 2px solid rgb(136, 163, 205); + + padding:3px; + border-radius: 8px; +} + +QSpinBox::up-button { + subcontrol-origin: margin; + subcontrol-position: top right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-top-right-radius: 8px; + border-width: 1px; + width: 16px; + border-top: 2px solid rgb(136, 163, 205); + } + +QDoubleSpinBox::up-button { + subcontrol-origin: margin; + subcontrol-position: top right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-top-right-radius: 8px; + border-width: 1px; + width: 16px; + border-top: 2px solid rgb(136, 163, 205); + } + + QDateEdit::up-button { + subcontrol-origin: margin; + subcontrol-position: top right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-top-right-radius: 8px; + border-width: 1px; + width: 16px; + border-top: 2px solid rgb(136, 163, 205); + } + + QTimeEdit::up-button { + subcontrol-origin: margin; + subcontrol-position: top right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-top-right-radius: 8px; + border-width: 1px; + width: 16px; + border-top: 2px solid rgb(136, 163, 205); + } + +QDateTimeEdit::up-button { + subcontrol-origin: margin; + subcontrol-position: top right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-top-right-radius: 8px; + border-width: 1px; + width: 16px; + border-top: 2px solid rgb(136, 163, 205); + } + +QSpinBox::up-arrow{ + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-bottom: 3px solid #808080; + width: 1px; + height: 1px; +} + +QDoubleSpinBox::up-arrow { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-bottom: 3px solid #808080; + width: 1px; + height: 1px; +} + +QDateEdit::up-arrow { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-bottom: 3px solid #808080; + width: 1px; + height: 1px; +} + +QTimeEdit::up-arrow { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-bottom: 3px solid #808080; + width: 1px; + height: 1px; +} + +QSpinBox::up-button:pressed { + subcontrol-origin: margin; + subcontrol-position: top right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-top-right-radius: 8px; + border-width: 1px; + width: 15px; + border-left: 1px solid #BEBEBE; + border-top: 3px solid rgb(136, 163, 205); + } + +QDoubleSpinBox::up-button:pressed { + subcontrol-origin: margin; + subcontrol-position: top right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-top-right-radius: 8px; + border-width: 1px; + width: 15px; + border-left: 1px solid #BEBEBE; + border-top: 3px solid rgb(136, 163, 205); + } + + QDateEdit::up-button:pressed { + subcontrol-origin: margin; + subcontrol-position: top right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-top-right-radius: 8px; + border-width: 1px; + width: 15px; + border-left: 1px solid #BEBEBE; + border-top: 3px solid rgb(136, 163, 205); + } + + QTimeEdit::up-button:pressed { + subcontrol-origin: margin; + subcontrol-position: top right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-top-right-radius: 8px; + border-width: 1px; + width: 15px; + border-left: 1px solid #BEBEBE; + border-top: 3px solid rgb(136, 163, 205); + } + +QDateTimeEdit::up-button:pressed { + subcontrol-origin: margin; + subcontrol-position: top right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-top-right-radius: 8px; + border-width: 1px; + width: 15px; + border-left: 1px solid #BEBEBE; + border-top: 3px solid rgb(136, 163, 205); + } + + QSpinBox::up-arrow:pressed { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-bottom: 3px solid #808080; + width: 1px; + height: 1px; +} + + QDoubleSpinBox::up-arrow:pressed { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-bottom: 3px solid #808080; + width: 1px; + height: 1px; +} + + QDateEdit::up-arrow:pressed { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-bottom: 3px solid #808080; + width: 1px; + height: 1px; +} + + QTimeEdit::up-arrow:pressed { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-bottom: 3px solid #808080; + width: 1px; + height: 1px; +} + + QSpinBox::down-button { + subcontrol-origin: margin; + subcontrol-position: bottom right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-bottom-right-radius: 8px; + border-width: 1px; + width: 16px; + border-bottom: 0px; + } + + QDoubleSpinBox::down-button { + subcontrol-origin: margin; + subcontrol-position: bottom right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-bottom-right-radius: 8px; + border-width: 1px; + width: 16px; + border-bottom: 0px; + } + + QDateEdit::down-button { + subcontrol-origin: margin; + subcontrol-position: bottom right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-bottom-right-radius: 8px; + border-width: 1px; + width: 16px; + border-bottom: 0px; + } + + QTimeEdit::down-button { + subcontrol-origin: margin; + subcontrol-position: bottom right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-bottom-right-radius: 8px; + border-width: 1px; + width: 16px; + border-bottom: 0px; + } + + QDateTimeEdit::down-button { + subcontrol-origin: margin; + subcontrol-position: bottom right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-bottom-right-radius: 8px; + border-width: 1px; + width: 16px; + border-bottom: 0px; + } + +QSpinBox::down-arrow { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-top: 3px solid #808080; + width: 1px; + height: 1px; +} + +QDoubleSpinBox::down-arrow { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-top: 3px solid #808080; + width: 1px; + height: 1px; +} + +QDateEdit::down-arrow { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-top: 3px solid #808080; + width: 1px; + height: 1px; +} + +QTimeEdit::down-arrow { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-top: 3px solid #808080; + width: 1px; + height: 1px; +} + +QSpinBox::down-button:pressed { + subcontrol-origin: margin; + subcontrol-position: bottom right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-bottom-right-radius: 8px; + border-width: 1px; + width: 14px; + border-left: 1px solid #BEBEBE; + border-top: 1px solid #BEBEBE; + border-right: 1px solid #BEBEBE; + border-bottom: 0px; + } + +QDoubleSpinBox::down-button:pressed { + subcontrol-origin: margin; + subcontrol-position: bottom right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-bottom-right-radius: 8px; + border-width: 1px; + width: 14px; + border-left: 1px solid #BEBEBE; + border-top: 1px solid #BEBEBE; + border-right: 1px solid #BEBEBE; + border-bottom: 0px; + } + + QDateEdit::down-button:pressed { + subcontrol-origin: margin; + subcontrol-position: bottom right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-bottom-right-radius: 8px; + border-width: 1px; + width: 14px; + border-left: 1px solid #BEBEBE; + border-top: 1px solid #BEBEBE; + border-right: 1px solid #BEBEBE; + border-bottom: 0px; + } + + QTimeEdit::down-button:pressed { + subcontrol-origin: margin; + subcontrol-position: bottom right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-bottom-right-radius: 8px; + border-width: 1px; + width: 14px; + border-left: 1px solid #BEBEBE; + border-top: 1px solid #BEBEBE; + border-right: 1px solid #BEBEBE; + border-bottom: 0px; + } + +QDateTimeEdit::down-button:pressed { + subcontrol-origin: margin; + subcontrol-position: bottom right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(217, 231, 247), stop: 0.1 rgb(194, 216, 242), + stop: 0.5 rgb(194, 216, 242), stop: 1.0 rgb(174, 204, 242)); + border-bottom-right-radius: 8px; + border-width: 1px; + width: 14px; + border-left: 1px solid #BEBEBE; + border-top: 1px solid #BEBEBE; + border-right: 1px solid #BEBEBE; + border-bottom: 0px; + } + +QSpinBox::down-arrow:pressed { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-top: 3px solid #808080; + width: 1px; + height: 1px; +} + +QDoubleSpinBox::down-arrow:pressed { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-top: 3px solid #808080; + width: 1px; + height: 1px; +} + +QDateEdit::down-arrow:pressed { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-top: 3px solid #808080; + width: 1px; + height: 1px; +} + +QTimeEdit::down-arrow:pressed { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-top: 3px solid #808080; + width: 1px; + height: 1px; +} \ No newline at end of file diff --git a/Resource/sink/Style_Gray.qss b/Resource/sink/Style_Gray.qss new file mode 100644 index 0000000..aa66128 --- /dev/null +++ b/Resource/sink/Style_Gray.qss @@ -0,0 +1,969 @@ +QMainWindow { + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.4 rgb(155, 155, 155), + stop: 0.4 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + color:white; +} + +QWidget{ + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.4 rgb(155, 155, 155), + stop: 0.4 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + color:white; + font:bold; +} + +QDockWidget > QWidget { + border-style:none; + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.4 rgb(155, 155, 155), + stop: 0.4 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + + padding:1px; + border-radius: 0px; + + border-top: 2px solid darkgrey;; + border-left: 2px solid darkgrey;; + border-bottom: 1px solid gray; + border-right: 1px solid gray; + color: black; +} + +QWidget > QDockWidget { + background:gray; + color: black; + font:normal; +} + +QFrame { + + color: black; + font:normal; +} + +QCalendarWidget > QWidget > QToolButton { + border-style:none; + color:white; + background:transparent; + padding:1px; + border-radius: 0px; +} + +QCalendarWidget > QWidget#qt_calendar_navigationbar{ + border-top: 2px solid darkgrey;; + border-left: 2px solid darkgrey;; + border-bottom: 1px solid gray; + border-right: 1px solid gray; + background:transparent; + border-top-left-radius: 8px; + border-top-right-radius: 8px; +} + +QCalendarWidget > QWidget#qt_calendar_calendarview { + border-top: 2px solid darkgrey;; + border-left: 2px solid darkgrey;; + border-bottom: 1px solid gray; + border-right: 1px solid gray; + background:white; + color:black; + border-radius: 0px; + border-bottom-left-radius: 8px; + border-bottom-right-radius: 8px; +} + +QGroupBox { + border: 1px solid gray; + border-radius: 5px; + margin-top: 1ex; + font-size: 11px; + font-weight: bold; +} + +QGroupBox::title { + subcontrol-origin: margin; + subcontrol-position: top left; + padding: 0 3px; +} + +QTabWidget::pane { + margin: 1px, 1px, 1px, 1px; + border-left: 1px solid gray; + border-top: 1px solid gray; + border-bottom: 2px solid darkgrey;; + border-right: 2px solid darkgrey;; + border-radius: 8px; + border-top-left-radius: 0px; + padding: 0px; +} + +QTabBar::tab { + + background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.4 rgb(155, 155, 155), + stop: 0.4 rgb(155, 155, 155), stop: 1.0 rgb(216, 216, 216)); + border-left: 1px solid gray; + border-top: 1px solid gray; + border-bottom: 1px solid darkgrey;; + border-right: 1px solid darkgrey;; + border-top-right-radius: 15; + border-top-left-radius: 5; + color:white; + padding:5px; + min-width: 80px; +} + + +QTabBar::tab:!selected { +margin-top: 3px; /* make non-selected tabs look smaller */ +} + +QTabBar::tab:first { + background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.4 rgb(155, 155, 155), + stop: 0.4 rgb(155, 155, 155), stop: 1.0 rgb(216, 216, 216)); + + border-left: 1px solid gray; + border-top: 1px solid gray; + border-bottom: 1px solid darkgrey;; + border-right: 1px solid darkgrey;; + border-top-right-radius: 15; + border-top-left-radius: 5; + color:white; + padding:5px; +} + +QTabBar::tab::selected { + background-color:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.8 rgb(155, 155, 155), + stop: 0.2 rgb(155, 155, 155), stop: 1.0 rgb(216, 216, 216)); + border-left: 1px solid gray; + border-top: 1px solid gray; + border-bottom: 1px solid darkgrey;; + border-right: 2px solid darkgrey;; + border-top-right-radius: 15; + border-top-left-radius: 5; + color:white; + padding:5px; +} + +QTabWidget::tab-bar { +left: 0px; /* move to the right by 5px */ +} + +QTabBar::tab:hover { +background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, +stop: 0 rgb(216, 216, 216), stop: 0.8 rgb(155, 155, 155), +stop: 0.2 rgb(155, 155, 155), stop: 1.0 rgb(216, 216, 216)); +} + + + +QComboBox:!editable { + min-width: 80px; + min-height: 19px; + background:transparent; + border-left: 1px solid gray; + border-top: 1px solid gray; + border-bottom: 2px solid darkgrey;; + border-right: 2px solid darkgrey;; + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + padding:3px; + border-radius: 8px; +} + +QComboBox:!editable:on { + min-width: 80px; + min-height: 19px; + background:transparent; + border-right: 1px solid gray; + border-bottom: 1px solid gray; + border-top: 2px solid darkgrey; + border-left: 2px solid darkgrey; + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + padding:3px; + border-radius: 8px; +} + +QComboBox:editable { + min-width: 80px; + min-height: 18px; + border-right: 1px solid gray; + border-bottom: 1px solid gray; + border-top: 2px solid darkgrey; + border-left: 2px solid darkgrey; + background:white; + padding:3px; + border-radius: 8px; +} + +QComboBox::drop-down { + subcontrol-origin: padding; + subcontrol-position: top right; + width: 20px; + border-left-width: 1px; + border-left-color: darkgray; + border-left-style: solid; /* just a single line */ +} + +QComboBox::down-arrow { + background-color: transparent; + border-left: 5px solid none; + border-right: 5px solid none; + border-top: 5px solid #808080; + width: 1px; + height: 1px; + +} + +QComboBox QAbstractItemView { + border: 1px solid gray; +} + + + +QLabel { + background-color:transparent; +} + +QLineEdit, QTextEdit { + background:white; + min-width: 80px; + min-height: 16px; + border-right: 1px solid gray; + border-bottom: 1px solid gray; + border-top: 2px solid darkgrey; + border-left: 2px solid darkgrey; + + padding:3px; + color: black; + font: normal; + border-radius: 8px; +} + +QRadioButton { + background:transparent; + min-width: 80px; + min-height: 20px; + border-left: 1px solid gray; + border-top: 1px solid gray; + border-bottom: 2px solid darkgrey;; + border-right: 2px solid darkgrey;; + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + + padding:3px; + border-radius: 8px; +} + +QCheckBox { + background:transparent; + min-width: 80px; + min-height: 20px; + border-left: 1px solid gray; + border-top: 1px solid gray; + border-bottom: 2px solid darkgrey;; + border-right: 2px solid darkgrey;; + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + + padding:3px; + border-radius: 8px; +} + +QPushButton { + border-style:none; + min-width: 80px; + min-height: 20px; + border-left: 1px solid gray; + border-top: 1px solid gray; + + border-bottom: 2px solid darkgrey;; + border-right: 2px solid darkgrey;; + color:white; + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.3 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + padding:3px; + border-radius: 8px; +} + +QPushButton:hover, QToolButton:hover,QComboBox:!editable:hover, QCheckBox:hover, QRadioButton:hover { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.4 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(216, 216, 216)); +} + + +QPushButton::pressed { + border-style:none; + border-left: 2px solid gray; + border-top: 2px solid gray; + + border-bottom: 1px solid grey; + border-right: 1px solid grey; + + color:white; + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + padding:3px; + border-radius: 8px; +} + +QToolButton { + border-style:none; + min-width: 16px; + min-height: 16px; + border-left: 1px solid gray; + border-top: 1px solid gray; + + border-bottom: 2px solid darkgrey; + border-right: 2px solid darkgrey; + color:white; + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + padding:3px; + border-radius: 8px; +} + +QCheckBox:checked, QRadioButton:checked { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-left: 2px solid gray; + border-top: 2px solid gray; + + border-bottom: 1px solid grey; + border-right: 1px solid grey; +} + +QCheckBox:indeterminate { +background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-left: 1px solid gray; + border-top: 1px solid gray; + + border-bottom: 1px solid grey; + border-right: 1px solid grey; +} + + +QToolButton:pressed { + border-left: 2px solid gray; + border-top: 2px solid gray; + + border-bottom: 1px solid grey; + border-right: 1px solid grey; + color:white; + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + padding:3px; + border-radius: 8px; +} + +QMenu{ + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + color:white; +} + +QMenuBar +{ + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + color:white; +} + +QMenuBar::item +{ + background: transparent; +} + +QTableView { + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-left: 2px solid gray; + border-top: 2px solid gray; + + border-bottom: 1px solid grey; + border-right: 1px solid grey; + border-radius: 8px; + padding: 0 8px; + color:white; +} + +QHeaderView { + background: transparent; +} +QHeaderView::section { + background: transparent; + border: 1px solid gray; + padding: 3px; +} + +QTreeView { + border-left: 2px solid gray; + border-top: 2px solid gray; + + border-bottom: 1px solid grey; + border-right: 1px solid grey; + color:white; + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-radius: 8px; + show-decoration-selected: 0; +} + +QGroupBox{ + border-left: 2px solid gray; + border-top: 2px solid gray; + + border-bottom: 1px solid grey; + border-right: 1px solid grey; + color:white; + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-radius: 8px; +} + +QToolBox { + border-left: 2px solid gray; + border-top: 2px solid gray; + + border-bottom: 1px solid grey; + border-right: 1px solid grey; + color: black; + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-radius: 8px; +} + +QListWidget { + border-left: 2px solid gray; + border-top: 2px solid gray; + + border-bottom: 1px solid grey; + border-right: 1px solid grey; + color:white; + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-radius: 8px; + show-decoration-selected: 1; +} + +QToolBox > QWidget { + border-left: 2px solid gray; + border-top: 2px solid gray; + + border-bottom: 1px solid grey; + border-right: 1px solid grey; + color: black; + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-radius: 8px; +} + +QToolBox::tab { + border-left: 2px solid gray; + border-top: 2px solid gray; + + border-bottom: 1px solid grey; + border-right: 1px solid grey; + color: black; + font:normal; + background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-radius: 8px; +} + +QSpinBox { + background:white; + border-left: 2px solid gray; + border-top: 2px solid gray; + + border-bottom: 1px solid grey; + border-right: 1px solid grey; + + padding:3px; + border-radius: 8px; + color: black; + font:normal; +} + +QDoubleSpinBox { + background:white; + border-left: 2px solid gray; + border-top: 2px solid gray; + + border-bottom: 1px solid grey; + border-right: 1px solid grey; + + padding:3px; + border-radius: 8px; + color: black; + font:normal; +} + +QDateEdit { + background:white; + border-left: 2px solid gray; + border-top: 2px solid gray; + + border-bottom: 1px solid grey; + border-right: 1px solid grey; + + padding:3px; + border-radius: 8px; + color: black; + font:normal; +} + +QTimeEdit { + background:white; + border-left: 2px solid gray; + border-top: 2px solid gray; + + border-bottom: 1px solid grey; + border-right: 1px solid grey; + + padding:3px; + border-radius: 8px; + color: black; + font:normal; +} + +QDateTimeEdit { + background:white; + border-left: 2px solid gray; + border-top: 2px solid gray; + + border-bottom: 1px solid grey; + border-right: 1px solid grey; + + padding:3px; + border-radius: 8px; + color: black; + font:normal; +} + +QSpinBox::up-button { + subcontrol-origin: margin; + subcontrol-position: top right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-top-right-radius: 8px; + border-width: 1px; + width: 16px; + border-top: 2px solid darkgrey;; + } + +QDoubleSpinBox::up-button { + subcontrol-origin: margin; + subcontrol-position: top right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-top-right-radius: 8px; + border-width: 1px; + width: 16px; + border-top: 2px solid darkgrey;; + } + + QDateEdit::up-button { + subcontrol-origin: margin; + subcontrol-position: top right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-top-right-radius: 8px; + border-width: 1px; + width: 16px; + border-top: 2px solid darkgrey;; + } + + QTimeEdit::up-button { + subcontrol-origin: margin; + subcontrol-position: top right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-top-right-radius: 8px; + border-width: 1px; + width: 16px; + border-top: 2px solid darkgrey;; + } + +QDateTimeEdit::up-button { + subcontrol-origin: margin; + subcontrol-position: top right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-top-right-radius: 8px; + border-width: 1px; + width: 16px; + border-top: 2px solid darkgrey;; + } + +QSpinBox::up-arrow{ + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-bottom: 3px solid #808080; + width: 1px; + height: 1px; +} + +QDoubleSpinBox::up-arrow { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-bottom: 3px solid #808080; + width: 1px; + height: 1px; +} + +QDateEdit::up-arrow { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-bottom: 3px solid #808080; + width: 1px; + height: 1px; +} + +QTimeEdit::up-arrow { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-bottom: 3px solid #808080; + width: 1px; + height: 1px; +} + +QSpinBox::up-button:pressed { + subcontrol-origin: margin; + subcontrol-position: top right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-top-right-radius: 8px; + border-width: 1px; + width: 15px; + border-left: 1px solid #BEBEBE; + border-top: 3px solid darkgrey;; + } + +QDoubleSpinBox::up-button:pressed { + subcontrol-origin: margin; + subcontrol-position: top right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-top-right-radius: 8px; + border-width: 1px; + width: 15px; + border-left: 1px solid #BEBEBE; + border-top: 3px solid darkgrey;; + } + + QDateEdit::up-button:pressed { + subcontrol-origin: margin; + subcontrol-position: top right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-top-right-radius: 8px; + border-width: 1px; + width: 15px; + border-left: 1px solid #BEBEBE; + border-top: 3px solid darkgrey;; + } + + QTimeEdit::up-button:pressed { + subcontrol-origin: margin; + subcontrol-position: top right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-top-right-radius: 8px; + border-width: 1px; + width: 15px; + border-left: 1px solid #BEBEBE; + border-top: 3px solid darkgrey;; + } + +QDateTimeEdit::up-button:pressed { + subcontrol-origin: margin; + subcontrol-position: top right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-top-right-radius: 8px; + border-width: 1px; + width: 15px; + border-left: 1px solid #BEBEBE; + border-top: 3px solid darkgrey;; + } + + QSpinBox::up-arrow:pressed { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-bottom: 3px solid #808080; + width: 1px; + height: 1px; +} + + QDoubleSpinBox::up-arrow:pressed { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-bottom: 3px solid #808080; + width: 1px; + height: 1px; +} + + QDateEdit::up-arrow:pressed { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-bottom: 3px solid #808080; + width: 1px; + height: 1px; +} + + QTimeEdit::up-arrow:pressed { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-bottom: 3px solid #808080; + width: 1px; + height: 1px; +} + + QSpinBox::down-button { + subcontrol-origin: margin; + subcontrol-position: bottom right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-bottom-right-radius: 8px; + border-width: 1px; + width: 16px; + border-bottom: 0px; + } + + QDoubleSpinBox::down-button { + subcontrol-origin: margin; + subcontrol-position: bottom right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-bottom-right-radius: 8px; + border-width: 1px; + width: 16px; + border-bottom: 0px; + } + + QDateEdit::down-button { + subcontrol-origin: margin; + subcontrol-position: bottom right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-bottom-right-radius: 8px; + border-width: 1px; + width: 16px; + border-bottom: 0px; + } + + QTimeEdit::down-button { + subcontrol-origin: margin; + subcontrol-position: bottom right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-bottom-right-radius: 8px; + border-width: 1px; + width: 16px; + border-bottom: 0px; + } + + QDateTimeEdit::down-button { + subcontrol-origin: margin; + subcontrol-position: bottom right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-bottom-right-radius: 8px; + border-width: 1px; + width: 16px; + border-bottom: 0px; + } + +QSpinBox::down-arrow { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-top: 3px solid #808080; + width: 1px; + height: 1px; +} + +QDoubleSpinBox::down-arrow { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-top: 3px solid #808080; + width: 1px; + height: 1px; +} + +QDateEdit::down-arrow { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-top: 3px solid #808080; + width: 1px; + height: 1px; +} + +QTimeEdit::down-arrow { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-top: 3px solid #808080; + width: 1px; + height: 1px; +} + +QSpinBox::down-button:pressed { + subcontrol-origin: margin; + subcontrol-position: bottom right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-bottom-right-radius: 8px; + border-width: 1px; + width: 14px; + border-left: 1px solid #BEBEBE; + border-top: 1px solid #BEBEBE; + border-right: 1px solid #BEBEBE; + border-bottom: 0px; + } + +QDoubleSpinBox::down-button:pressed { + subcontrol-origin: margin; + subcontrol-position: bottom right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-bottom-right-radius: 8px; + border-width: 1px; + width: 14px; + border-left: 1px solid #BEBEBE; + border-top: 1px solid #BEBEBE; + border-right: 1px solid #BEBEBE; + border-bottom: 0px; + } + + QDateEdit::down-button:pressed { + subcontrol-origin: margin; + subcontrol-position: bottom right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-bottom-right-radius: 8px; + border-width: 1px; + width: 14px; + border-left: 1px solid #BEBEBE; + border-top: 1px solid #BEBEBE; + border-right: 1px solid #BEBEBE; + border-bottom: 0px; + } + + QTimeEdit::down-button:pressed { + subcontrol-origin: margin; + subcontrol-position: bottom right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-bottom-right-radius: 8px; + border-width: 1px; + width: 14px; + border-left: 1px solid #BEBEBE; + border-top: 1px solid #BEBEBE; + border-right: 1px solid #BEBEBE; + border-bottom: 0px; + } + +QDateTimeEdit::down-button:pressed { + subcontrol-origin: margin; + subcontrol-position: bottom right; + background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, + stop: 0 rgb(216, 216, 216), stop: 0.1 rgb(155, 155, 155), + stop: 0.5 rgb(155, 155, 155), stop: 1.0 rgb(207, 203, 207)); + border-bottom-right-radius: 8px; + border-width: 1px; + width: 14px; + border-left: 1px solid #BEBEBE; + border-top: 1px solid #BEBEBE; + border-right: 1px solid #BEBEBE; + border-bottom: 0px; + } + +QSpinBox::down-arrow:pressed { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-top: 3px solid #808080; + width: 1px; + height: 1px; +} + +QDoubleSpinBox::down-arrow:pressed { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-top: 3px solid #808080; + width: 1px; + height: 1px; +} + +QDateEdit::down-arrow:pressed { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-top: 3px solid #808080; + width: 1px; + height: 1px; +} + +QTimeEdit::down-arrow:pressed { + background-color: transparent; + border-left: 3px solid none; + border-right: 3px solid none; + border-top: 3px solid #808080; + width: 1px; + height: 1px; +} \ No newline at end of file diff --git a/Resource/translations/app_cs.ts b/Resource/translations/app_cs.ts index 0065120..6a1f9a5 100644 --- a/Resource/translations/app_cs.ts +++ b/Resource/translations/app_cs.ts @@ -382,21 +382,31 @@ Email:kl222@126.com - Blue + Gradient blue + Blue + + + + + Gradient Dark + + + + Dark - + Change Style Sheet(&S) - + Open File diff --git a/Resource/translations/app_da.ts b/Resource/translations/app_da.ts index 22d48dc..31130db 100644 --- a/Resource/translations/app_da.ts +++ b/Resource/translations/app_da.ts @@ -382,21 +382,31 @@ Email:kl222@126.com - Blue + Gradient blue + Blue + + + + + Gradient Dark + + + + Dark - + Change Style Sheet(&S) - + Open File diff --git a/Resource/translations/app_de.ts b/Resource/translations/app_de.ts index 2cfa6ed..b6f3bbb 100644 --- a/Resource/translations/app_de.ts +++ b/Resource/translations/app_de.ts @@ -382,21 +382,31 @@ Email:kl222@126.com - Blue + Gradient blue + Blue + + + + + Gradient Dark + + + + Dark - + Change Style Sheet(&S) - + Open File diff --git a/Resource/translations/app_fr.ts b/Resource/translations/app_fr.ts index 430ceec..524349e 100644 --- a/Resource/translations/app_fr.ts +++ b/Resource/translations/app_fr.ts @@ -382,21 +382,31 @@ Email:kl222@126.com - Blue + Gradient blue + Blue + + + + + Gradient Dark + + + + Dark - + Change Style Sheet(&S) - + Open File diff --git a/Resource/translations/app_hu.ts b/Resource/translations/app_hu.ts index bfc9993..787a430 100644 --- a/Resource/translations/app_hu.ts +++ b/Resource/translations/app_hu.ts @@ -382,21 +382,31 @@ Email:kl222@126.com - Blue + Gradient blue + Blue + + + + + Gradient Dark + + + + Dark - + Change Style Sheet(&S) - + Open File diff --git a/Resource/translations/app_ja.ts b/Resource/translations/app_ja.ts index f2cdb0e..85038ed 100644 --- a/Resource/translations/app_ja.ts +++ b/Resource/translations/app_ja.ts @@ -382,21 +382,31 @@ Email:kl222@126.com - Blue + Gradient blue + Blue + + + + + Gradient Dark + + + + Dark - + Change Style Sheet(&S) - + Open File diff --git a/Resource/translations/app_ko.ts b/Resource/translations/app_ko.ts index 4ba191f..2df64c7 100644 --- a/Resource/translations/app_ko.ts +++ b/Resource/translations/app_ko.ts @@ -382,21 +382,31 @@ Email:kl222@126.com - Blue + Gradient blue + Blue + + + + + Gradient Dark + + + + Dark - + Change Style Sheet(&S) - + Open File diff --git a/Resource/translations/app_pl.ts b/Resource/translations/app_pl.ts index 24a7426..19d4db8 100644 --- a/Resource/translations/app_pl.ts +++ b/Resource/translations/app_pl.ts @@ -382,21 +382,31 @@ Email:kl222@126.com - Blue + Gradient blue + Blue + + + + + Gradient Dark + + + + Dark - + Change Style Sheet(&S) - + Open File diff --git a/Resource/translations/app_ru.ts b/Resource/translations/app_ru.ts index 93cda24..d5db00f 100644 --- a/Resource/translations/app_ru.ts +++ b/Resource/translations/app_ru.ts @@ -382,21 +382,31 @@ Email:kl222@126.com - Blue + Gradient blue + Blue + + + + + Gradient Dark + + + + Dark - + Change Style Sheet(&S) - + Open File diff --git a/Resource/translations/app_sk.ts b/Resource/translations/app_sk.ts index 4231384..caf6535 100644 --- a/Resource/translations/app_sk.ts +++ b/Resource/translations/app_sk.ts @@ -382,21 +382,31 @@ Email:kl222@126.com - Blue + Gradient blue + Blue + + + + + Gradient Dark + + + + Dark - + Change Style Sheet(&S) - + Open File diff --git a/Resource/translations/app_sl.ts b/Resource/translations/app_sl.ts index c29f5e6..14fda83 100644 --- a/Resource/translations/app_sl.ts +++ b/Resource/translations/app_sl.ts @@ -382,21 +382,31 @@ Email:kl222@126.com - Blue + Gradient blue + Blue + + + + + Gradient Dark + + + + Dark - + Change Style Sheet(&S) - + Open File diff --git a/Resource/translations/app_uk.ts b/Resource/translations/app_uk.ts index f97426a..a8d4023 100644 --- a/Resource/translations/app_uk.ts +++ b/Resource/translations/app_uk.ts @@ -382,21 +382,31 @@ Email:kl222@126.com - Blue + Gradient blue + Blue + + + + + Gradient Dark + + + + Dark - + Change Style Sheet(&S) - + Open File diff --git a/Resource/translations/app_zh_CN.ts b/Resource/translations/app_zh_CN.ts index 320c0d2..298adf7 100644 --- a/Resource/translations/app_zh_CN.ts +++ b/Resource/translations/app_zh_CN.ts @@ -383,21 +383,31 @@ Email:kl222@126.com + Gradient blue + 渐变蓝色 + + + Blue 蓝色 - + + Gradient Dark + 渐变暗色 + + + Dark 暗色 - + Change Style Sheet(&S) 改变样式(&S) - + Open File 打开文件 diff --git a/Resource/translations/app_zh_TW.ts b/Resource/translations/app_zh_TW.ts index 6912056..d47c139 100644 --- a/Resource/translations/app_zh_TW.ts +++ b/Resource/translations/app_zh_TW.ts @@ -6,98 +6,99 @@ About - + 關於 Rabbit GIS - + 玉兔-地理信息系統 Author:KangLin - + 作者:康林 Informatioin - + 信息 Save As - + 另存為 Build Date: - + 編譯日期: The following two-dimensional code scanning Go Home: - + 掃描下面二維碼打開項目主頁: Home page:https://github.com/KangLin/rabbitim - + 項目主頁:https://github.com/KangLin/rabbitim Version: 1.0.0.0 - + License - + 許可協議 Change log - + 修改日誌 Thanks - + 鳴謝 Copyright (C) 2014 KangLin Studio - + 版權所有 (C) 2014 康林工作室 Version:%1.%2.%3.%4 - + 版本:%1.%2.%3.%4 Build date:%1 %2 - + 編譯日期:%1 %2 Author: KangLin Email:kl222@126.com - + 作者:康林 +郵箱:kl222@126.com Home page: - + 主頁: Copyright (C) 2014 - %1 KangLin Studio - + 版權所有(C) 2014 - %1 康林工作室 Save as - + 另存為 @@ -105,32 +106,32 @@ Email:kl222@126.com Staff - + 標尺 Distance: - + 距離: Path - + 路徑 Great Circle - + M - + KM - + 千米 @@ -138,7 +139,7 @@ Email:kl222@126.com Open file - + 打開文件 @@ -146,130 +147,130 @@ Email:kl222@126.com RabbitGIS - + 玉兔-地理信息系統 File(&F) - + 文件(&F) Options(&O) - + 選項(&O) Language(&L) - + 語言(&L) Tools(&T) - + 工具(&T) Map(&A) - + 地圖(&A) View(&V) - + 視圖(&V) Help(&H) - + 幫助 Open project(&O) - + 打開工程(&O) Open project file - + 打開工程文件 Ctrl+O - + Open track(&T) - + 打開軌跡文件(&T) Open track - + 打開軌跡 Exit(&E) - + 退出(&E) Exit - + 退出 Measure the distance(&M) - + 測量距離(&M) Measure the distance - + 測量距離 About - + 關於 Sava project(&S) - + 保存工程(&S) Sava project - + 保存工程 Ctrl+S - + StatusBar - + 狀態欄 ToolBar - + 工具欄 About(&A) - + 關於(&A) Coordinate: - + 坐標: @@ -277,63 +278,63 @@ Email:kl222@126.com Ready - + 預備 Open project fail - + 打開工程失敗 Loading project ...... - + 加載工程 …… Load project fail:%1 - + 加載工程失敗:%1 Open project file ...... - + 打開工程文件 …… Project file(*.earth);; All(*.*) - + 工程文件(*.earth);; 所有(*.*) Save project to file ...... - + 保存工程到文件 …… Open track file ...... - + 打開軌跡文件 ...... Open track file - + 打開軌跡文件 Track file(*.gpx);; nmea file(*.txt *.nmea);; All(*.*) - + 軌跡文件(*.gpx);; GPS nmea文件(*.txt *.nmea);; 所有(*.*) Start - + 開始 End - + 結束 @@ -343,62 +344,72 @@ Email:kl222@126.com Default - + 默認 English - + 英語 Chinese - + 中文 Chinese(TaiWan) - + 中文(臺灣) Information - + 信息 Change language must reset program. - + 改變語言必須重啟程序。 Custom - + 自定義 System - + 系統 - Blue - + Gradient blue + 漸變藍色 + Blue + 藍色 + + + + Gradient Dark + 漸變暗色 + + + Dark - + 暗色 - + Change Style Sheet(&S) - + 改變樣式(&S) - + Open File - + 打開文件