Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

QSlider handle size after stylesheet

$
0
0
Is it possible to get the size of the handle of a QSlider if a stylesheet changed it? The following code seems only to work if nothing changed the handles size QStyleOptionSlider opt; initStyleOption(&opt); QRect handle = style()->subControlRect(QStyle::CC_Slider, &opt, QStyle::SC_SliderHandle);

Viewing all articles
Browse latest Browse all 13965

Trending Articles