mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
combobox styles. what a pain. WIP
This commit is contained in:
parent
b994878465
commit
29b1bbab9d
BIN
resources/stylesheets/chevron-down.png
Normal file
BIN
resources/stylesheets/chevron-down.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 201 B |
@ -201,8 +201,8 @@ margin:5px;
|
|||||||
|
|
||||||
QGroupBox::title {
|
QGroupBox::title {
|
||||||
subcontrol-origin: margin;
|
subcontrol-origin: margin;
|
||||||
subcontrol-position: top left; /* position at the top center */
|
subcontrol-position: top left; /* position at the top left */
|
||||||
padding: 0 3px;
|
padding: 3px;
|
||||||
color: #B7C0C6;
|
color: #B7C0C6;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
}
|
}
|
||||||
@ -214,12 +214,11 @@ QGroupBox::indicator , QCheckBox::indicator {
|
|||||||
height: 14px;
|
height: 14px;
|
||||||
border: 1px solid #435466;
|
border: 1px solid #435466;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QGroupBox::indicator:hover , QCheckBox::indicator:hover {
|
QGroupBox::indicator:hover , QCheckBox::indicator:hover {
|
||||||
border-color: #fff;
|
border-color: #fff;
|
||||||
image: url(resources/stylesheets/check-hover.png);
|
image: url(resources/stylesheets/check-hover.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
QGroupBox::indicator:unchecked , QCheckBox::indicator:unchecked {
|
QGroupBox::indicator:unchecked , QCheckBox::indicator:unchecked {
|
||||||
@ -233,6 +232,12 @@ image: url(resources/stylesheets/check.png);
|
|||||||
|
|
||||||
/*QDialog*/
|
/*QDialog*/
|
||||||
QDialog{
|
QDialog{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
QListView {
|
||||||
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*QTabWidget*/
|
/*QTabWidget*/
|
||||||
@ -267,15 +272,41 @@ QTabBar::tab:selected {
|
|||||||
|
|
||||||
/*QComboxBox*/
|
/*QComboxBox*/
|
||||||
QComboxBox {
|
QComboxBox {
|
||||||
padding: 6px;
|
padding:10px;
|
||||||
|
margin:10px;
|
||||||
border:1px solid #3B4656;
|
border:1px solid #3B4656;
|
||||||
background: #465C74;
|
background: #1D2731;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
QComboBox::down-arrow {
|
QComboBox:editable {
|
||||||
|
background: #465C74;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QComboBox:!editable{
|
||||||
|
background: #1D2731;
|
||||||
|
}
|
||||||
|
QComboBox::drop-down {
|
||||||
|
subcontrol-origin: padding;
|
||||||
|
subcontrol-position: top right;
|
||||||
|
padding: 10px;
|
||||||
|
border:none;
|
||||||
|
background: #1D2731;
|
||||||
|
color: #fff;
|
||||||
|
height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
QComboBox::down-arrow {
|
||||||
|
image: url(resources/stylesheets/chevron-down.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
QComboBox QAbstractItemView {
|
||||||
|
padding: 10px;
|
||||||
|
border:1px solid #3B4656;
|
||||||
|
background: #465C74;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
QLineEdit{
|
QLineEdit{
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
border:1px solid #3B4656;
|
border:1px solid #3B4656;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user