Home > Mobile > Qt with painEvent owner-draw controls how like Qt native controls use style sheets
Qt with painEvent owner-draw controls how like Qt native controls use style sheets
Time:10-12
Qt with painEvent owner-draw controls how to use stylesheets, like Qt native controls such as QPushbutton hover of pressed state, etc.
CodePudding user response:
Have oneself painter, not equal to directly decide on their own, such as state hover, more convenient! I this control is to handle hovering the mouse according to an inferior state,
CodePudding user response:
When you draw controls inherit QPushButton QPushButton style sheets can be used