diff --git a/CMakeLists.txt b/CMakeLists.txt index b5699b7..509de80 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -196,7 +196,6 @@ set(PROJECT_SOURCES ui/widget/RouteItem.ui res/neko.qrc - res/theme/feiyangqingyun/qss.qrc ${QV2RAY_RC} db/RouteEntity.h db/RouteEntity.cpp diff --git a/res/theme/feiyangqingyun/qss.qrc b/res/theme/feiyangqingyun/qss.qrc deleted file mode 100644 index 5541c0d..0000000 --- a/res/theme/feiyangqingyun/qss.qrc +++ /dev/null @@ -1,76 +0,0 @@ - - - qss/flatgray.css - qss/lightblue.css - qss/flatgray/add_bottom.png - qss/flatgray/add_left.png - qss/flatgray/add_right.png - qss/flatgray/add_top.png - qss/flatgray/arrow_bottom.png - qss/flatgray/arrow_left.png - qss/flatgray/arrow_right.png - qss/flatgray/arrow_top.png - qss/flatgray/branch_close.png - qss/flatgray/branch_open.png - qss/flatgray/calendar_nextmonth.png - qss/flatgray/calendar_prevmonth.png - qss/flatgray/checkbox_checked.png - qss/flatgray/checkbox_checked_disable.png - qss/flatgray/checkbox_parcial.png - qss/flatgray/checkbox_parcial_disable.png - qss/flatgray/checkbox_unchecked.png - qss/flatgray/checkbox_unchecked_disable.png - qss/flatgray/menu_checked.png - qss/flatgray/radiobutton_checked.png - qss/flatgray/radiobutton_checked_disable.png - qss/flatgray/radiobutton_unchecked.png - qss/flatgray/radiobutton_unchecked_disable.png - qss/lightblue/add_bottom.png - qss/lightblue/add_left.png - qss/lightblue/add_right.png - qss/lightblue/add_top.png - qss/lightblue/arrow_bottom.png - qss/lightblue/arrow_left.png - qss/lightblue/arrow_right.png - qss/lightblue/arrow_top.png - qss/lightblue/branch_close.png - qss/lightblue/branch_open.png - qss/lightblue/calendar_nextmonth.png - qss/lightblue/calendar_prevmonth.png - qss/lightblue/checkbox_checked.png - qss/lightblue/checkbox_checked_disable.png - qss/lightblue/checkbox_parcial.png - qss/lightblue/checkbox_parcial_disable.png - qss/lightblue/checkbox_unchecked.png - qss/lightblue/checkbox_unchecked_disable.png - qss/lightblue/menu_checked.png - qss/lightblue/radiobutton_checked.png - qss/lightblue/radiobutton_checked_disable.png - qss/lightblue/radiobutton_unchecked.png - qss/lightblue/radiobutton_unchecked_disable.png - qss/blacksoft.css - qss/blacksoft/add_bottom.png - qss/blacksoft/add_left.png - qss/blacksoft/add_right.png - qss/blacksoft/add_top.png - qss/blacksoft/arrow_bottom.png - qss/blacksoft/arrow_left.png - qss/blacksoft/arrow_right.png - qss/blacksoft/arrow_top.png - qss/blacksoft/branch_close.png - qss/blacksoft/branch_open.png - qss/blacksoft/calendar_nextmonth.png - qss/blacksoft/calendar_prevmonth.png - qss/blacksoft/checkbox_checked.png - qss/blacksoft/checkbox_checked_disable.png - qss/blacksoft/checkbox_parcial.png - qss/blacksoft/checkbox_parcial_disable.png - qss/blacksoft/checkbox_unchecked.png - qss/blacksoft/checkbox_unchecked_disable.png - qss/blacksoft/menu_checked.png - qss/blacksoft/radiobutton_checked.png - qss/blacksoft/radiobutton_checked_disable.png - qss/blacksoft/radiobutton_unchecked.png - qss/blacksoft/radiobutton_unchecked_disable.png - - diff --git a/res/theme/feiyangqingyun/qss/blacksoft.css b/res/theme/feiyangqingyun/qss/blacksoft.css deleted file mode 100644 index 09a607a..0000000 --- a/res/theme/feiyangqingyun/qss/blacksoft.css +++ /dev/null @@ -1,679 +0,0 @@ -QPalette{background:#444444;}*{outline:0px;color:#DCDCDC;} - -QGraphicsView{ -border:1px solid #242424; -qproperty-backgroundBrush:#444444; -} - -QWidget[form="true"],QLabel[frameShape="1"]{ -border:1px solid #242424; -border-radius:0px; -} - -QWidget[form="bottom"]{ -background:#484848; -} - -QWidget[form="bottom"] .QFrame{ -border:1px solid #DCDCDC; -} - -QWidget[form="bottom"] QLabel,QWidget[form="title"] QLabel{ -border-radius:0px; -color:#DCDCDC; -background:none; -border-style:none; -} - -QWidget[form="title"],QWidget[nav="left"],QWidget[nav="top"] QAbstractButton{ -border-style:none; -border-radius:0px; -padding:5px; -color:#DCDCDC; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838); -} - -QWidget[nav="top"] QAbstractButton:hover,QWidget[nav="top"] QAbstractButton:pressed,QWidget[nav="top"] QAbstractButton:checked{ -border-style:solid; -border-width:0px 0px 2px 0px; -padding:4px 4px 2px 4px; -border-color:#AAAAAA; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #646464,stop:1 #525252); -} - -QWidget[nav="left"] QAbstractButton{ -border-radius:0px; -color:#DCDCDC; -background:none; -border-style:none; -} - -QWidget[nav="left"] QAbstractButton:hover{ -color:#FFFFFF; -background-color:#AAAAAA; -} - -QWidget[nav="left"] QAbstractButton:checked,QWidget[nav="left"] QAbstractButton:pressed{ -color:#DCDCDC; -border-style:solid; -border-width:0px 0px 0px 2px; -padding:4px 4px 4px 2px; -border-color:#AAAAAA; -background-color:#444444; -} - -QWidget[video="true"] QLabel{ -color:#DCDCDC; -border:1px solid #242424; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838); -} - -QWidget[video="true"] QLabel:focus{ -border:1px solid #AAAAAA; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #646464,stop:1 #525252); -} - -QLineEdit:read-only{ -background-color:#484848; -} - -QLineEdit,QTextEdit,QPlainTextEdit,QSpinBox,QDoubleSpinBox,QComboBox,QDateEdit,QTimeEdit,QDateTimeEdit{ -border:1px solid #242424; -border-radius:3px; -padding:2px; -background:none; -selection-background-color:#AAAAAA; -selection-color:#FFFFFF; -} - -QLineEdit:focus,QTextEdit:focus,QPlainTextEdit:focus,QSpinBox:focus,QDoubleSpinBox:focus,QComboBox:focus,QDateEdit:focus,QTimeEdit:focus,QDateTimeEdit:focus,QLineEdit:hover,QTextEdit:hover,QPlainTextEdit:hover,QSpinBox:hover,QDoubleSpinBox:hover,QComboBox:hover,QDateEdit:hover,QTimeEdit:hover,QDateTimeEdit:hover{ -border:1px solid #242424; -} - -QLineEdit[echoMode="2"]{ -lineedit-password-character:9679; -} - -.QFrame{ -border:1px solid #242424; -border-radius:3px; -} - -.QGroupBox{ -border:1px solid #242424; -border-radius:5px; -margin-top:3ex; -} - -.QGroupBox::title{ -subcontrol-origin:margin; -position:relative; -left:10px; -} - -.QPushButton,.QToolButton{ -border-style:none; -border:1px solid #242424; -color:#DCDCDC; -padding:5px; -min-height:15px; -border-radius:5px; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838); -} - -.QPushButton:hover,.QToolButton:hover{ -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #646464,stop:1 #525252); -} - -.QPushButton:pressed,.QToolButton:pressed{ -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838); -} - -.QToolButton::menu-indicator{ -image:None; -} - -QToolButton#btnMenu,QPushButton#btnMenu_Min,QPushButton#btnMenu_Max,QPushButton#btnMenu_Close{ -border-radius:3px; -color:#DCDCDC; -padding:3px; -margin:0px; -background:none; -border-style:none; -} - -QToolButton#btnMenu:hover,QPushButton#btnMenu_Min:hover,QPushButton#btnMenu_Max:hover{ -color:#FFFFFF; -margin:1px 1px 2px 1px; -background-color:rgba(51,127,209,230); -} - -QPushButton#btnMenu_Close:hover{ -color:#FFFFFF; -margin:1px 1px 2px 1px; -background-color:rgba(238,0,0,128); -} - -QRadioButton::indicator{ -width:15px; -height:15px; -} - -QRadioButton::indicator::unchecked{ -image:url(:/qss/blacksoft/radiobutton_unchecked.png); -} - -QRadioButton::indicator::unchecked:disabled{ -image:url(:/qss/blacksoft/radiobutton_unchecked_disable.png); -} - -QRadioButton::indicator::checked{ -image:url(:/qss/blacksoft/radiobutton_checked.png); -} - -QRadioButton::indicator::checked:disabled{ -image:url(:/qss/blacksoft/radiobutton_checked_disable.png); -} - -QGroupBox::indicator,QTreeView::indicator,QListView::indicator,QTableView::indicator{ -padding:0px 0px 0px 0px; -} - -QCheckBox::indicator,QGroupBox::indicator,QTreeView::indicator,QListView::indicator,QTableView::indicator{ -width:13px; -height:13px; -} - -QCheckBox::indicator:unchecked,QGroupBox::indicator:unchecked,QTreeView::indicator:unchecked,QListView::indicator:unchecked,QTableView::indicator:unchecked{ -image:url(:/qss/blacksoft/checkbox_unchecked.png); -} - -QCheckBox::indicator:unchecked:disabled,QGroupBox::indicator:unchecked:disabled,QTreeView::indicator:unchecked:disabled,QListView::indicator:unchecked:disabled,QTableView::indicator:unchecked:disabled{ -image:url(:/qss/blacksoft/checkbox_unchecked_disable.png); -} - -QCheckBox::indicator:checked,QGroupBox::indicator:checked,QTreeView::indicator:checked,QListView::indicator:checked,QTableView::indicator:checked{ -image:url(:/qss/blacksoft/checkbox_checked.png); -} - -QCheckBox::indicator:checked:disabled,QGroupBox::indicator:checked:disabled,QTreeView::indicator:checked:disabled,QListView::indicator:checked:disabled,QTableView::indicator:checked:disabled{ -image:url(:/qss/blacksoft/checkbox_checked_disable.png); -} - -QCheckBox::indicator:indeterminate,QGroupBox::indicator:indeterminate,QTreeView::indicator:indeterminate,QListView::indicator:indeterminate,QTableView::indicator:indeterminate{ -image:url(:/qss/blacksoft/checkbox_parcial.png); -} - -QCheckBox::indicator:indeterminate:disabled,QGroupBox::indicator:indeterminate:disabled,QTreeView::indicator:indeterminate:disabled,QListView::indicator:indeterminate:disabled,QTableView::indicator:indeterminate:disabled{ -image:url(:/qss/blacksoft/checkbox_parcial_disable.png); -} - -QTimeEdit::up-button,QDateEdit::up-button,QDateTimeEdit::up-button,QDoubleSpinBox::up-button,QSpinBox::up-button{ -image:url(:/qss/blacksoft/add_top.png); -width:10px; -height:10px; -padding:2px 5px 0px 0px; -} - -QTimeEdit::down-button,QDateEdit::down-button,QDateTimeEdit::down-button,QDoubleSpinBox::down-button,QSpinBox::down-button{ -image:url(:/qss/blacksoft/add_bottom.png); -width:10px; -height:10px; -padding:0px 5px 2px 0px; -} - -QTimeEdit::up-button:pressed,QDateEdit::up-button:pressed,QDateTimeEdit::up-button:pressed,QDoubleSpinBox::up-button:pressed,QSpinBox::up-button:pressed{ -top:-2px; -} - -QTimeEdit::down-button:pressed,QDateEdit::down-button:pressed,QDateTimeEdit::down-button:pressed,QDoubleSpinBox::down-button:pressed,QSpinBox::down-button:pressed,QSpinBox::down-button:pressed{ -bottom:-2px; -} - -QComboBox::down-arrow,QDateEdit[calendarPopup="true"]::down-arrow,QTimeEdit[calendarPopup="true"]::down-arrow,QDateTimeEdit[calendarPopup="true"]::down-arrow{ -image:url(:/qss/blacksoft/add_bottom.png); -width:10px; -height:10px; -right:2px; -} - -QComboBox::drop-down,QDateEdit::drop-down,QTimeEdit::drop-down,QDateTimeEdit::drop-down{ -subcontrol-origin:padding; -subcontrol-position:top right; -width:15px; -border-left-width:0px; -border-left-style:solid; -border-top-right-radius:3px; -border-bottom-right-radius:3px; -border-left-color:#242424; -} - -QComboBox::drop-down:on{ -top:1px; -} - -QMenuBar::item{ -color:#DCDCDC; -background-color:#484848; -margin:0px; -padding:3px 10px; -} - -QMenu,QMenuBar,QMenu:disabled,QMenuBar:disabled{ -color:#DCDCDC; -background-color:#484848; -border:1px solid #242424; -margin:0px; -} - -QMenu::item{ -padding:3px 20px; -} - -QMenu::indicator{ -width:20px; -height:13px; -} - -QMenu::indicator::checked{ -image:url(:/qss/blacksoft/menu_checked.png); -} - -QMenu::right-arrow{ -image:url(:/qss/blacksoft/arrow_right.png); -width:13px; -height:13px; -padding:0px 3px 0px 0px; -} - -QMenu::item:selected,QMenuBar::item:selected{ -color:#DCDCDC; -border:0px solid #242424; -background:#646464; -} - -QMenu::separator{ -height:1px; -background:#242424; -} - -QProgressBar{ -min-height:10px; -background:#484848; -border-radius:5px; -text-align:center; -border:1px solid #484848; -} - -QProgressBar:chunk{ -border-radius:5px; -background-color:#242424; -} - -QSlider::groove:horizontal{ -height:8px; -border-radius:4px; -background:#484848; -} - -QSlider::add-page:horizontal{ -height:8px; -border-radius:4px; -background:#484848; -} - -QSlider::sub-page:horizontal{ -height:8px; -border-radius:4px; -background:#242424; -} - -QSlider::handle:horizontal{ -width:13px; -margin-top:-3px; -margin-bottom:-3px; -border-radius:6px; -background:qradialgradient(spread:pad,cx:0.5,cy:0.5,radius:0.5,fx:0.5,fy:0.5,stop:0.6 #444444,stop:0.8 #242424); -} - -QSlider::groove:vertical{ -width:8px; -border-radius:4px; -background:#484848; -} - -QSlider::add-page:vertical{ -width:8px; -border-radius:4px; -background:#242424; -} - -QSlider::sub-page:vertical{ -width:8px; -border-radius:4px; -background:#484848; -} - -QSlider::handle:vertical{ -height:14px; -margin-left:-3px; -margin-right:-3px; -border-radius:6px; -background:qradialgradient(spread:pad,cx:0.5,cy:0.5,radius:0.5,fx:0.5,fy:0.5,stop:0.6 #444444,stop:0.8 #242424); -} - -QScrollBar:horizontal{ -background:#484848; -padding:0px; -border-radius:6px; -max-height:12px; -} - -QScrollBar::handle:horizontal{ -background:#242424; -min-width:50px; -border-radius:6px; -} - -QScrollBar::handle:horizontal:hover{ -background:#AAAAAA; -} - -QScrollBar::handle:horizontal:pressed{ -background:#AAAAAA; -} - -QScrollBar::add-page:horizontal{ -background:none; -} - -QScrollBar::sub-page:horizontal{ -background:none; -} - -QScrollBar::add-line:horizontal{ -background:none; -} - -QScrollBar::sub-line:horizontal{ -background:none; -} - -QScrollBar:vertical{ -background:#484848; -padding:0px; -border-radius:6px; -max-width:12px; -} - -QScrollBar::handle:vertical{ -background:#242424; -min-height:50px; -border-radius:6px; -} - -QScrollBar::handle:vertical:hover{ -background:#AAAAAA; -} - -QScrollBar::handle:vertical:pressed{ -background:#AAAAAA; -} - -QScrollBar::add-page:vertical{ -background:none; -} - -QScrollBar::sub-page:vertical{ -background:none; -} - -QScrollBar::add-line:vertical{ -background:none; -} - -QScrollBar::sub-line:vertical{ -background:none; -} - -QScrollArea{ -border:0px; -} - -QTreeView,QListView,QTableView,QTabWidget::pane{ -border:1px solid #242424; -selection-background-color:#646464; -selection-color:#DCDCDC; -alternate-background-color:#525252; -gridline-color:#242424; -} - -QTreeView::branch:closed:has-children{ -margin:4px; -border-image:url(:/qss/blacksoft/branch_open.png); -} - -QTreeView::branch:open:has-children{ -margin:4px; -border-image:url(:/qss/blacksoft/branch_close.png); -} - -QTreeView,QListView,QTableView,QSplitter::handle,QTreeView::branch{ -background:#444444; -} - -QTableView::item:selected,QListView::item:selected,QTreeView::item:selected{ -color:#DCDCDC; -background:#383838; -} - -QTableView::item:hover,QListView::item:hover,QTreeView::item:hover,QHeaderView,QHeaderView::section,QTableCornerButton:section{ -color:#DCDCDC; -background:#525252; -} - -QTableView::item,QListView::item,QTreeView::item{ -padding:1px; -margin:0px; -border:0px; -} - -QHeaderView::section,QTableCornerButton:section{ -padding:3px; -margin:0px; -border:1px solid #242424; -border-left-width:0px; -border-right-width:1px; -border-top-width:0px; -border-bottom-width:1px; -} - -QTabBar::tab{ -border:1px solid #242424; -color:#DCDCDC; -margin:0px; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #646464,stop:1 #525252); -} - -QTabBar::tab:selected{ -border-style:solid; -border-color:#AAAAAA; -background:#444444; -} - -QTabBar::tab:top,QTabBar::tab:bottom{ -padding:3px 8px 3px 8px; -} - -QTabBar::tab:left,QTabBar::tab:right{ -padding:8px 3px 8px 3px; -} - -QTabBar::tab:top:selected{ -border-width:2px 0px 0px 0px; -} - -QTabBar::tab:right:selected{ -border-width:0px 0px 0px 2px; -} - -QTabBar::tab:bottom:selected{ -border-width:0px 0px 2px 0px; -} - -QTabBar::tab:left:selected{ -border-width:0px 2px 0px 0px; -} - -QTabBar::tab:first:top:selected,QTabBar::tab:first:bottom:selected{ -border-left-width:1px; -border-left-color:#242424; -} - -QTabBar::tab:first:left:selected,QTabBar::tab:first:right:selected{ -border-top-width:1px; -border-top-color:#242424; -} - -QTabBar::tab:last:top:selected,QTabBar::tab:last:bottom:selected{ -border-right-width:1px; -border-right-color:#242424; -} - -QTabBar::tab:last:left:selected,QTabBar::tab:last:right:selected{ -border-bottom-width:1px; -border-bottom-color:#242424; -} - -QStatusBar::item{ -border:0px solid #484848; -border-radius:3px; -} - -QToolBox::tab,QGroupBox#gboxDevicePanel,QGroupBox#gboxDeviceTitle,QFrame#gboxDevicePanel,QFrame#gboxDeviceTitle{ -padding:3px; -border-radius:5px; -color:#DCDCDC; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838); -} - -QToolTip{ -border:0px solid #DCDCDC; -padding:1px; -color:#DCDCDC; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838); -} - -QToolBox::tab:selected{ -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #646464,stop:1 #525252); -} - -QPrintPreviewDialog QToolButton{ -border:0px solid #DCDCDC; -border-radius:0px; -margin:0px; -padding:3px; -background:none; -} - -QColorDialog QPushButton,QFileDialog QPushButton{ -min-width:80px; -} - -QToolButton#qt_calendar_prevmonth{ -icon-size:0px; -min-width:20px; -image:url(:/qss/blacksoft/calendar_prevmonth.png); -} - -QToolButton#qt_calendar_nextmonth{ -icon-size:0px; -min-width:20px; -image:url(:/qss/blacksoft/calendar_nextmonth.png); -} - -QToolButton#qt_calendar_prevmonth,QToolButton#qt_calendar_nextmonth,QToolButton#qt_calendar_monthbutton,QToolButton#qt_calendar_yearbutton{ -border:0px solid #DCDCDC; -border-radius:3px; -margin:3px 3px 3px 3px; -padding:3px; -background:none; -} - -QToolButton#qt_calendar_prevmonth:hover,QToolButton#qt_calendar_nextmonth:hover,QToolButton#qt_calendar_monthbutton:hover,QToolButton#qt_calendar_yearbutton:hover,QToolButton#qt_calendar_prevmonth:pressed,QToolButton#qt_calendar_nextmonth:pressed,QToolButton#qt_calendar_monthbutton:pressed,QToolButton#qt_calendar_yearbutton:pressed{ -border:1px solid #242424; -} - -QCalendarWidget QSpinBox#qt_calendar_yearedit{ -margin:2px; -} - -QCalendarWidget QToolButton::menu-indicator{ -image:None; -} - -QCalendarWidget QTableView{ -border-width:0px; -} - -QCalendarWidget QWidget#qt_calendar_navigationbar{ -border:1px solid #242424; -border-width:1px 1px 0px 1px; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #484848,stop:1 #383838); -} - -QTableView[model="true"]::item{ -padding:0px; -margin:0px; -} - -QTableView QLineEdit,QTableView QComboBox,QTableView QSpinBox,QTableView QDoubleSpinBox,QTableView QDateEdit,QTableView QTimeEdit,QTableView QDateTimeEdit{ -border-width:0px; -border-radius:0px; -} - -QTableView QLineEdit:focus,QTableView QComboBox:focus,QTableView QSpinBox:focus,QTableView QDoubleSpinBox:focus,QTableView QDateEdit:focus,QTableView QTimeEdit:focus,QTableView QDateTimeEdit:focus{ -border-width:0px; -border-radius:0px; -} - -QLineEdit,QTextEdit,QPlainTextEdit,QSpinBox,QDoubleSpinBox,QComboBox,QDateEdit,QTimeEdit,QDateTimeEdit{ -background:#444444; -} - -QTabWidget::pane:top{top:-1px;} -QTabWidget::pane:bottom{bottom:-1px;} -QTabWidget::pane:left{right:-1px;} -QTabWidget::pane:right{left:-1px;} - -QDialog,QDial,#QUIWidgetMain{ -background-color:#444444; -color:#DCDCDC; -} - -QDialogButtonBox>QPushButton{ -min-width:50px; -} - -QListView[noborder="true"],QTreeView[noborder="true"],QTabWidget[noborder="true"]::pane{ -border-width:0px; -} - -QToolBar>*,QStatusBar>*{ -margin:2px; -} - -*:disabled,QMenu::item:disabled,QTabBar:tab:disabled,QHeaderView::section:disabled{ -background:#444444; -border-color:#484848; -color:#242424; -} - -/*TextColor:#DCDCDC*/ -/*PanelColor:#444444*/ -/*BorderColor:#242424*/ -/*NormalColorStart:#484848*/ -/*NormalColorEnd:#383838*/ -/*DarkColorStart:#646464*/ -/*DarkColorEnd:#525252*/ -/*HighColor:#AAAAAA*/ \ No newline at end of file diff --git a/res/theme/feiyangqingyun/qss/blacksoft/add_bottom.png b/res/theme/feiyangqingyun/qss/blacksoft/add_bottom.png deleted file mode 100644 index b4a5f14..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/add_bottom.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/add_left.png b/res/theme/feiyangqingyun/qss/blacksoft/add_left.png deleted file mode 100644 index 165ebd0..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/add_left.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/add_right.png b/res/theme/feiyangqingyun/qss/blacksoft/add_right.png deleted file mode 100644 index 4c79925..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/add_right.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/add_top.png b/res/theme/feiyangqingyun/qss/blacksoft/add_top.png deleted file mode 100644 index f76300f..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/add_top.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/arrow_bottom.png b/res/theme/feiyangqingyun/qss/blacksoft/arrow_bottom.png deleted file mode 100644 index 39d7cbc..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/arrow_bottom.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/arrow_left.png b/res/theme/feiyangqingyun/qss/blacksoft/arrow_left.png deleted file mode 100644 index 1353cb8..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/arrow_left.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/arrow_right.png b/res/theme/feiyangqingyun/qss/blacksoft/arrow_right.png deleted file mode 100644 index 0e50d47..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/arrow_right.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/arrow_top.png b/res/theme/feiyangqingyun/qss/blacksoft/arrow_top.png deleted file mode 100644 index d2c71e8..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/arrow_top.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/branch_close.png b/res/theme/feiyangqingyun/qss/blacksoft/branch_close.png deleted file mode 100644 index 58a7d13..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/branch_close.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/branch_open.png b/res/theme/feiyangqingyun/qss/blacksoft/branch_open.png deleted file mode 100644 index a072d68..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/branch_open.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/calendar_nextmonth.png b/res/theme/feiyangqingyun/qss/blacksoft/calendar_nextmonth.png deleted file mode 100644 index b06ae31..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/calendar_nextmonth.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/calendar_prevmonth.png b/res/theme/feiyangqingyun/qss/blacksoft/calendar_prevmonth.png deleted file mode 100644 index 46d4d62..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/calendar_prevmonth.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/checkbox_checked.png b/res/theme/feiyangqingyun/qss/blacksoft/checkbox_checked.png deleted file mode 100644 index b5ba6ef..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/checkbox_checked.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/checkbox_checked_disable.png b/res/theme/feiyangqingyun/qss/blacksoft/checkbox_checked_disable.png deleted file mode 100644 index f6aab40..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/checkbox_checked_disable.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/checkbox_parcial.png b/res/theme/feiyangqingyun/qss/blacksoft/checkbox_parcial.png deleted file mode 100644 index cd1645f..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/checkbox_parcial.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/checkbox_parcial_disable.png b/res/theme/feiyangqingyun/qss/blacksoft/checkbox_parcial_disable.png deleted file mode 100644 index dd0918f..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/checkbox_parcial_disable.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/checkbox_unchecked.png b/res/theme/feiyangqingyun/qss/blacksoft/checkbox_unchecked.png deleted file mode 100644 index 8a23968..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/checkbox_unchecked.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/checkbox_unchecked_disable.png b/res/theme/feiyangqingyun/qss/blacksoft/checkbox_unchecked_disable.png deleted file mode 100644 index e2a2262..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/checkbox_unchecked_disable.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/menu_checked.png b/res/theme/feiyangqingyun/qss/blacksoft/menu_checked.png deleted file mode 100644 index 4fca11f..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/menu_checked.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/radiobutton_checked.png b/res/theme/feiyangqingyun/qss/blacksoft/radiobutton_checked.png deleted file mode 100644 index 69e499f..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/radiobutton_checked.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/radiobutton_checked_disable.png b/res/theme/feiyangqingyun/qss/blacksoft/radiobutton_checked_disable.png deleted file mode 100644 index f098cc5..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/radiobutton_checked_disable.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/radiobutton_unchecked.png b/res/theme/feiyangqingyun/qss/blacksoft/radiobutton_unchecked.png deleted file mode 100644 index 3f36472..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/radiobutton_unchecked.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/blacksoft/radiobutton_unchecked_disable.png b/res/theme/feiyangqingyun/qss/blacksoft/radiobutton_unchecked_disable.png deleted file mode 100644 index f729f17..0000000 Binary files a/res/theme/feiyangqingyun/qss/blacksoft/radiobutton_unchecked_disable.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray.css b/res/theme/feiyangqingyun/qss/flatgray.css deleted file mode 100644 index 883e90f..0000000 --- a/res/theme/feiyangqingyun/qss/flatgray.css +++ /dev/null @@ -1,679 +0,0 @@ -QPalette{background:#FFFFFF;}*{outline:0px;color:#57595B;} - -QGraphicsView{ -border:1px solid #B6B6B6; -qproperty-backgroundBrush:#FFFFFF; -} - -QWidget[form="true"],QLabel[frameShape="1"]{ -border:1px solid #B6B6B6; -border-radius:0px; -} - -QWidget[form="bottom"]{ -background:#E4E4E4; -} - -QWidget[form="bottom"] .QFrame{ -border:1px solid #57595B; -} - -QWidget[form="bottom"] QLabel,QWidget[form="title"] QLabel{ -border-radius:0px; -color:#57595B; -background:none; -border-style:none; -} - -QWidget[form="title"],QWidget[nav="left"],QWidget[nav="top"] QAbstractButton{ -border-style:none; -border-radius:0px; -padding:5px; -color:#57595B; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #E4E4E4,stop:1 #E4E4E4); -} - -QWidget[nav="top"] QAbstractButton:hover,QWidget[nav="top"] QAbstractButton:pressed,QWidget[nav="top"] QAbstractButton:checked{ -border-style:solid; -border-width:0px 0px 2px 0px; -padding:4px 4px 2px 4px; -border-color:#575959; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #F6F6F6,stop:1 #F6F6F6); -} - -QWidget[nav="left"] QAbstractButton{ -border-radius:0px; -color:#57595B; -background:none; -border-style:none; -} - -QWidget[nav="left"] QAbstractButton:hover{ -color:#FFFFFF; -background-color:#575959; -} - -QWidget[nav="left"] QAbstractButton:checked,QWidget[nav="left"] QAbstractButton:pressed{ -color:#57595B; -border-style:solid; -border-width:0px 0px 0px 2px; -padding:4px 4px 4px 2px; -border-color:#575959; -background-color:#FFFFFF; -} - -QWidget[video="true"] QLabel{ -color:#57595B; -border:1px solid #B6B6B6; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #E4E4E4,stop:1 #E4E4E4); -} - -QWidget[video="true"] QLabel:focus{ -border:1px solid #575959; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #F6F6F6,stop:1 #F6F6F6); -} - -QLineEdit:read-only{ -background-color:#E4E4E4; -} - -QLineEdit,QTextEdit,QPlainTextEdit,QSpinBox,QDoubleSpinBox,QComboBox,QDateEdit,QTimeEdit,QDateTimeEdit{ -border:1px solid #B6B6B6; -border-radius:3px; -padding:2px; -background:none; -selection-background-color:#575959; -selection-color:#FFFFFF; -} - -QLineEdit:focus,QTextEdit:focus,QPlainTextEdit:focus,QSpinBox:focus,QDoubleSpinBox:focus,QComboBox:focus,QDateEdit:focus,QTimeEdit:focus,QDateTimeEdit:focus,QLineEdit:hover,QTextEdit:hover,QPlainTextEdit:hover,QSpinBox:hover,QDoubleSpinBox:hover,QComboBox:hover,QDateEdit:hover,QTimeEdit:hover,QDateTimeEdit:hover{ -border:1px solid #B6B6B6; -} - -QLineEdit[echoMode="2"]{ -lineedit-password-character:9679; -} - -.QFrame{ -border:1px solid #B6B6B6; -border-radius:3px; -} - -.QGroupBox{ -border:1px solid #B6B6B6; -border-radius:5px; -margin-top:3ex; -} - -.QGroupBox::title{ -subcontrol-origin:margin; -position:relative; -left:10px; -} - -.QPushButton,.QToolButton{ -border-style:none; -border:1px solid #B6B6B6; -color:#57595B; -padding:5px; -min-height:15px; -border-radius:5px; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #E4E4E4,stop:1 #E4E4E4); -} - -.QPushButton:hover,.QToolButton:hover{ -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #F6F6F6,stop:1 #F6F6F6); -} - -.QPushButton:pressed,.QToolButton:pressed{ -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #E4E4E4,stop:1 #E4E4E4); -} - -.QToolButton::menu-indicator{ -image:None; -} - -QToolButton#btnMenu,QPushButton#btnMenu_Min,QPushButton#btnMenu_Max,QPushButton#btnMenu_Close{ -border-radius:3px; -color:#57595B; -padding:3px; -margin:0px; -background:none; -border-style:none; -} - -QToolButton#btnMenu:hover,QPushButton#btnMenu_Min:hover,QPushButton#btnMenu_Max:hover{ -color:#FFFFFF; -margin:1px 1px 2px 1px; -background-color:rgba(51,127,209,230); -} - -QPushButton#btnMenu_Close:hover{ -color:#FFFFFF; -margin:1px 1px 2px 1px; -background-color:rgba(238,0,0,128); -} - -QRadioButton::indicator{ -width:15px; -height:15px; -} - -QRadioButton::indicator::unchecked{ -image:url(:/qss/flatgray/radiobutton_unchecked.png); -} - -QRadioButton::indicator::unchecked:disabled{ -image:url(:/qss/flatgray/radiobutton_unchecked_disable.png); -} - -QRadioButton::indicator::checked{ -image:url(:/qss/flatgray/radiobutton_checked.png); -} - -QRadioButton::indicator::checked:disabled{ -image:url(:/qss/flatgray/radiobutton_checked_disable.png); -} - -QGroupBox::indicator,QTreeView::indicator,QListView::indicator,QTableView::indicator{ -padding:0px 0px 0px 0px; -} - -QCheckBox::indicator,QGroupBox::indicator,QTreeView::indicator,QListView::indicator,QTableView::indicator{ -width:13px; -height:13px; -} - -QCheckBox::indicator:unchecked,QGroupBox::indicator:unchecked,QTreeView::indicator:unchecked,QListView::indicator:unchecked,QTableView::indicator:unchecked{ -image:url(:/qss/flatgray/checkbox_unchecked.png); -} - -QCheckBox::indicator:unchecked:disabled,QGroupBox::indicator:unchecked:disabled,QTreeView::indicator:unchecked:disabled,QListView::indicator:unchecked:disabled,QTableView::indicator:unchecked:disabled{ -image:url(:/qss/flatgray/checkbox_unchecked_disable.png); -} - -QCheckBox::indicator:checked,QGroupBox::indicator:checked,QTreeView::indicator:checked,QListView::indicator:checked,QTableView::indicator:checked{ -image:url(:/qss/flatgray/checkbox_checked.png); -} - -QCheckBox::indicator:checked:disabled,QGroupBox::indicator:checked:disabled,QTreeView::indicator:checked:disabled,QListView::indicator:checked:disabled,QTableView::indicator:checked:disabled{ -image:url(:/qss/flatgray/checkbox_checked_disable.png); -} - -QCheckBox::indicator:indeterminate,QGroupBox::indicator:indeterminate,QTreeView::indicator:indeterminate,QListView::indicator:indeterminate,QTableView::indicator:indeterminate{ -image:url(:/qss/flatgray/checkbox_parcial.png); -} - -QCheckBox::indicator:indeterminate:disabled,QGroupBox::indicator:indeterminate:disabled,QTreeView::indicator:indeterminate:disabled,QListView::indicator:indeterminate:disabled,QTableView::indicator:indeterminate:disabled{ -image:url(:/qss/flatgray/checkbox_parcial_disable.png); -} - -QTimeEdit::up-button,QDateEdit::up-button,QDateTimeEdit::up-button,QDoubleSpinBox::up-button,QSpinBox::up-button{ -image:url(:/qss/flatgray/add_top.png); -width:10px; -height:10px; -padding:2px 5px 0px 0px; -} - -QTimeEdit::down-button,QDateEdit::down-button,QDateTimeEdit::down-button,QDoubleSpinBox::down-button,QSpinBox::down-button{ -image:url(:/qss/flatgray/add_bottom.png); -width:10px; -height:10px; -padding:0px 5px 2px 0px; -} - -QTimeEdit::up-button:pressed,QDateEdit::up-button:pressed,QDateTimeEdit::up-button:pressed,QDoubleSpinBox::up-button:pressed,QSpinBox::up-button:pressed{ -top:-2px; -} - -QTimeEdit::down-button:pressed,QDateEdit::down-button:pressed,QDateTimeEdit::down-button:pressed,QDoubleSpinBox::down-button:pressed,QSpinBox::down-button:pressed,QSpinBox::down-button:pressed{ -bottom:-2px; -} - -QComboBox::down-arrow,QDateEdit[calendarPopup="true"]::down-arrow,QTimeEdit[calendarPopup="true"]::down-arrow,QDateTimeEdit[calendarPopup="true"]::down-arrow{ -image:url(:/qss/flatgray/add_bottom.png); -width:10px; -height:10px; -right:2px; -} - -QComboBox::drop-down,QDateEdit::drop-down,QTimeEdit::drop-down,QDateTimeEdit::drop-down{ -subcontrol-origin:padding; -subcontrol-position:top right; -width:15px; -border-left-width:0px; -border-left-style:solid; -border-top-right-radius:3px; -border-bottom-right-radius:3px; -border-left-color:#B6B6B6; -} - -QComboBox::drop-down:on{ -top:1px; -} - -QMenuBar::item{ -color:#57595B; -background-color:#E4E4E4; -margin:0px; -padding:3px 10px; -} - -QMenu,QMenuBar,QMenu:disabled,QMenuBar:disabled{ -color:#57595B; -background-color:#E4E4E4; -border:1px solid #B6B6B6; -margin:0px; -} - -QMenu::item{ -padding:3px 20px; -} - -QMenu::indicator{ -width:20px; -height:13px; -} - -QMenu::indicator::checked{ -image:url(:/qss/flatgray/menu_checked.png); -} - -QMenu::right-arrow{ -image:url(:/qss/flatgray/arrow_right.png); -width:13px; -height:13px; -padding:0px 3px 0px 0px; -} - -QMenu::item:selected,QMenuBar::item:selected{ -color:#57595B; -border:0px solid #B6B6B6; -background:#F6F6F6; -} - -QMenu::separator{ -height:1px; -background:#B6B6B6; -} - -QProgressBar{ -min-height:10px; -background:#E4E4E4; -border-radius:5px; -text-align:center; -border:1px solid #E4E4E4; -} - -QProgressBar:chunk{ -border-radius:5px; -background-color:#B6B6B6; -} - -QSlider::groove:horizontal{ -height:8px; -border-radius:4px; -background:#E4E4E4; -} - -QSlider::add-page:horizontal{ -height:8px; -border-radius:4px; -background:#E4E4E4; -} - -QSlider::sub-page:horizontal{ -height:8px; -border-radius:4px; -background:#B6B6B6; -} - -QSlider::handle:horizontal{ -width:13px; -margin-top:-3px; -margin-bottom:-3px; -border-radius:6px; -background:qradialgradient(spread:pad,cx:0.5,cy:0.5,radius:0.5,fx:0.5,fy:0.5,stop:0.6 #FFFFFF,stop:0.8 #B6B6B6); -} - -QSlider::groove:vertical{ -width:8px; -border-radius:4px; -background:#E4E4E4; -} - -QSlider::add-page:vertical{ -width:8px; -border-radius:4px; -background:#B6B6B6; -} - -QSlider::sub-page:vertical{ -width:8px; -border-radius:4px; -background:#E4E4E4; -} - -QSlider::handle:vertical{ -height:14px; -margin-left:-3px; -margin-right:-3px; -border-radius:6px; -background:qradialgradient(spread:pad,cx:0.5,cy:0.5,radius:0.5,fx:0.5,fy:0.5,stop:0.6 #FFFFFF,stop:0.8 #B6B6B6); -} - -QScrollBar:horizontal{ -background:#E4E4E4; -padding:0px; -border-radius:6px; -max-height:12px; -} - -QScrollBar::handle:horizontal{ -background:#B6B6B6; -min-width:50px; -border-radius:6px; -} - -QScrollBar::handle:horizontal:hover{ -background:#575959; -} - -QScrollBar::handle:horizontal:pressed{ -background:#575959; -} - -QScrollBar::add-page:horizontal{ -background:none; -} - -QScrollBar::sub-page:horizontal{ -background:none; -} - -QScrollBar::add-line:horizontal{ -background:none; -} - -QScrollBar::sub-line:horizontal{ -background:none; -} - -QScrollBar:vertical{ -background:#E4E4E4; -padding:0px; -border-radius:6px; -max-width:12px; -} - -QScrollBar::handle:vertical{ -background:#B6B6B6; -min-height:50px; -border-radius:6px; -} - -QScrollBar::handle:vertical:hover{ -background:#575959; -} - -QScrollBar::handle:vertical:pressed{ -background:#575959; -} - -QScrollBar::add-page:vertical{ -background:none; -} - -QScrollBar::sub-page:vertical{ -background:none; -} - -QScrollBar::add-line:vertical{ -background:none; -} - -QScrollBar::sub-line:vertical{ -background:none; -} - -QScrollArea{ -border:0px; -} - -QTreeView,QListView,QTableView,QTabWidget::pane{ -border:1px solid #B6B6B6; -selection-background-color:#F6F6F6; -selection-color:#57595B; -alternate-background-color:#F6F6F6; -gridline-color:#B6B6B6; -} - -QTreeView::branch:closed:has-children{ -margin:4px; -border-image:url(:/qss/flatgray/branch_open.png); -} - -QTreeView::branch:open:has-children{ -margin:4px; -border-image:url(:/qss/flatgray/branch_close.png); -} - -QTreeView,QListView,QTableView,QSplitter::handle,QTreeView::branch{ -background:#FFFFFF; -} - -QTableView::item:selected,QListView::item:selected,QTreeView::item:selected{ -color:#57595B; -background:#E4E4E4; -} - -QTableView::item:hover,QListView::item:hover,QTreeView::item:hover,QHeaderView,QHeaderView::section,QTableCornerButton:section{ -color:#57595B; -background:#F6F6F6; -} - -QTableView::item,QListView::item,QTreeView::item{ -padding:1px; -margin:0px; -border:0px; -} - -QHeaderView::section,QTableCornerButton:section{ -padding:3px; -margin:0px; -border:1px solid #B6B6B6; -border-left-width:0px; -border-right-width:1px; -border-top-width:0px; -border-bottom-width:1px; -} - -QTabBar::tab{ -border:1px solid #B6B6B6; -color:#57595B; -margin:0px; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #F6F6F6,stop:1 #F6F6F6); -} - -QTabBar::tab:selected{ -border-style:solid; -border-color:#575959; -background:#FFFFFF; -} - -QTabBar::tab:top,QTabBar::tab:bottom{ -padding:3px 8px 3px 8px; -} - -QTabBar::tab:left,QTabBar::tab:right{ -padding:8px 3px 8px 3px; -} - -QTabBar::tab:top:selected{ -border-width:2px 0px 0px 0px; -} - -QTabBar::tab:right:selected{ -border-width:0px 0px 0px 2px; -} - -QTabBar::tab:bottom:selected{ -border-width:0px 0px 2px 0px; -} - -QTabBar::tab:left:selected{ -border-width:0px 2px 0px 0px; -} - -QTabBar::tab:first:top:selected,QTabBar::tab:first:bottom:selected{ -border-left-width:1px; -border-left-color:#B6B6B6; -} - -QTabBar::tab:first:left:selected,QTabBar::tab:first:right:selected{ -border-top-width:1px; -border-top-color:#B6B6B6; -} - -QTabBar::tab:last:top:selected,QTabBar::tab:last:bottom:selected{ -border-right-width:1px; -border-right-color:#B6B6B6; -} - -QTabBar::tab:last:left:selected,QTabBar::tab:last:right:selected{ -border-bottom-width:1px; -border-bottom-color:#B6B6B6; -} - -QStatusBar::item{ -border:0px solid #E4E4E4; -border-radius:3px; -} - -QToolBox::tab,QGroupBox#gboxDevicePanel,QGroupBox#gboxDeviceTitle,QFrame#gboxDevicePanel,QFrame#gboxDeviceTitle{ -padding:3px; -border-radius:5px; -color:#57595B; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #E4E4E4,stop:1 #E4E4E4); -} - -QToolTip{ -border:0px solid #57595B; -padding:1px; -color:#57595B; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #E4E4E4,stop:1 #E4E4E4); -} - -QToolBox::tab:selected{ -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #F6F6F6,stop:1 #F6F6F6); -} - -QPrintPreviewDialog QToolButton{ -border:0px solid #57595B; -border-radius:0px; -margin:0px; -padding:3px; -background:none; -} - -QColorDialog QPushButton,QFileDialog QPushButton{ -min-width:80px; -} - -QToolButton#qt_calendar_prevmonth{ -icon-size:0px; -min-width:20px; -image:url(:/qss/flatgray/calendar_prevmonth.png); -} - -QToolButton#qt_calendar_nextmonth{ -icon-size:0px; -min-width:20px; -image:url(:/qss/flatgray/calendar_nextmonth.png); -} - -QToolButton#qt_calendar_prevmonth,QToolButton#qt_calendar_nextmonth,QToolButton#qt_calendar_monthbutton,QToolButton#qt_calendar_yearbutton{ -border:0px solid #57595B; -border-radius:3px; -margin:3px 3px 3px 3px; -padding:3px; -background:none; -} - -QToolButton#qt_calendar_prevmonth:hover,QToolButton#qt_calendar_nextmonth:hover,QToolButton#qt_calendar_monthbutton:hover,QToolButton#qt_calendar_yearbutton:hover,QToolButton#qt_calendar_prevmonth:pressed,QToolButton#qt_calendar_nextmonth:pressed,QToolButton#qt_calendar_monthbutton:pressed,QToolButton#qt_calendar_yearbutton:pressed{ -border:1px solid #B6B6B6; -} - -QCalendarWidget QSpinBox#qt_calendar_yearedit{ -margin:2px; -} - -QCalendarWidget QToolButton::menu-indicator{ -image:None; -} - -QCalendarWidget QTableView{ -border-width:0px; -} - -QCalendarWidget QWidget#qt_calendar_navigationbar{ -border:1px solid #B6B6B6; -border-width:1px 1px 0px 1px; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #E4E4E4,stop:1 #E4E4E4); -} - -QTableView[model="true"]::item{ -padding:0px; -margin:0px; -} - -QTableView QLineEdit,QTableView QComboBox,QTableView QSpinBox,QTableView QDoubleSpinBox,QTableView QDateEdit,QTableView QTimeEdit,QTableView QDateTimeEdit{ -border-width:0px; -border-radius:0px; -} - -QTableView QLineEdit:focus,QTableView QComboBox:focus,QTableView QSpinBox:focus,QTableView QDoubleSpinBox:focus,QTableView QDateEdit:focus,QTableView QTimeEdit:focus,QTableView QDateTimeEdit:focus{ -border-width:0px; -border-radius:0px; -} - -QLineEdit,QTextEdit,QPlainTextEdit,QSpinBox,QDoubleSpinBox,QComboBox,QDateEdit,QTimeEdit,QDateTimeEdit{ -background:#FFFFFF; -} - -QTabWidget::pane:top{top:-1px;} -QTabWidget::pane:bottom{bottom:-1px;} -QTabWidget::pane:left{right:-1px;} -QTabWidget::pane:right{left:-1px;} - -QDialog,QDial,#QUIWidgetMain{ -background-color:#FFFFFF; -color:#57595B; -} - -QDialogButtonBox>QPushButton{ -min-width:50px; -} - -QListView[noborder="true"],QTreeView[noborder="true"],QTabWidget[noborder="true"]::pane{ -border-width:0px; -} - -QToolBar>*,QStatusBar>*{ -margin:2px; -} - -*:disabled,QMenu::item:disabled,QTabBar:tab:disabled,QHeaderView::section:disabled{ -background:#FFFFFF; -border-color:#E4E4E4; -color:#B6B6B6; -} - -/*TextColor:#57595B*/ -/*PanelColor:#FFFFFF*/ -/*BorderColor:#B6B6B6*/ -/*NormalColorStart:#E4E4E4*/ -/*NormalColorEnd:#E4E4E4*/ -/*DarkColorStart:#F6F6F6*/ -/*DarkColorEnd:#F6F6F6*/ -/*HighColor:#575959*/ \ No newline at end of file diff --git a/res/theme/feiyangqingyun/qss/flatgray/add_bottom.png b/res/theme/feiyangqingyun/qss/flatgray/add_bottom.png deleted file mode 100644 index 868e687..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/add_bottom.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/add_left.png b/res/theme/feiyangqingyun/qss/flatgray/add_left.png deleted file mode 100644 index d9d5127..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/add_left.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/add_right.png b/res/theme/feiyangqingyun/qss/flatgray/add_right.png deleted file mode 100644 index be8dd1a..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/add_right.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/add_top.png b/res/theme/feiyangqingyun/qss/flatgray/add_top.png deleted file mode 100644 index ef55ce1..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/add_top.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/arrow_bottom.png b/res/theme/feiyangqingyun/qss/flatgray/arrow_bottom.png deleted file mode 100644 index 37307b7..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/arrow_bottom.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/arrow_left.png b/res/theme/feiyangqingyun/qss/flatgray/arrow_left.png deleted file mode 100644 index aa4312b..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/arrow_left.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/arrow_right.png b/res/theme/feiyangqingyun/qss/flatgray/arrow_right.png deleted file mode 100644 index 4db5efa..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/arrow_right.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/arrow_top.png b/res/theme/feiyangqingyun/qss/flatgray/arrow_top.png deleted file mode 100644 index 0da1cad..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/arrow_top.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/branch_close.png b/res/theme/feiyangqingyun/qss/flatgray/branch_close.png deleted file mode 100644 index f5b6d34..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/branch_close.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/branch_open.png b/res/theme/feiyangqingyun/qss/flatgray/branch_open.png deleted file mode 100644 index 6392c13..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/branch_open.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/calendar_nextmonth.png b/res/theme/feiyangqingyun/qss/flatgray/calendar_nextmonth.png deleted file mode 100644 index 6cb40d7..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/calendar_nextmonth.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/calendar_prevmonth.png b/res/theme/feiyangqingyun/qss/flatgray/calendar_prevmonth.png deleted file mode 100644 index 8a17d0f..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/calendar_prevmonth.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/checkbox_checked.png b/res/theme/feiyangqingyun/qss/flatgray/checkbox_checked.png deleted file mode 100644 index 8808382..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/checkbox_checked.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/checkbox_checked_disable.png b/res/theme/feiyangqingyun/qss/flatgray/checkbox_checked_disable.png deleted file mode 100644 index 9aa0a10..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/checkbox_checked_disable.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/checkbox_parcial.png b/res/theme/feiyangqingyun/qss/flatgray/checkbox_parcial.png deleted file mode 100644 index 97376f3..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/checkbox_parcial.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/checkbox_parcial_disable.png b/res/theme/feiyangqingyun/qss/flatgray/checkbox_parcial_disable.png deleted file mode 100644 index b9b286f..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/checkbox_parcial_disable.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/checkbox_unchecked.png b/res/theme/feiyangqingyun/qss/flatgray/checkbox_unchecked.png deleted file mode 100644 index 50c25e2..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/checkbox_unchecked.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/checkbox_unchecked_disable.png b/res/theme/feiyangqingyun/qss/flatgray/checkbox_unchecked_disable.png deleted file mode 100644 index 7c4c7db..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/checkbox_unchecked_disable.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/menu_checked.png b/res/theme/feiyangqingyun/qss/flatgray/menu_checked.png deleted file mode 100644 index 6a1c729..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/menu_checked.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/radiobutton_checked.png b/res/theme/feiyangqingyun/qss/flatgray/radiobutton_checked.png deleted file mode 100644 index 513a41e..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/radiobutton_checked.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/radiobutton_checked_disable.png b/res/theme/feiyangqingyun/qss/flatgray/radiobutton_checked_disable.png deleted file mode 100644 index 8d16af5..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/radiobutton_checked_disable.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/radiobutton_unchecked.png b/res/theme/feiyangqingyun/qss/flatgray/radiobutton_unchecked.png deleted file mode 100644 index 8ef34fb..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/radiobutton_unchecked.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/flatgray/radiobutton_unchecked_disable.png b/res/theme/feiyangqingyun/qss/flatgray/radiobutton_unchecked_disable.png deleted file mode 100644 index f70c364..0000000 Binary files a/res/theme/feiyangqingyun/qss/flatgray/radiobutton_unchecked_disable.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue.css b/res/theme/feiyangqingyun/qss/lightblue.css deleted file mode 100644 index 590189b..0000000 --- a/res/theme/feiyangqingyun/qss/lightblue.css +++ /dev/null @@ -1,679 +0,0 @@ -QPalette{background:#EAF7FF;}*{outline:0px;color:#386487;} - -QGraphicsView{ -border:1px solid #C0DCF2; -qproperty-backgroundBrush:#EAF7FF; -} - -QWidget[form="true"],QLabel[frameShape="1"],QGraphicsView{ -border:1px solid #C0DCF2; -border-radius:0px; -} - -QWidget[form="bottom"]{ -background:#DEF0FE; -} - -QWidget[form="bottom"] .QFrame{ -border:1px solid #386487; -} - -QWidget[form="bottom"] QLabel,QWidget[form="title"] QLabel{ -border-radius:0px; -color:#386487; -background:none; -border-style:none; -} - -QWidget[form="title"],QWidget[nav="left"],QWidget[nav="top"] QAbstractButton{ -border-style:none; -border-radius:0px; -padding:5px; -color:#386487; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #DEF0FE,stop:1 #C0DEF6); -} - -QWidget[nav="top"] QAbstractButton:hover,QWidget[nav="top"] QAbstractButton:pressed,QWidget[nav="top"] QAbstractButton:checked{ -border-style:solid; -border-width:0px 0px 2px 0px; -padding:4px 4px 2px 4px; -border-color:#386488; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #F2F9FF,stop:1 #DAEFFF); -} - -QWidget[nav="left"] QAbstractButton{ -border-radius:0px; -color:#386487; -background:none; -border-style:none; -} - -QWidget[nav="left"] QAbstractButton:hover{ -color:#FFFFFF; -background-color:#386488; -} - -QWidget[nav="left"] QAbstractButton:checked,QWidget[nav="left"] QAbstractButton:pressed{ -color:#386487; -border-style:solid; -border-width:0px 0px 0px 2px; -padding:4px 4px 4px 2px; -border-color:#386488; -background-color:#EAF7FF; -} - -QWidget[video="true"] QLabel{ -color:#386487; -border:1px solid #C0DCF2; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #DEF0FE,stop:1 #C0DEF6); -} - -QWidget[video="true"] QLabel:focus{ -border:1px solid #386488; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #F2F9FF,stop:1 #DAEFFF); -} - -QLineEdit:read-only{ -background-color:#DEF0FE; -} - -QLineEdit,QTextEdit,QPlainTextEdit,QSpinBox,QDoubleSpinBox,QComboBox,QDateEdit,QTimeEdit,QDateTimeEdit{ -border:1px solid #C0DCF2; -border-radius:3px; -padding:2px; -background:none; -selection-background-color:#386488; -selection-color:#FFFFFF; -} - -QLineEdit:focus,QTextEdit:focus,QPlainTextEdit:focus,QSpinBox:focus,QDoubleSpinBox:focus,QComboBox:focus,QDateEdit:focus,QTimeEdit:focus,QDateTimeEdit:focus,QLineEdit:hover,QTextEdit:hover,QPlainTextEdit:hover,QSpinBox:hover,QDoubleSpinBox:hover,QComboBox:hover,QDateEdit:hover,QTimeEdit:hover,QDateTimeEdit:hover{ -border:1px solid #C0DCF2; -} - -QLineEdit[echoMode="2"]{ -lineedit-password-character:9679; -} - -.QFrame{ -border:1px solid #C0DCF2; -border-radius:3px; -} - -.QGroupBox{ -border:1px solid #C0DCF2; -border-radius:5px; -margin-top:3ex; -} - -.QGroupBox::title{ -subcontrol-origin:margin; -position:relative; -left:10px; -} - -.QPushButton,.QToolButton{ -border-style:none; -border:1px solid #C0DCF2; -color:#386487; -padding:5px; -min-height:15px; -border-radius:5px; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #DEF0FE,stop:1 #C0DEF6); -} - -.QPushButton:hover,.QToolButton:hover{ -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #F2F9FF,stop:1 #DAEFFF); -} - -.QPushButton:pressed,.QToolButton:pressed{ -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #DEF0FE,stop:1 #C0DEF6); -} - -.QToolButton::menu-indicator{ -image:None; -} - -QToolButton#btnMenu,QPushButton#btnMenu_Min,QPushButton#btnMenu_Max,QPushButton#btnMenu_Close{ -border-radius:3px; -color:#386487; -padding:3px; -margin:0px; -background:none; -border-style:none; -} - -QToolButton#btnMenu:hover,QPushButton#btnMenu_Min:hover,QPushButton#btnMenu_Max:hover{ -color:#FFFFFF; -margin:1px 1px 2px 1px; -background-color:rgba(51,127,209,230); -} - -QPushButton#btnMenu_Close:hover{ -color:#FFFFFF; -margin:1px 1px 2px 1px; -background-color:rgba(238,0,0,128); -} - -QRadioButton::indicator{ -width:15px; -height:15px; -} - -QRadioButton::indicator::unchecked{ -image:url(:/qss/lightblue/radiobutton_unchecked.png); -} - -QRadioButton::indicator::unchecked:disabled{ -image:url(:/qss/lightblue/radiobutton_unchecked_disable.png); -} - -QRadioButton::indicator::checked{ -image:url(:/qss/lightblue/radiobutton_checked.png); -} - -QRadioButton::indicator::checked:disabled{ -image:url(:/qss/lightblue/radiobutton_checked_disable.png); -} - -QGroupBox::indicator,QTreeView::indicator,QListView::indicator,QTableView::indicator{ -padding:0px 0px 0px 0px; -} - -QCheckBox::indicator,QGroupBox::indicator,QTreeView::indicator,QListView::indicator,QTableView::indicator{ -width:13px; -height:13px; -} - -QCheckBox::indicator:unchecked,QGroupBox::indicator:unchecked,QTreeView::indicator:unchecked,QListView::indicator:unchecked,QTableView::indicator:unchecked{ -image:url(:/qss/lightblue/checkbox_unchecked.png); -} - -QCheckBox::indicator:unchecked:disabled,QGroupBox::indicator:unchecked:disabled,QTreeView::indicator:unchecked:disabled,QListView::indicator:unchecked:disabled,QTableView::indicator:unchecked:disabled{ -image:url(:/qss/lightblue/checkbox_unchecked_disable.png); -} - -QCheckBox::indicator:checked,QGroupBox::indicator:checked,QTreeView::indicator:checked,QListView::indicator:checked,QTableView::indicator:checked{ -image:url(:/qss/lightblue/checkbox_checked.png); -} - -QCheckBox::indicator:checked:disabled,QGroupBox::indicator:checked:disabled,QTreeView::indicator:checked:disabled,QListView::indicator:checked:disabled,QTableView::indicator:checked:disabled{ -image:url(:/qss/lightblue/checkbox_checked_disable.png); -} - -QCheckBox::indicator:indeterminate,QGroupBox::indicator:indeterminate,QTreeView::indicator:indeterminate,QListView::indicator:indeterminate,QTableView::indicator:indeterminate{ -image:url(:/qss/lightblue/checkbox_parcial.png); -} - -QCheckBox::indicator:indeterminate:disabled,QGroupBox::indicator:indeterminate:disabled,QTreeView::indicator:indeterminate:disabled,QListView::indicator:indeterminate:disabled,QTableView::indicator:indeterminate:disabled{ -image:url(:/qss/lightblue/checkbox_parcial_disable.png); -} - -QTimeEdit::up-button,QDateEdit::up-button,QDateTimeEdit::up-button,QDoubleSpinBox::up-button,QSpinBox::up-button{ -image:url(:/qss/lightblue/add_top.png); -width:10px; -height:10px; -padding:2px 5px 0px 0px; -} - -QTimeEdit::down-button,QDateEdit::down-button,QDateTimeEdit::down-button,QDoubleSpinBox::down-button,QSpinBox::down-button{ -image:url(:/qss/lightblue/add_bottom.png); -width:10px; -height:10px; -padding:0px 5px 2px 0px; -} - -QTimeEdit::up-button:pressed,QDateEdit::up-button:pressed,QDateTimeEdit::up-button:pressed,QDoubleSpinBox::up-button:pressed,QSpinBox::up-button:pressed{ -top:-2px; -} - -QTimeEdit::down-button:pressed,QDateEdit::down-button:pressed,QDateTimeEdit::down-button:pressed,QDoubleSpinBox::down-button:pressed,QSpinBox::down-button:pressed,QSpinBox::down-button:pressed{ -bottom:-2px; -} - -QComboBox::down-arrow,QDateEdit[calendarPopup="true"]::down-arrow,QTimeEdit[calendarPopup="true"]::down-arrow,QDateTimeEdit[calendarPopup="true"]::down-arrow{ -image:url(:/qss/lightblue/add_bottom.png); -width:10px; -height:10px; -right:2px; -} - -QComboBox::drop-down,QDateEdit::drop-down,QTimeEdit::drop-down,QDateTimeEdit::drop-down{ -subcontrol-origin:padding; -subcontrol-position:top right; -width:15px; -border-left-width:0px; -border-left-style:solid; -border-top-right-radius:3px; -border-bottom-right-radius:3px; -border-left-color:#C0DCF2; -} - -QComboBox::drop-down:on{ -top:1px; -} - -QMenuBar::item{ -color:#386487; -background-color:#DEF0FE; -margin:0px; -padding:3px 10px; -} - -QMenu,QMenuBar,QMenu:disabled,QMenuBar:disabled{ -color:#386487; -background-color:#DEF0FE; -border:1px solid #C0DCF2; -margin:0px; -} - -QMenu::item{ -padding:3px 20px; -} - -QMenu::indicator{ -width:20px; -height:13px; -} - -QMenu::indicator::checked{ -image:url(:/qss/lightblue/menu_checked.png); -} - -QMenu::right-arrow{ -image:url(:/qss/lightblue/arrow_right.png); -width:13px; -height:13px; -padding:0px 3px 0px 0px; -} - -QMenu::item:selected,QMenuBar::item:selected{ -color:#386487; -border:0px solid #C0DCF2; -background:#F2F9FF; -} - -QMenu::separator{ -height:1px; -background:#C0DCF2; -} - -QProgressBar{ -min-height:10px; -background:#DEF0FE; -border-radius:5px; -text-align:center; -border:1px solid #DEF0FE; -} - -QProgressBar:chunk{ -border-radius:5px; -background-color:#C0DCF2; -} - -QSlider::groove:horizontal{ -height:8px; -border-radius:4px; -background:#DEF0FE; -} - -QSlider::add-page:horizontal{ -height:8px; -border-radius:4px; -background:#DEF0FE; -} - -QSlider::sub-page:horizontal{ -height:8px; -border-radius:4px; -background:#C0DCF2; -} - -QSlider::handle:horizontal{ -width:13px; -margin-top:-3px; -margin-bottom:-3px; -border-radius:6px; -background:qradialgradient(spread:pad,cx:0.5,cy:0.5,radius:0.5,fx:0.5,fy:0.5,stop:0.6 #EAF7FF,stop:0.8 #C0DCF2); -} - -QSlider::groove:vertical{ -width:8px; -border-radius:4px; -background:#DEF0FE; -} - -QSlider::add-page:vertical{ -width:8px; -border-radius:4px; -background:#C0DCF2; -} - -QSlider::sub-page:vertical{ -width:8px; -border-radius:4px; -background:#DEF0FE; -} - -QSlider::handle:vertical{ -height:14px; -margin-left:-3px; -margin-right:-3px; -border-radius:6px; -background:qradialgradient(spread:pad,cx:0.5,cy:0.5,radius:0.5,fx:0.5,fy:0.5,stop:0.6 #EAF7FF,stop:0.8 #C0DCF2); -} - -QScrollBar:horizontal{ -background:#DEF0FE; -padding:0px; -border-radius:6px; -max-height:12px; -} - -QScrollBar::handle:horizontal{ -background:#C0DCF2; -min-width:50px; -border-radius:6px; -} - -QScrollBar::handle:horizontal:hover{ -background:#386488; -} - -QScrollBar::handle:horizontal:pressed{ -background:#386488; -} - -QScrollBar::add-page:horizontal{ -background:none; -} - -QScrollBar::sub-page:horizontal{ -background:none; -} - -QScrollBar::add-line:horizontal{ -background:none; -} - -QScrollBar::sub-line:horizontal{ -background:none; -} - -QScrollBar:vertical{ -background:#DEF0FE; -padding:0px; -border-radius:6px; -max-width:12px; -} - -QScrollBar::handle:vertical{ -background:#C0DCF2; -min-height:50px; -border-radius:6px; -} - -QScrollBar::handle:vertical:hover{ -background:#386488; -} - -QScrollBar::handle:vertical:pressed{ -background:#386488; -} - -QScrollBar::add-page:vertical{ -background:none; -} - -QScrollBar::sub-page:vertical{ -background:none; -} - -QScrollBar::add-line:vertical{ -background:none; -} - -QScrollBar::sub-line:vertical{ -background:none; -} - -QScrollArea{ -border:0px; -} - -QTreeView,QListView,QTableView,QTabWidget::pane{ -border:1px solid #C0DCF2; -selection-background-color:#F2F9FF; -selection-color:#386487; -alternate-background-color:#DAEFFF; -gridline-color:#C0DCF2; -} - -QTreeView::branch:closed:has-children{ -margin:4px; -border-image:url(:/qss/lightblue/branch_open.png); -} - -QTreeView::branch:open:has-children{ -margin:4px; -border-image:url(:/qss/lightblue/branch_close.png); -} - -QTreeView,QListView,QTableView,QSplitter::handle,QTreeView::branch{ -background:#EAF7FF; -} - -QTableView::item:selected,QListView::item:selected,QTreeView::item:selected{ -color:#386487; -background:#C0DEF6; -} - -QTableView::item:hover,QListView::item:hover,QTreeView::item:hover,QHeaderView,QHeaderView::section,QTableCornerButton:section{ -color:#386487; -background:#DAEFFF; -} - -QTableView::item,QListView::item,QTreeView::item{ -padding:1px; -margin:0px; -border:0px; -} - -QHeaderView::section,QTableCornerButton:section{ -padding:3px; -margin:0px; -border:1px solid #C0DCF2; -border-left-width:0px; -border-right-width:1px; -border-top-width:0px; -border-bottom-width:1px; -} - -QTabBar::tab{ -border:1px solid #C0DCF2; -color:#386487; -margin:0px; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #F2F9FF,stop:1 #DAEFFF); -} - -QTabBar::tab:selected{ -border-style:solid; -border-color:#386488; -background:#EAF7FF; -} - -QTabBar::tab:top,QTabBar::tab:bottom{ -padding:3px 8px 3px 8px; -} - -QTabBar::tab:left,QTabBar::tab:right{ -padding:8px 3px 8px 3px; -} - -QTabBar::tab:top:selected{ -border-width:2px 0px 0px 0px; -} - -QTabBar::tab:right:selected{ -border-width:0px 0px 0px 2px; -} - -QTabBar::tab:bottom:selected{ -border-width:0px 0px 2px 0px; -} - -QTabBar::tab:left:selected{ -border-width:0px 2px 0px 0px; -} - -QTabBar::tab:first:top:selected,QTabBar::tab:first:bottom:selected{ -border-left-width:1px; -border-left-color:#C0DCF2; -} - -QTabBar::tab:first:left:selected,QTabBar::tab:first:right:selected{ -border-top-width:1px; -border-top-color:#C0DCF2; -} - -QTabBar::tab:last:top:selected,QTabBar::tab:last:bottom:selected{ -border-right-width:1px; -border-right-color:#C0DCF2; -} - -QTabBar::tab:last:left:selected,QTabBar::tab:last:right:selected{ -border-bottom-width:1px; -border-bottom-color:#C0DCF2; -} - -QStatusBar::item{ -border:0px solid #DEF0FE; -border-radius:3px; -} - -QToolBox::tab,QGroupBox#gboxDevicePanel,QGroupBox#gboxDeviceTitle,QFrame#gboxDevicePanel,QFrame#gboxDeviceTitle{ -padding:3px; -border-radius:5px; -color:#386487; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #DEF0FE,stop:1 #C0DEF6); -} - -QToolTip{ -border:0px solid #386487; -padding:1px; -color:#386487; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #DEF0FE,stop:1 #C0DEF6); -} - -QToolBox::tab:selected{ -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #F2F9FF,stop:1 #DAEFFF); -} - -QPrintPreviewDialog QToolButton{ -border:0px solid #386487; -border-radius:0px; -margin:0px; -padding:3px; -background:none; -} - -QColorDialog QPushButton,QFileDialog QPushButton{ -min-width:80px; -} - -QToolButton#qt_calendar_prevmonth{ -icon-size:0px; -min-width:20px; -image:url(:/qss/lightblue/calendar_prevmonth.png); -} - -QToolButton#qt_calendar_nextmonth{ -icon-size:0px; -min-width:20px; -image:url(:/qss/lightblue/calendar_nextmonth.png); -} - -QToolButton#qt_calendar_prevmonth,QToolButton#qt_calendar_nextmonth,QToolButton#qt_calendar_monthbutton,QToolButton#qt_calendar_yearbutton{ -border:0px solid #386487; -border-radius:3px; -margin:3px 3px 3px 3px; -padding:3px; -background:none; -} - -QToolButton#qt_calendar_prevmonth:hover,QToolButton#qt_calendar_nextmonth:hover,QToolButton#qt_calendar_monthbutton:hover,QToolButton#qt_calendar_yearbutton:hover,QToolButton#qt_calendar_prevmonth:pressed,QToolButton#qt_calendar_nextmonth:pressed,QToolButton#qt_calendar_monthbutton:pressed,QToolButton#qt_calendar_yearbutton:pressed{ -border:1px solid #C0DCF2; -} - -QCalendarWidget QSpinBox#qt_calendar_yearedit{ -margin:2px; -} - -QCalendarWidget QToolButton::menu-indicator{ -image:None; -} - -QCalendarWidget QTableView{ -border-width:0px; -} - -QCalendarWidget QWidget#qt_calendar_navigationbar{ -border:1px solid #C0DCF2; -border-width:1px 1px 0px 1px; -background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #DEF0FE,stop:1 #C0DEF6); -} - -QTableView[model="true"]::item{ -padding:0px; -margin:0px; -} - -QTableView QLineEdit,QTableView QComboBox,QTableView QSpinBox,QTableView QDoubleSpinBox,QTableView QDateEdit,QTableView QTimeEdit,QTableView QDateTimeEdit{ -border-width:0px; -border-radius:0px; -} - -QTableView QLineEdit:focus,QTableView QComboBox:focus,QTableView QSpinBox:focus,QTableView QDoubleSpinBox:focus,QTableView QDateEdit:focus,QTableView QTimeEdit:focus,QTableView QDateTimeEdit:focus{ -border-width:0px; -border-radius:0px; -} - -QLineEdit,QTextEdit,QPlainTextEdit,QSpinBox,QDoubleSpinBox,QComboBox,QDateEdit,QTimeEdit,QDateTimeEdit{ -background:#EAF7FF; -} - -QTabWidget::pane:top{top:-1px;} -QTabWidget::pane:bottom{bottom:-1px;} -QTabWidget::pane:left{right:-1px;} -QTabWidget::pane:right{left:-1px;} - -QDialog,QDial,#QUIWidgetMain{ -background-color:#EAF7FF; -color:#386487; -} - -QDialogButtonBox>QPushButton{ -min-width:50px; -} - -QListView[noborder="true"],QTreeView[noborder="true"],QTabWidget[noborder="true"]::pane{ -border-width:0px; -} - -QToolBar>*,QStatusBar>*{ -margin:2px; -} - -*:disabled,QMenu::item:disabled,QTabBar:tab:disabled,QHeaderView::section:disabled{ -background:#EAF7FF; -border-color:#DEF0FE; -color:#C0DCF2; -} - -/*TextColor:#386487*/ -/*PanelColor:#EAF7FF*/ -/*BorderColor:#C0DCF2*/ -/*NormalColorStart:#DEF0FE*/ -/*NormalColorEnd:#C0DEF6*/ -/*DarkColorStart:#F2F9FF*/ -/*DarkColorEnd:#DAEFFF*/ -/*HighColor:#386488*/ \ No newline at end of file diff --git a/res/theme/feiyangqingyun/qss/lightblue/add_bottom.png b/res/theme/feiyangqingyun/qss/lightblue/add_bottom.png deleted file mode 100644 index 99eadb9..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/add_bottom.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/add_left.png b/res/theme/feiyangqingyun/qss/lightblue/add_left.png deleted file mode 100644 index a7329d3..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/add_left.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/add_right.png b/res/theme/feiyangqingyun/qss/lightblue/add_right.png deleted file mode 100644 index 0c0ef6f..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/add_right.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/add_top.png b/res/theme/feiyangqingyun/qss/lightblue/add_top.png deleted file mode 100644 index 911f5b4..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/add_top.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/arrow_bottom.png b/res/theme/feiyangqingyun/qss/lightblue/arrow_bottom.png deleted file mode 100644 index 6dc9f23..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/arrow_bottom.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/arrow_left.png b/res/theme/feiyangqingyun/qss/lightblue/arrow_left.png deleted file mode 100644 index 87171e9..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/arrow_left.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/arrow_right.png b/res/theme/feiyangqingyun/qss/lightblue/arrow_right.png deleted file mode 100644 index 604def6..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/arrow_right.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/arrow_top.png b/res/theme/feiyangqingyun/qss/lightblue/arrow_top.png deleted file mode 100644 index 3c02231..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/arrow_top.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/branch_close.png b/res/theme/feiyangqingyun/qss/lightblue/branch_close.png deleted file mode 100644 index 73492b3..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/branch_close.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/branch_open.png b/res/theme/feiyangqingyun/qss/lightblue/branch_open.png deleted file mode 100644 index 9abd65c..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/branch_open.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/calendar_nextmonth.png b/res/theme/feiyangqingyun/qss/lightblue/calendar_nextmonth.png deleted file mode 100644 index 36a453b..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/calendar_nextmonth.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/calendar_prevmonth.png b/res/theme/feiyangqingyun/qss/lightblue/calendar_prevmonth.png deleted file mode 100644 index cce673f..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/calendar_prevmonth.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/checkbox_checked.png b/res/theme/feiyangqingyun/qss/lightblue/checkbox_checked.png deleted file mode 100644 index 524d243..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/checkbox_checked.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/checkbox_checked_disable.png b/res/theme/feiyangqingyun/qss/lightblue/checkbox_checked_disable.png deleted file mode 100644 index de9ece8..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/checkbox_checked_disable.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/checkbox_parcial.png b/res/theme/feiyangqingyun/qss/lightblue/checkbox_parcial.png deleted file mode 100644 index 1990ead..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/checkbox_parcial.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/checkbox_parcial_disable.png b/res/theme/feiyangqingyun/qss/lightblue/checkbox_parcial_disable.png deleted file mode 100644 index cdd3779..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/checkbox_parcial_disable.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/checkbox_unchecked.png b/res/theme/feiyangqingyun/qss/lightblue/checkbox_unchecked.png deleted file mode 100644 index 0f766a4..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/checkbox_unchecked.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/checkbox_unchecked_disable.png b/res/theme/feiyangqingyun/qss/lightblue/checkbox_unchecked_disable.png deleted file mode 100644 index 25c0cdf..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/checkbox_unchecked_disable.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/menu_checked.png b/res/theme/feiyangqingyun/qss/lightblue/menu_checked.png deleted file mode 100644 index bb52701..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/menu_checked.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/radiobutton_checked.png b/res/theme/feiyangqingyun/qss/lightblue/radiobutton_checked.png deleted file mode 100644 index cd6561d..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/radiobutton_checked.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/radiobutton_checked_disable.png b/res/theme/feiyangqingyun/qss/lightblue/radiobutton_checked_disable.png deleted file mode 100644 index 27a6896..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/radiobutton_checked_disable.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/radiobutton_unchecked.png b/res/theme/feiyangqingyun/qss/lightblue/radiobutton_unchecked.png deleted file mode 100644 index 8f0b4fc..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/radiobutton_unchecked.png and /dev/null differ diff --git a/res/theme/feiyangqingyun/qss/lightblue/radiobutton_unchecked_disable.png b/res/theme/feiyangqingyun/qss/lightblue/radiobutton_unchecked_disable.png deleted file mode 100644 index 57c0eb3..0000000 Binary files a/res/theme/feiyangqingyun/qss/lightblue/radiobutton_unchecked_disable.png and /dev/null differ diff --git a/ui/ThemeManager.cpp b/ui/ThemeManager.cpp index 1c112aa..0817018 100644 --- a/ui/ThemeManager.cpp +++ b/ui/ThemeManager.cpp @@ -3,6 +3,7 @@ #include #include "ThemeManager.hpp" +#include "iostream" ThemeManager *themeManager = new ThemeManager; @@ -10,71 +11,19 @@ extern QString ReadFileText(const QString &path); void ThemeManager::ApplyTheme(const QString &theme) { auto internal = [=] { + if (this->system_style_name.isEmpty()) { - this->system_style_name = qApp->style()->objectName(); + this->system_style_name = qApp->style()->name(); } + if (this->current_theme == theme) { return; } - bool ok; - auto themeId = theme.toInt(&ok); - - if (ok) { - // System & Built-in - QString qss; - - if (themeId != 0) { - QString path; - std::map replace; - switch (themeId) { - case 1: - path = ":/themes/feiyangqingyun/qss/flatgray.css"; - replace[":/qss/"] = ":/themes/feiyangqingyun/qss/"; - break; - case 2: - path = ":/themes/feiyangqingyun/qss/lightblue.css"; - replace[":/qss/"] = ":/themes/feiyangqingyun/qss/"; - break; - case 3: - path = ":/themes/feiyangqingyun/qss/blacksoft.css"; - replace[":/qss/"] = ":/themes/feiyangqingyun/qss/"; - break; - default: - return; - } - qss = ReadFileText(path); - for (auto const &[a, b]: replace) { - qss = qss.replace(a, b); - } - } - - auto system_style = QStyleFactory::create(this->system_style_name); - - if (themeId == 0) { - // system theme - qApp->setPalette(system_style->standardPalette()); - qApp->setStyle(system_style); - qApp->setStyleSheet(""); - } else { - if (themeId == 1 || themeId == 2 || themeId == 3) { - // feiyangqingyun theme - QString paletteColor = qss.mid(20, 7); - qApp->setPalette(QPalette(paletteColor)); - } else { - // other theme - qApp->setPalette(system_style->standardPalette()); - } - qApp->setStyleSheet(qss); - } + if (theme.toLower() == "system") { + qApp->setStyle(system_style_name); } else { - // QStyleFactory - const auto &_style = QStyleFactory::create(theme); - if (_style != nullptr) { - qApp->setPalette(_style->standardPalette()); - qApp->setStyle(_style); - qApp->setStyleSheet(""); - } + qApp->setStyle(theme); } current_theme = theme; diff --git a/ui/dialog_basic_settings.cpp b/ui/dialog_basic_settings.cpp index 56388b4..fbde8b5 100644 --- a/ui/dialog_basic_settings.cpp +++ b/ui/dialog_basic_settings.cpp @@ -122,7 +122,6 @@ DialogBasicSettings::DialogBasicSettings(QWidget *parent) CACHE.needRestart = true; }); // - int built_in_len = ui->theme->count(); ui->theme->addItems(QStyleFactory::keys()); // bool ok; @@ -134,13 +133,8 @@ DialogBasicSettings::DialogBasicSettings(QWidget *parent) } // connect(ui->theme, static_cast(&QComboBox::currentIndexChanged), this, [=](int index) { - if (index + 1 <= built_in_len) { - themeManager->ApplyTheme(Int2String(index)); - NekoGui::dataStore->theme = Int2String(index); - } else { - themeManager->ApplyTheme(ui->theme->currentText()); - NekoGui::dataStore->theme = ui->theme->currentText(); - } + themeManager->ApplyTheme(ui->theme->currentText()); + NekoGui::dataStore->theme = ui->theme->currentText(); repaint(); mainwindow->repaint(); NekoGui::dataStore->Save(); diff --git a/ui/dialog_basic_settings.ui b/ui/dialog_basic_settings.ui index e49b27a..c9ad244 100644 --- a/ui/dialog_basic_settings.ui +++ b/ui/dialog_basic_settings.ui @@ -295,21 +295,6 @@ System - - - flatgray - - - - - lightblue - - - - - blacksoft - - diff --git a/ui/mainwindow.cpp b/ui/mainwindow.cpp index 7bea525..40d8da1 100644 --- a/ui/mainwindow.cpp +++ b/ui/mainwindow.cpp @@ -63,6 +63,12 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi NekoGui::profileManager->LoadManager(); // Setup misc UI + // migrate old themes + bool isNum; + NekoGui::dataStore->theme.toInt(&isNum); + if (isNum) { + NekoGui::dataStore->theme = "System"; + } themeManager->ApplyTheme(NekoGui::dataStore->theme); ui->setupUi(this); //