Created
August 14, 2013 04:24
-
-
Save yuzebin/6227993 to your computer and use it in GitHub Desktop.
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 <QtGui/QApplication> | |
#include <QtGui/QPushButton> | |
int main(int argc, char *argv[]) | |
{ | |
QApplication a(argc, argv); | |
QPushButton *button = new QPushButton("Quit"); | |
QObject::connect(button, SIGNAL(clicked()), &a, SLOT(quit())); | |
button->show(); | |
return a.exec(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment