1Qter豆
最佳答案不是有个滑块吗,把整个部件分为了前后两部分,那个是滑块以前的部分的颜色。用个垂直的slider部件,然后用下面的样式表,就看出效果了:
QSlider::groove:vertical {
background: red;
position: absolute; /* absolutely position 4px from the left and right of the widget. setting margins on the widget should work too... */
left: 4px; right: 4px;
}
QSlider::handle:vertical {
height: 10px;
b ...
| ||
2013-11-13 23:11:36
显示全部楼层
| ||
2015-12-3 15:48:19
显示全部楼层
| |
2015-12-18 15:10:19
显示全部楼层
| |