Hi everybody,
I'm absolutely a Qt4 newbie.
I have the following problem: I have a QPushButton, with a icon image (iconSize: 90x90px) I would like to associate another icon image when I pass the mouse over this button, without clicking.
I tried with style sheet but it doesn't works (in the designer it works but the image is not in 90x90px, but in the application it not works). I tried that but nothing:
css Code:
QPushButton: hover { background-image: url("mypicturefromresources.png"); background-position: center; width: 90px; height: 90px; }To copy to clipboard, switch view to plain text mode
Is there another suggestion to do it in a easy way?
Thank you very much.
Bookmarks