we add a custom feature for QPushButton and QLabel(not yet), which support drawing background from a QIcon(state, mode etc),
we draw the background ourself, but the Qt paint system would also initilied the widget background for you before running into QWidget::paintEvent(),
so , I think I can make a little performance at this point.
we add a custom feature for QPushButton and QLabel(not yet), which support drawing background from a QIcon(state, mode etc),
we draw the background ourself, but the Qt paint system would also initilied the widget background for you before running into QWidget::paintEvent(), so , I think I can make a little performance at this point.