Hi Every body
I'm tryng to apply stylesheet for both pushbutton and tool button through qss file. Below i've posted the qss file. its working fine for QPushButton. but not working for QtoolButton. Plz help me.
Qt Code:
{ image: url(":/resource/Icons/Popup_BTN_N.png"); } QPushButton:pressed { image: url(":/resource/Icons/Popup_BTN_D.png"); } QPushButton:focused { image: url(":/resource/Icons/Popup_BTN_F.png"); } QPushButton:hover { image: url(":/resource/Icons/Popup_BTN_F.png"); } { image: url(":/resource/Icons/Contents_Monitor_Close_Icon_N.png"); } QToolButton:pressed { bimage: url(":/resource/Icons/Contents_Monitor_Close_Icon_D.png"); } QToolButton:focused { image: url(":/resource/Icons/Contents_Monitor_Close_Icon_F.png"); }To copy to clipboard, switch view to plain text mode
Bookmarks