This commit is contained in:
2025-09-25 16:56:53 +08:00
parent e44678d519
commit 1d9da56656
88 changed files with 18171 additions and 0 deletions

48
res/qss/about.css Normal file
View File

@@ -0,0 +1,48 @@
*{
background-color:#202129;
color:white;
}
/**********页签项**********/
QTabWidget::pane {
border: none;
border-top: 3px solid rgb(0, 160, 230);
background: rgb(57, 58, 60);
}
QTabWidget::tab-bar {
border: none;
}
QTabBar::tab {
border: none;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
color: rgb(175, 175, 175);
background: rgb(255, 255, 255, 30);
height: 28px;
min-width: 85px;
margin-right: 5px;
padding-left: 5px;
padding-right: 5px;
}
QTabBar::tab:hover {
background: rgb(255, 255, 255, 40);
}
QTabBar::tab:selected {
color: white;
background: rgb(0, 160, 230);
}
QPushButton{
height: 23px;
width: 75px;
border: none;
border-radius: 4px;
background: rgb(0, 160, 230);
}
QPushButton:hover{
background: rgba(0, 161, 230, 0.582);
}
QPushButton:press{
background: rgb(0, 179, 255);
}

91
res/qss/ctrlbar.css Normal file
View File

@@ -0,0 +1,91 @@
/*
QWidget#BgWidget{
background: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0,
stop: 0 #374040, stop: 1.0 #222930);
color:white;
}*/
*{
background-color:transparent;
color:white;
}
QWidget#PlaySliderBgWidget{
border-bottom: 1px solid black;
}
/*青色*/
QPushButton:hover{
color: Cyan;
}
/*军校蓝*/
QPushButton:pressed{
color: CadetBlue;
}
/*滑竿*/
QSlider::groove:horizontal {
border: 1px solid #4A708B;
background: #C0C0C0;
height: 3px;
border-radius: 2px;
padding-left:-1px;
padding-right:-1px;
}
/*已经划过的从地方*/
QSlider::sub-page:horizontal {
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #B1B1B1, stop:1 #c4c4c4);
background: qlineargradient(x1: 0, y1: 0.2, x2: 1, y2: 1,
stop: 0 #5DCCFF, stop: 1 #1874CD);
border: 1px solid #4A708B;
border-radius: 2px;
}
/*还没有滑上去的地方*/
QSlider::add-page:horizontal {
background: #575757;
border: 0px solid #777;
border-radius: 2px;
}
/*中间滑块*/
QSlider::handle:horizontal
{
/*背景颜色设置为辐射聚焦*/
background: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5,
stop:0.6 #45ADED, stop:0.8 rgba(255, 255, 255, 255));
/*形成圆*/
width: 8px;
border-radius: 4px;
/*上沿、下沿超出滑竿*/
margin-top: -3px;
margin-bottom: -2px;
}
QSlider::handle:horizontal:hover {
background: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5, stop:0 #2A8BDA,
stop:0.8 rgba(255, 255, 255, 255));
/*形成圆*/
width: 8px;
border-radius: 4px;
/*上沿、下沿超出滑竿*/
margin-top: -3px;
margin-bottom: -2px;
}
QTimeEdit#VideoTotalTimeTimeEdit {
color: #c4c6d2;
}
QLabel#TimeSplitLabel {
color: #c4c6d2;
}
/**********提示**********/
QToolTip{
border: none;
background-color: #2e2f37;
color:white;
}

641
res/qss/homewindow.css Normal file
View File

@@ -0,0 +1,641 @@
/*#COLOR#;MAIN_COLOR=#45b0c4;BTN_HOVER_COLOR=#6bc3ce;BTN_PRESSED_COLOR=#30889b;ITEM_HOVER_COLOR=#f1fcfc;ITEM_SELECTED_COLOR=#e9f4f4*/
/**********窗口样式*************/
QMainWindow {
background: #FFFFFF;
border-style: none;
}
.QToolButton {
background-color: transparent;
border-style: none;
}
.QToolButton::hover {
background-color: transparent;
border-style: none;
}
/*QGroupBox#typeGroupBox{
border:1px solid #45b0c4;
}
QWidget#settingWidget{
border:1px solid #45b0c4;
}
QWidget#optWidget{
border:1px solid #45b0c4;
}
QWidget#QSkinDemoClass,
QWidget#QSkinEditDialog,
QWidget#QMyMessageBox,
QWidget#QAboutDialog
{
border:1px solid #45b0c4;
border-radius:0px;
background: #FFFFFF;
}
.QFrame{
border:1px solid #45b0c4;
border-radius:5px;
}*/
/***************标题栏*****************/
/*QWidget#widget_title{
background: #45b0c4;
}*/
/*QMainWindow#windowTitle{
border:1px solid red;
background: #45b0c4;
font-size: 20px;
}*/
/*QWidget#widget_title2{
background: #45b0c4;
}*/
/**********菜单栏窗口样式*************/
/*QWidget#widget_menu{*/
/*background: #f1fcfc;*/
/* border: 1px solid #45b0c4;*/
/*border-left: none;*/
/*border-right: none;*/
/*}*/
/*QWidget#previewWidget{
background: #45b0c4;
border: 1px solid #45b0c4;
border-left: none;
border-right: none;
border-bottom: none;
}*/
/**********状态栏窗口样式*************/
/*QWidget#widget_status{
background: #45b0c4;
border: 1px solid #45b0c4;
border-left: none;
border-right: none;
border-bottom: none;
}*/
/*QLabel#label_logo{
image: url(:/Resources/logo.png);
}
QLabel#label_title{
border-radius:0px;
color: #FFFFFF;
background-color:rgba(0,0,0,0);
border-style:none;
}
QLabel#label_MessageType[MessageType="information"] {
qproperty-pixmap: url(:/res/information);
}
QLabel#label_MessageType[MessageType="error"] {
qproperty-pixmap: url(:/res/error);
}
QLabel#label_MessageType[MessageType="success"] {
qproperty-pixmap: url(:/res/success);
}
QLabel#label_MessageType[MessageType="question"] {
qproperty-pixmap: url(:/res/question);
}
QLabel#label_MessageType[MessageType="warning"] {
qproperty-pixmap: url(:/res/warning);
}*/
/**********文本编辑框**********/
/*QTextEdit,QLineEdit {
border: 1px solid #45b0c4;
border-radius: 1px;
padding: 2px;
background: none;
selection-background-color: #45b0c4;
}
QLineEdit[echoMode="2"] {
lineedit-password-character: 9679;
}
.QGroupBox{
border: 1px solid #45b0c4;
border-radius: 1px;
margin-top: 1ex;
}
.QGroupBox::title {
subcontrol-origin: margin;
position: relative;
left: 10px;
}
.QPushButton{
border-style: none;
border: 0px;
color: #FFFFFF;
padding: 5px;
border-radius:1px;
background: #45b0c4;
}*/
/*.QPushButton[focusPolicy="0"] {
border-style: none;
border: 0px;
color: #FFFFFF;
padding: 0px;
border-radius:1px;
background: #45b0c4;
}
.QPushButton:hover{
background: #6bc3ce
}
.QPushButton:pressed{
background: #30889b;
}
.QToolButton{
border-style: none;
border: 0px;
color: #FFFFFF;
padding: 4px;
border-radius:1px;
background: #45b0c4;
}
.QToolButton[focusPolicy="0"] {
border-style: none;
border: 0px;
color: #FFFFFF;
padding: 0px;
border-radius:1px;
background: #45b0c4;
}
.QToolButton:hover{
background: #6bc3ce
}*/
/*.QToolButton:pressed{
background: #30889b;
}
.QToolButton[pageTab="true"] {
border: none;
padding-top:5px;
background: none;
color: #000000;
border-radius:0px;
}
.QToolButton[pageTab="true"]:hover {
background-color:#EEEEEE;
border: none;
}
.QToolButton[pageTab="true"]:pressed {
border: 4px solid #45b0c4;
border-top: none;
border-right: none;
border-bottom: none;
background-color:#EEEEEE;
}
.QToolButton[pageTab="true"]:checked {
border: 4px solid #45b0c4;
border-top: none;
border-right: none;
border-bottom: none;
background-color:#EEEEEE;
}
.QToolButton[TopPageTab="true"] {
border: none;
padding-top:10px;
color: #FFFFFF;
background: none;
border-radius:0px;
}*/
/*.QToolButton[TopPageTab="true"]:hover {
background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(0, 0, 0, 0%), stop:1 rgba(4, 20, 7, 10%));
border: none;
color: #FFFFFF;
}
.QToolButton[TopPageTab="true"]:pressed {
background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(0, 0, 0, 0%), stop:1 rgba(4, 20, 7, 10%));
border: none;
color: #FFFFFF;
}
.QToolButton[TopPageTab="true"]:checked {
background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(0, 0, 0, 0%), stop:1 rgba(4, 20, 7, 10%));
border: none;
color: #FFFFFF;
}
QPushButton#menuButton_Min,QPushButton#menuButton_Max,QPushButton#menuButton_Close{
border-radius:0px;
color: #FFFFFF;
background-color:rgba(0,0,0,0);
border-style:none;
}
QPushButton#menuButton_Min:hover,QPushButton#menuButton_Max:hover{
background-color: #6bc3ce;
}
QPushButton#menuButton_Min:pressed,QPushButton#menuButton_Max:pressed{
background-color: #30889b;
}
QPushButton#menuButton_Close:hover{
background-color: #FF5439;
}
QPushButton#menuButton_Close:pressed{
background-color: #E04A32;
}
QCheckBox {
spacing: 2px;
}*/
/*QCheckBox::indicator, QTableView::indicator, QListView::indicator, QTreeView::indicator, QGroupBox::indicator {
width: 20px;
height: 20px;
}
QCheckBox::indicator:unchecked, QTableView::indicator:unchecked, QListView::indicator:unchecked, QTreeView::indicator:unchecked, QGroupBox::indicator:unchecked {
image: url(:/res/checkbox_unchecked.png);
}
QCheckBox::indicator:checked, QTableView::indicator:checked, QListView::indicator:checked, QTreeView::indicator:checked, QGroupBox::indicator:checked {
image: url(:/res/checkbox_checked.png);
}
QRadioButton {
spacing: 2px;
}
QRadioButton::indicator {
width: 15px;
height: 15px;
}
QRadioButton::indicator::unchecked {
image: url(:/res/radio_normal.png);
}
QRadioButton::indicator::checked {
image: url(:/res/radio_selected.png);
}*/
/*QComboBox,QDateEdit,QDateTimeEdit,QTimeEdit,QDoubleSpinBox,QSpinBox{
border-radius: 1px;
padding: 1px 5px 1px 5px;
border: 1px solid #45b0c4;
selection-background-color: #45b0c4;
}
QComboBox::drop-down,QDateEdit::drop-down,QDateTimeEdit::drop-down,QTimeEdit::drop-down,QDoubleSpinBox::drop-down,QSpinBox::drop-down {
subcontrol-origin: padding;
subcontrol-position: top right;
width: 15px;
border-left-width: 1px;
border-left-style: solid;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
border-left-color: #45b0c4;
}
QComboBox::down-arrow,QDateEdit[calendarPopup="true"]::down-arrow,QTimeEdit[calendarPopup="true"]::down-arrow,QDateTimeEdit[calendarPopup="true"]::down-arrow {
image: url(:/res/array_down.png);
width:10px;
height:9px;
}
QTimeEdit::up-button,QDateEdit::up-button,QDateTimeEdit::up-button,QDoubleSpinBox::up-button,QSpinBox::up-button{
image: url(:/res/array_up.png);
width:10px;
height:10px;
padding:0px 3px 0px 0px;
}
QTimeEdit::down-button,QDateEdit::down-button,QDateTimeEdit::down-button,QDoubleSpinBox::down-button,QSpinBox::down-button{
image: url(:/res/array_down.png);
width:10px;
height:10px;
padding:0px 3px 0px 0px;
}
/**********菜单栏**********/
/*QMenuBar {
background: #f1fcfc;
border: 1px solid #45b0c4;
border-left: none;
border-right: none;
border-top: none;
}
QMenuBar::item {
border: 1px solid transparent;
padding: 5px 10px 5px 10px;
background: transparent;
}
QMenuBar::item:enabled {
color: #000000;
}
QMenuBar::item:!enabled {
color: rgb(155, 155, 155);
}
QMenuBar::item:enabled:selected {
background: #e9f4f4;
}*/
/*QMenu {
background-color:#FFFFFF;*/
/*margin: 2px;*/
/* border: 1px solid #45b0c4;
}*/
/*QMenu::item {
padding: 2px 20px 2px 20px;
}
QMenu::indicator {
width: 13px;
height: 13px;
}
QMenu::item:selected {
color: #FFFFFF;
background: #45b0c4;
}
QMenu::separator {
height: 1px;
background: #45b0c4;
}
QProgressBar {
border-radius: 5px;
text-align: center;
border: 1px solid #45b0c4;
}
QProgressBar::chunk {
width: 5px;
margin: 0.5px;
background-color: #45b0c4;
}
QSlider::groove:horizontal,QSlider::add-page:horizontal {
background: #D9D9D9;
height: 8px;
border-radius: 3px;
}
QSlider::sub-page:horizontal {
height: 8px;
border-radius: 3px;
background: #45b0c4;
}
QSlider::handle:horizontal {
width: 13px;
margin-top: -3px;
margin-bottom: -3px;
border-radius: 6px;
background: #45b0c4;
}
QSlider::handle:horizontal:hover {
background: #30889b;
}
QSlider::groove:vertical,QSlider::sub-page:vertical {
background:#D9D9D9;
width: 8px;
border-radius: 3px;
}
QSlider::add-page:vertical {
width: 8px;
border-radius: 3px;
background: #45b0c4;
}
QSlider::handle:vertical {
height: 14px;
margin-left: -3px;
margin-right: -3px;
border-radius: 6px;
background: #45b0c4;
}
QSlider::handle:vertical:hover {
background: #30889b;
}
QScrollBar:vertical {
width:10px;
background-color:rgba(0,0,0,0);
padding-top:10px;
padding-bottom:10px;
}
QScrollBar:horizontal {
height:10px;
background-color:rgba(0,0,0,0);
padding-left:10px;
padding-right:10px;
}
QScrollBar::handle:vertical {
width:10px;
background: #45b0c4;
border-radius:4px;
min-height:50px;
}
QScrollBar::handle:horizontal {
height:10px;
background: #45b0c4;
min-width:50px;
border-radius:4px;
}
QScrollBar::handle:vertical:hover {
width:10px;
background: #30889b;
}
QScrollBar::handle:horizontal:hover {
height:10px;
background: #30889b;
}
QScrollBar::add-line:vertical {
height:10px;
width:10px;
subcontrol-position: bottom;
subcontrol-origin: margin;
border-image:url(:/res/add-line_vertical.png);
}
QScrollBar::add-line:horizontal {
height:10px;
width:10px;
subcontrol-position: right;
subcontrol-origin: margin;
border-image:url(:/res/add-line_horizontal.png);
}
QScrollBar::sub-line:vertical {
height:10px;
width:10px;
subcontrol-position: top;
subcontrol-origin: margin;
border-image:url(:/res/sub-line_vertical.png);
}
QScrollBar::sub-line:horizontal {
height:10px;
width:10px;
subcontrol-position: left;
subcontrol-origin: margin;
border-image:url(:/res/sub-line_horizontal.png);
}
QScrollBar::add-page:vertical,QScrollBar::sub-page:vertical {
width:10px;
background: #D9D9D9;
}
QScrollBar::add-page:horizontal,QScrollBar::sub-page:horizontal {
height:10px;
background: #D9D9D9;
}
QScrollArea {
border: 0px ;
}*/
/*QTreeView,QListView,QTableView{
border: 1px solid #45b0c4;
selection-background-color: #45b0c4;
outline:0px;
}
QTableView::item:selected, QListView::item:selected, QTreeView::item:selected {
color: #000000;
background: #e9f4f4;
}
QTableView::item:hover, QListView::item:hover, QTreeView::item:hover {
color: #000000;
background: #f1fcfc;
}
QTableView::item, QListView::item, QTreeView::item {
padding: 5px;
margin: 0px;
}
QHeaderView::section {
padding:3px;
margin:0px;
color:#FFFFFF;
border: 1px solid #F0F0F0;
background: #45b0c4;
}
QTabBar::tab{
min-width: 80px;
min-height: 25px;
color:#000000;
margin-right:1px;
border: 1px solid #D9D9D9;
border-left: none;
border-right: none;
border-top: none;
background:#FFFFFF;
}
QTabBar::tab:selected,QTabBar::tab:hover{
border-style:solid;
border-color:#45b0c4;
}
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,QTabBar::tab:top:hover{
border-width:2px 0px 0px 0px;
}
QTabBar::tab:right:selected,QTabBar::tab:right:hover{
border-width:0px 0px 0px 2px;
}
QTabBar::tab:bottom:selected,QTabBar::tab:bottom:hover{
border-width:0px 0px 2px 0px;
}
QTabBar::tab:left:selected,QTabBar::tab:left:hover{
border-width:0px 2px 0px 0px;
}
QTabBar::tab:top:selected,QTabBar::tab:top:hover,QTabBar::tab:bottom:selected,QTabBar::tab:bottom:hover{
border-left-width:1px;
border-left-color:#D9D9D9;
border-right-width:1px;
border-right-color:#D9D9D9;
}
QTabBar::tab:first:top:selected,QTabBar::tab:first:top:hover,QTabBar::tab:first:bottom:selected,QTabBar::tab:first:bottom:hover{
border-left-width:1px;
border-left-color:#D9D9D9;
border-right-width:1px;
border-right-color:#D9D9D9;
}
QTabBar::tab:first:left:selected,QTabBar::tab:first:left:hover,QTabBar::tab:first:right:selected,QTabBar::tab:first:right:hover{
border-top-width:1px;
border-top-color:#D9D9D9;
border-bottom-width:1px;
border-bottom-color:#D9D9D9;
}
QTabBar::tab:last:top:selected,QTabBar::tab:last:top:hover,QTabBar::tab:last:bottom:selected,QTabBar::tab:last:bottom:hover{
border-left-width:1px;
border-left-color:#D9D9D9;
border-right-width:1px;
border-right-color:#D9D9D9;
}
QTabBar::tab:last:left:selected,QTabBar::tab:last:left:hover,QTabBar::tab:last:right:selected,QTabBar::tab:last:right:hover{
border-top-width:1px;
border-top-color:#D9D9D9;
border-bottom-width:1px;
border-bottom-color:#D9D9D9;
}
QStatusBar::item {
border: 1px solid #45b0c4;
border-radius: 3px;
}*/

649
res/qss/homewindow.qss Normal file
View File

@@ -0,0 +1,649 @@
/*#COLOR#;MAIN_COLOR=#45b0c4;BTN_HOVER_COLOR=#6bc3ce;BTN_PRESSED_COLOR=#30889b;ITEM_HOVER_COLOR=#f1fcfc;ITEM_SELECTED_COLOR=#e9f4f4*/
/**********窗口样式*************/
QMainWindow {
/* background: #FFFFFF; */
border-style: none;
}
.QToolButton {
background-color: transparent;
/* border-style: none; */
border: 1px solid #FFFFFF;
/* icon-size: 48px; */
padding: 8px;
/* margin: 2px; */
/* transition: all 0.3s ease; */
}
.QToolButton::hover {
background-color: transparent;
border-style: none;
/* icon-size: 60px; */
padding: 3px;
}
/*QGroupBox#typeGroupBox{
border:1px solid #45b0c4;
}
QWidget#settingWidget{
border:1px solid #45b0c4;
}
QWidget#optWidget{
border:1px solid #45b0c4;
}
QWidget#QSkinDemoClass,
QWidget#QSkinEditDialog,
QWidget#QMyMessageBox,
QWidget#QAboutDialog
{
border:1px solid #45b0c4;
border-radius:0px;
background: #FFFFFF;
}
.QFrame{
border:1px solid #45b0c4;
border-radius:5px;
}*/
/***************标题栏*****************/
/*QWidget#widget_title{
background: #45b0c4;
}*/
/*QMainWindow#windowTitle{
border:1px solid red;
background: #45b0c4;
font-size: 20px;
}*/
/*QWidget#widget_title2{
background: #45b0c4;
}*/
/**********菜单栏窗口样式*************/
/*QWidget#widget_menu{*/
/*background: #f1fcfc;*/
/* border: 1px solid #45b0c4;*/
/*border-left: none;*/
/*border-right: none;*/
/*}*/
/*QWidget#previewWidget{
background: #45b0c4;
border: 1px solid #45b0c4;
border-left: none;
border-right: none;
border-bottom: none;
}*/
/**********状态栏窗口样式*************/
/*QWidget#widget_status{
background: #45b0c4;
border: 1px solid #45b0c4;
border-left: none;
border-right: none;
border-bottom: none;
}*/
/*QLabel#label_logo{
image: url(:/Resources/logo.png);
}
QLabel#label_title{
border-radius:0px;
color: #FFFFFF;
background-color:rgba(0,0,0,0);
border-style:none;
}
QLabel#label_MessageType[MessageType="information"] {
qproperty-pixmap: url(:/res/information);
}
QLabel#label_MessageType[MessageType="error"] {
qproperty-pixmap: url(:/res/error);
}
QLabel#label_MessageType[MessageType="success"] {
qproperty-pixmap: url(:/res/success);
}
QLabel#label_MessageType[MessageType="question"] {
qproperty-pixmap: url(:/res/question);
}
QLabel#label_MessageType[MessageType="warning"] {
qproperty-pixmap: url(:/res/warning);
}*/
/**********文本编辑框**********/
/*QTextEdit,QLineEdit {
border: 1px solid #45b0c4;
border-radius: 1px;
padding: 2px;
background: none;
selection-background-color: #45b0c4;
}
QLineEdit[echoMode="2"] {
lineedit-password-character: 9679;
}
.QGroupBox{
border: 1px solid #45b0c4;
border-radius: 1px;
margin-top: 1ex;
}
.QGroupBox::title {
subcontrol-origin: margin;
position: relative;
left: 10px;
}
.QPushButton{
border-style: none;
border: 0px;
color: #FFFFFF;
padding: 5px;
border-radius:1px;
background: #45b0c4;
}*/
/*.QPushButton[focusPolicy="0"] {
border-style: none;
border: 0px;
color: #FFFFFF;
padding: 0px;
border-radius:1px;
background: #45b0c4;
}
.QPushButton:hover{
background: #6bc3ce
}
.QPushButton:pressed{
background: #30889b;
}
.QToolButton{
border-style: none;
border: 0px;
color: #FFFFFF;
padding: 4px;
border-radius:1px;
background: #45b0c4;
}
.QToolButton[focusPolicy="0"] {
border-style: none;
border: 0px;
color: #FFFFFF;
padding: 0px;
border-radius:1px;
background: #45b0c4;
}
.QToolButton:hover{
background: #6bc3ce
}*/
/*.QToolButton:pressed{
background: #30889b;
}
.QToolButton[pageTab="true"] {
border: none;
padding-top:5px;
background: none;
color: #000000;
border-radius:0px;
}
.QToolButton[pageTab="true"]:hover {
background-color:#EEEEEE;
border: none;
}
.QToolButton[pageTab="true"]:pressed {
border: 4px solid #45b0c4;
border-top: none;
border-right: none;
border-bottom: none;
background-color:#EEEEEE;
}
.QToolButton[pageTab="true"]:checked {
border: 4px solid #45b0c4;
border-top: none;
border-right: none;
border-bottom: none;
background-color:#EEEEEE;
}
.QToolButton[TopPageTab="true"] {
border: none;
padding-top:10px;
color: #FFFFFF;
background: none;
border-radius:0px;
}*/
/*.QToolButton[TopPageTab="true"]:hover {
background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(0, 0, 0, 0%), stop:1 rgba(4, 20, 7, 10%));
border: none;
color: #FFFFFF;
}
.QToolButton[TopPageTab="true"]:pressed {
background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(0, 0, 0, 0%), stop:1 rgba(4, 20, 7, 10%));
border: none;
color: #FFFFFF;
}
.QToolButton[TopPageTab="true"]:checked {
background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(0, 0, 0, 0%), stop:1 rgba(4, 20, 7, 10%));
border: none;
color: #FFFFFF;
}
QPushButton#menuButton_Min,QPushButton#menuButton_Max,QPushButton#menuButton_Close{
border-radius:0px;
color: #FFFFFF;
background-color:rgba(0,0,0,0);
border-style:none;
}
QPushButton#menuButton_Min:hover,QPushButton#menuButton_Max:hover{
background-color: #6bc3ce;
}
QPushButton#menuButton_Min:pressed,QPushButton#menuButton_Max:pressed{
background-color: #30889b;
}
QPushButton#menuButton_Close:hover{
background-color: #FF5439;
}
QPushButton#menuButton_Close:pressed{
background-color: #E04A32;
}
QCheckBox {
spacing: 2px;
}*/
/*QCheckBox::indicator, QTableView::indicator, QListView::indicator, QTreeView::indicator, QGroupBox::indicator {
width: 20px;
height: 20px;
}
QCheckBox::indicator:unchecked, QTableView::indicator:unchecked, QListView::indicator:unchecked, QTreeView::indicator:unchecked, QGroupBox::indicator:unchecked {
image: url(:/res/checkbox_unchecked.png);
}
QCheckBox::indicator:checked, QTableView::indicator:checked, QListView::indicator:checked, QTreeView::indicator:checked, QGroupBox::indicator:checked {
image: url(:/res/checkbox_checked.png);
}
QRadioButton {
spacing: 2px;
}
QRadioButton::indicator {
width: 15px;
height: 15px;
}
QRadioButton::indicator::unchecked {
image: url(:/res/radio_normal.png);
}
QRadioButton::indicator::checked {
image: url(:/res/radio_selected.png);
}*/
/*QComboBox,QDateEdit,QDateTimeEdit,QTimeEdit,QDoubleSpinBox,QSpinBox{
border-radius: 1px;
padding: 1px 5px 1px 5px;
border: 1px solid #45b0c4;
selection-background-color: #45b0c4;
}
QComboBox::drop-down,QDateEdit::drop-down,QDateTimeEdit::drop-down,QTimeEdit::drop-down,QDoubleSpinBox::drop-down,QSpinBox::drop-down {
subcontrol-origin: padding;
subcontrol-position: top right;
width: 15px;
border-left-width: 1px;
border-left-style: solid;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
border-left-color: #45b0c4;
}
QComboBox::down-arrow,QDateEdit[calendarPopup="true"]::down-arrow,QTimeEdit[calendarPopup="true"]::down-arrow,QDateTimeEdit[calendarPopup="true"]::down-arrow {
image: url(:/res/array_down.png);
width:10px;
height:9px;
}
QTimeEdit::up-button,QDateEdit::up-button,QDateTimeEdit::up-button,QDoubleSpinBox::up-button,QSpinBox::up-button{
image: url(:/res/array_up.png);
width:10px;
height:10px;
padding:0px 3px 0px 0px;
}
QTimeEdit::down-button,QDateEdit::down-button,QDateTimeEdit::down-button,QDoubleSpinBox::down-button,QSpinBox::down-button{
image: url(:/res/array_down.png);
width:10px;
height:10px;
padding:0px 3px 0px 0px;
}
/**********菜单栏**********/
/*QMenuBar {
background: #f1fcfc;
border: 1px solid #45b0c4;
border-left: none;
border-right: none;
border-top: none;
}
QMenuBar::item {
border: 1px solid transparent;
padding: 5px 10px 5px 10px;
background: transparent;
}
QMenuBar::item:enabled {
color: #000000;
}
QMenuBar::item:!enabled {
color: rgb(155, 155, 155);
}
QMenuBar::item:enabled:selected {
background: #e9f4f4;
}*/
/*QMenu {
background-color:#FFFFFF;*/
/*margin: 2px;*/
/* border: 1px solid #45b0c4;
}*/
/*QMenu::item {
padding: 2px 20px 2px 20px;
}
QMenu::indicator {
width: 13px;
height: 13px;
}
QMenu::item:selected {
color: #FFFFFF;
background: #45b0c4;
}
QMenu::separator {
height: 1px;
background: #45b0c4;
}
QProgressBar {
border-radius: 5px;
text-align: center;
border: 1px solid #45b0c4;
}
QProgressBar::chunk {
width: 5px;
margin: 0.5px;
background-color: #45b0c4;
}
QSlider::groove:horizontal,QSlider::add-page:horizontal {
background: #D9D9D9;
height: 8px;
border-radius: 3px;
}
QSlider::sub-page:horizontal {
height: 8px;
border-radius: 3px;
background: #45b0c4;
}
QSlider::handle:horizontal {
width: 13px;
margin-top: -3px;
margin-bottom: -3px;
border-radius: 6px;
background: #45b0c4;
}
QSlider::handle:horizontal:hover {
background: #30889b;
}
QSlider::groove:vertical,QSlider::sub-page:vertical {
background:#D9D9D9;
width: 8px;
border-radius: 3px;
}
QSlider::add-page:vertical {
width: 8px;
border-radius: 3px;
background: #45b0c4;
}
QSlider::handle:vertical {
height: 14px;
margin-left: -3px;
margin-right: -3px;
border-radius: 6px;
background: #45b0c4;
}
QSlider::handle:vertical:hover {
background: #30889b;
}
QScrollBar:vertical {
width:10px;
background-color:rgba(0,0,0,0);
padding-top:10px;
padding-bottom:10px;
}
QScrollBar:horizontal {
height:10px;
background-color:rgba(0,0,0,0);
padding-left:10px;
padding-right:10px;
}
QScrollBar::handle:vertical {
width:10px;
background: #45b0c4;
border-radius:4px;
min-height:50px;
}
QScrollBar::handle:horizontal {
height:10px;
background: #45b0c4;
min-width:50px;
border-radius:4px;
}
QScrollBar::handle:vertical:hover {
width:10px;
background: #30889b;
}
QScrollBar::handle:horizontal:hover {
height:10px;
background: #30889b;
}
QScrollBar::add-line:vertical {
height:10px;
width:10px;
subcontrol-position: bottom;
subcontrol-origin: margin;
border-image:url(:/res/add-line_vertical.png);
}
QScrollBar::add-line:horizontal {
height:10px;
width:10px;
subcontrol-position: right;
subcontrol-origin: margin;
border-image:url(:/res/add-line_horizontal.png);
}
QScrollBar::sub-line:vertical {
height:10px;
width:10px;
subcontrol-position: top;
subcontrol-origin: margin;
border-image:url(:/res/sub-line_vertical.png);
}
QScrollBar::sub-line:horizontal {
height:10px;
width:10px;
subcontrol-position: left;
subcontrol-origin: margin;
border-image:url(:/res/sub-line_horizontal.png);
}
QScrollBar::add-page:vertical,QScrollBar::sub-page:vertical {
width:10px;
background: #D9D9D9;
}
QScrollBar::add-page:horizontal,QScrollBar::sub-page:horizontal {
height:10px;
background: #D9D9D9;
}
QScrollArea {
border: 0px ;
}*/
/*QTreeView,QListView,QTableView{
border: 1px solid #45b0c4;
selection-background-color: #45b0c4;
outline:0px;
}
QTableView::item:selected, QListView::item:selected, QTreeView::item:selected {
color: #000000;
background: #e9f4f4;
}
QTableView::item:hover, QListView::item:hover, QTreeView::item:hover {
color: #000000;
background: #f1fcfc;
}
QTableView::item, QListView::item, QTreeView::item {
padding: 5px;
margin: 0px;
}
QHeaderView::section {
padding:3px;
margin:0px;
color:#FFFFFF;
border: 1px solid #F0F0F0;
background: #45b0c4;
}
QTabBar::tab{
min-width: 80px;
min-height: 25px;
color:#000000;
margin-right:1px;
border: 1px solid #D9D9D9;
border-left: none;
border-right: none;
border-top: none;
background:#FFFFFF;
}
QTabBar::tab:selected,QTabBar::tab:hover{
border-style:solid;
border-color:#45b0c4;
}
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,QTabBar::tab:top:hover{
border-width:2px 0px 0px 0px;
}
QTabBar::tab:right:selected,QTabBar::tab:right:hover{
border-width:0px 0px 0px 2px;
}
QTabBar::tab:bottom:selected,QTabBar::tab:bottom:hover{
border-width:0px 0px 2px 0px;
}
QTabBar::tab:left:selected,QTabBar::tab:left:hover{
border-width:0px 2px 0px 0px;
}
QTabBar::tab:top:selected,QTabBar::tab:top:hover,QTabBar::tab:bottom:selected,QTabBar::tab:bottom:hover{
border-left-width:1px;
border-left-color:#D9D9D9;
border-right-width:1px;
border-right-color:#D9D9D9;
}
QTabBar::tab:first:top:selected,QTabBar::tab:first:top:hover,QTabBar::tab:first:bottom:selected,QTabBar::tab:first:bottom:hover{
border-left-width:1px;
border-left-color:#D9D9D9;
border-right-width:1px;
border-right-color:#D9D9D9;
}
QTabBar::tab:first:left:selected,QTabBar::tab:first:left:hover,QTabBar::tab:first:right:selected,QTabBar::tab:first:right:hover{
border-top-width:1px;
border-top-color:#D9D9D9;
border-bottom-width:1px;
border-bottom-color:#D9D9D9;
}
QTabBar::tab:last:top:selected,QTabBar::tab:last:top:hover,QTabBar::tab:last:bottom:selected,QTabBar::tab:last:bottom:hover{
border-left-width:1px;
border-left-color:#D9D9D9;
border-right-width:1px;
border-right-color:#D9D9D9;
}
QTabBar::tab:last:left:selected,QTabBar::tab:last:left:hover,QTabBar::tab:last:right:selected,QTabBar::tab:last:right:hover{
border-top-width:1px;
border-top-color:#D9D9D9;
border-bottom-width:1px;
border-bottom-color:#D9D9D9;
}
QStatusBar::item {
border: 1px solid #45b0c4;
border-radius: 3px;
}*/

71
res/qss/playlist.css Normal file
View File

@@ -0,0 +1,71 @@
*{
background:#2e2f37;
color:white;
}
QPushButton{
color: white;
}
QPushButton:hover{
color: Cyan;
}
QPushButton:pressed {
color: CadetBlue;
}
/*****列表*******/
QListWidget{
border: 1px solid Black;
}
QListWidget::item:hover{
/*background: Cyan;*/
padding: 0px;
margin: 1px;
color: Cyan;
border: 1px solid Cyan;
}
QListWidget::item:selected {
background: Cyan;
padding: 0px;
margin: 1px;
color: black;
border: 1px solid Cyan;
}
QScrollBar:vertical {
width: 10px;
background: transparent;
}
QScrollBar::handle:vertical {
min-height: 30px;
background: #202129;
margin-top: 0px;
margin-bottom: 0px;
}
QScrollBar::handle:vertical:hover {
background: rgb(80, 80, 80);
}
QScrollBar::sub-line:vertical {
height: 0px;
background: transparent;
image: url(:/Black/arrowTop);
subcontrol-position: top;
}
QScrollBar::add-line:vertical {
height: 0px;
background: transparent;
image: url(:/Black/arrowBottom);
subcontrol-position: bottom;
}
QScrollBar::sub-line:vertical:hover {
background: rgb(68, 69, 73);
}
QScrollBar::add-line:vertical:hover {
background: rgb(68, 69, 73);
}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
background: transparent;
}

6
res/qss/show.css Normal file
View File

@@ -0,0 +1,6 @@
QWidget{
background-color: #1a1a20;
color:white;
border: 1px solid black;
border-bottom: none;
}

32
res/qss/title.css Normal file
View File

@@ -0,0 +1,32 @@
*{
background-color: #202129;
border: none;
color:white;
}
QPushButton:hover {
color: Cyan;
}
QPushButton:pressed {
color: CadetBlue;
}
QPushButton#CloseBtn:hover {
color: Tomato;
}
QPushButton#CloseBtn:pressed {
color: red;
/*background:#FF0000;*/
}
QLabel#MovieNameLab {
color: #c4c6d2;
}
/**********提示**********/
QToolTip{
border: none;
background-color: #2e2f37;
color:white;
}