#include <QApplication>
#include <QPushButton>
int main(int argc, char **argv){
pb.
setText(QObject::tr("\"Hello fopetesl!\" - says the Qt world"));
app.connect(&pb, SIGNAL(clicked()), &app, SLOT(quit()));
return app.exec();
}
#include <QApplication>
#include <QPushButton>
int main(int argc, char **argv){
QApplication app(argc, argv);
QPushButton pb;
pb.setText(QObject::tr("\"Hello fopetesl!\" - says the Qt world"));
app.connect(&pb, SIGNAL(clicked()), &app, SLOT(quit()));
return app.exec();
}
To copy to clipboard, switch view to plain text mode
Bookmarks