PDA

View Full Version : Styling SeekSlider



alexandernst
23rd January 2011, 14:03
Where can I find documentation/reference about styling a seekslider (phonon) with qss?

alexandernst
23rd January 2011, 21:52
Found it myself:



QSlider::handle:horizontal {
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
border: 1px solid #5c5c5c;
width: 18px;
margin: -2px 0;
border-radius: 3px;
}

QSlider::groove:horizontal {
border: 1px solid #999999;
height: 8px;
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #B1B1B1, stop:1 #c4c4c4);
margin: 2px 0;
}