Better QSlider to match systems
This commit is contained in:
parent
9117ad5381
commit
c1df21f940
@ -1416,7 +1416,7 @@ background:yellow;
|
||||
<widget class="QSlider" name="outAttenuation">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<width>60</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
@ -1429,69 +1429,32 @@ background:yellow;
|
||||
<string>Adjust Tx audio level</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QSlider::groove:vertical
|
||||
{
|
||||
border: 1px solid #bbb;
|
||||
background: white;
|
||||
width: 10px;
|
||||
border-radius: 2px;
|
||||
<string notr="true">QSlider {
|
||||
selection-background-color: rgb(70, 70, 70);
|
||||
}
|
||||
|
||||
QSlider::sub-page:vertical
|
||||
{
|
||||
background: QLinearGradient( x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #fff, stop: 0.4999 #eee, stop: 0.5 #ddd, stop: 1 #eee );
|
||||
border: 1px solid #777;
|
||||
width: 10px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QSlider::add-page:vertical {
|
||||
background: QLinearGradient( x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #78d, stop: 0.4999 #46a, stop: 0.5 #45a, stop: 1 #238 );
|
||||
|
||||
border: 1px solid #777;
|
||||
border-radius: 2px;
|
||||
width: 10px;
|
||||
QSlider::groove:vertical{
|
||||
width:60px;
|
||||
}
|
||||
|
||||
QSlider::handle:vertical {
|
||||
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #eee, stop:1 #ccc);
|
||||
border: 1px solid #777;
|
||||
width: 20px;
|
||||
height:20px;
|
||||
margin-top: -1px;
|
||||
margin-bottom: -1px;
|
||||
margin-left:-5px;
|
||||
margin-right:-5px;
|
||||
border-radius: 2px;
|
||||
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #fefefe, stop:1 #eee);
|
||||
border:1px solid #999;
|
||||
width:30px;
|
||||
height:30px;
|
||||
margin:-2px -8px;
|
||||
border-radius:2px;
|
||||
}
|
||||
|
||||
QSlider::handle:vertical:hover {
|
||||
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #fff, stop:1 #ddd);
|
||||
border: 1px solid #444;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
QSlider::sub-page:vertical:disabled {
|
||||
background: #bbb;
|
||||
border-color: #999;
|
||||
}
|
||||
|
||||
QSlider::add-page:vertical:disabled {
|
||||
background: #eee;
|
||||
border-color: #999;
|
||||
}
|
||||
|
||||
QSlider::handle:vertical:disabled {
|
||||
background: #eee;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 2px;
|
||||
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #fff, stop:1 #fefefe);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>450</number>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>0</number>
|
||||
<number>100</number>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
|
Loading…
Reference in New Issue
Block a user