qskinny
qskinny copied to clipboard
QskSkinlet::subControlRect: using QPainterPath
Not all Subcontrols are "rectangular" ( f.e arcs ) and the bounding rectangle might be not accurate enough for handling pointer/hover events. Might be better to use return a QPainterPath instead.
QskSkinlet::subControlRect/QskSkinlet::sampleRect should be QskSkinlet::subControlPath/QskSkinlet::samplePath then.