Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
None
-
5.15.2, 6.0.0
-
-
Bug Fixing Candidates
Description
In order to find a rectangle for a QSlider handle, the following code gives the wrong output
QStyle *style = slider->style();
QStyleOptionSlider *option = new QStyleOptionSlider;
option->rect = slider->rect();
option->maximum=slider->maximum();
option->minimum=slider->minimum();
option->sliderValue=slider->value();
QRect handle = style->subControlRect(QStyle::CC_Slider, option,
QStyle::SC_SliderHandle, slider);
Please refer to the attached sample
Attachments
Issue Links
- relates to
-
PYSIDE-1628 Can not show QStyledItemDelegate correctly
- Closed