Created
January 13, 2017 21:21
-
-
Save peteristhegreat/d6564cd0992351f98aa94f869be36f77 to your computer and use it in GitHub Desktop.
QHoverEvent in a QPushButton (and leaveEvent and enterEvent)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <QApplication> | |
#include "mypushbutton.h" | |
int main(int argc, char *argv[]) | |
{ | |
QApplication a(argc, argv); | |
MyPushButton pb; | |
pb.show(); | |
return a.exec(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment