Missing variant in QStyle.SubControl

Phil Thompson phil at riverbankcomputing.com
Wed Jan 26 16:34:06 GMT 2022

On 26/01/2022 12:25, Matthieu Dartiailh wrote:
> Hi,
> It appears that a number of values are missing from the
> QStyle.SubControl enum. In PyQt 6.2, the following variants are
> available:
> SC_All', 'SC_CustomBase', 'SC_None', 'SC_ScrollBarAddLine',
> 'SC_ScrollBarAddPage', 'SC_ScrollBarFirst', 'SC_ScrollBarGroove',
> 'SC_ScrollBarLast', 'SC_ScrollBarSlider', 'SC_ScrollBarSubLine',
> 'SC_ScrollBarSubPage', 'SC_TitleBarLabel'
> while the Qt documentation
> (https://doc.qt.io/qt-5/qstyle.html#SubControl-enum), list many others
> in particular the SC_Slider* ones.
> Could those missing variants be added ?

I don't know what you are looking at but they are all there.


More information about the PyQt mailing list