迁移主窗口样式到qss窗口中

This commit is contained in:
2024-12-13 15:58:01 +08:00
parent 7dc8b59aa2
commit 1f189d8036
5 changed files with 65 additions and 8 deletions

View File

@@ -1,3 +1,12 @@
QPushButton#systemsetting{border-image:url(:/image/index_bg_setting_char.png);}
QPushButton#systemsetting:hover{border-image:url(:/image/index_bg_setting_hover.png);}
QPushButton#systemsetting:pressed{border-image:url(:/image/index_bg_setting_checked.png);}
QPushButton#egg{border-image:url(:/image/index_bg_EEG_char.png);}
QPushButton#egg:hover{border-image:url(:/image/index_bg_EEG_hover.png);}
QPushButton#egg:pressed{border-image:url(:/image/index_bg_EEG_checked.png);}
QPushButton#dataprocess{border-image:url(:/image/index_bg_data_char.png);}
QPushButton#dataprocess:hover{border-image:url(:/image/index_bg_data_hover.png);}
QPushButton#dataprocess:pressed{border-image:url(:/image/index_bg_data_checked.png);}
QLineEdit
{
border: 1px solid #ABCDA0;
@@ -45,8 +54,6 @@ color: black;
background-color: white;
border:1px solid black;
}
QPushButton
{border:1px solid black;}
QGroupBox
{
background-color: #4F4F4F;
@@ -60,27 +67,66 @@ QDateEdit
border: 1px solid rgb(22,63,23);
color: black;
}
QPushButton
QPushButton#ok,#cancel
{
border:1px solid black;
background: white;
border-radius:10px;
padding:7px 10px;
}
QPushButton:hover
QPushButton#ok,#cancel
:hover
{
background: #0d9ddb;
border-radius:10px;
padding:7px 10px;
}
QPushButton:pressed
QPushButton#ok,#cancel
:pressed
{
background: #0d9aab;
border-radius:10px;
padding:7px 10px;
}
QPushButton:checked
QPushButton#ok,#cancel
:checked
{
background: #0d9ddb;
border-radius:10px;
padding:7px 10px;
};
}
QPushButton#open
{
background: white;
border-radius:10px;
padding:7px 10px;
}
QPushButton#open
:hover
{
background: rgb(85, 85, 85);
border-radius:10px;
padding:7px 10px;
}
QPushButton#open
:pressed
{
background: rgb(80, 80, 80);
border-radius:10px;
padding:7px 10px;
}
QPushButton#open
:checked
{
background: #0d9ddb;
border-radius:10px;
padding:7px 10px;
}

Binary file not shown.