That's possible for hovering you should use styles like this
And then use QWidget::setStyleSheetQt Code:
{ background-image: url(:/images/Buttons_Styles/b_butt_free.png); border: none; } QPushButton:hover { background-image: url(:/images/Buttons_Styles/b_butt_over.png); border: none; } QPushButton:pressed { background-image: url(:/images/Buttons_Styles/b_butt_down.png); border: none; } QPushButton:disabled { background-image: url(:/images/Buttons_Styles/b_butt_disabled.png); border: none; }To copy to clipboard, switch view to plain text mode
Bookmarks