Hi
Using style sheet you can easily change your slider
QSlider::groove:vertical
{ background
-image
: url
(:/new/prefix1
/SliderTruckFullSpk.
png); left
: 0px; right
:0px;
/* absolutely position 4px from the left and right of the widget. setting margins on the widget should work too... */} QSlider::handle:vertical
{height
:17px;width
:17px; background
-image
: url
(:/new/prefix1
/speakerindicator_Idle.
png); left
: 1px; right
: 0px;top
:0px;bottom
:4px;
} QSlider::sub-page
:vertical
{ background
-image
: url
(:/new/prefix1
/SliderTruck.
png);left
: 0px; right
:0px;
}
QSlider::groove:vertical { background-image: url(:/new/prefix1/SliderTruckFullSpk.png); left: 0px; right:0px; /* absolutely position 4px from the left and right of the widget. setting margins on the widget should work too... */}
QSlider::handle:vertical {height:17px;width:17px; background-image: url(:/new/prefix1/speakerindicator_Idle.png); left: 1px; right: 0px;top:0px;bottom:4px; }
QSlider::sub-page:vertical { background-image: url(:/new/prefix1/SliderTruck.png);left: 0px; right:0px; }
To copy to clipboard, switch view to plain text mode
Bookmarks