qskinny icon indicating copy to clipboard operation
qskinny copied to clipboard

QskSkinlet::subControlRect: using QPainterPath

Open uwerat opened this issue 1 year ago • 0 comments

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.

uwerat avatar Apr 20 '23 09:04 uwerat