Set a image to QPushButton and use css :hover to change the image by qproperty-icon. Or subclass QLabel/QWidget/QPushButton, and reimp QWidget::enterEvent() and QWidget::leaveEvent() to change the image.
Set a image to QPushButton and use css :hover to change the image by qproperty-icon. Or subclass QLabel/QWidget/QPushButton, and reimp QWidget::enterEvent() and QWidget::leaveEvent() to change the image.
Raymond (22nd February 2010)
Bookmarks