TEMPLATE = app SOURCES = main.cpp FORMS = gotocelldialog.ui
Automaattisesti generoitu xml tiedosto dialogista
#include <QApplication> #include <QDialog> #include "ui_gotocelldialog.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); Ui::GoToCellDialog ui; QDialog *dialog = new QDialog; ui.setupUi(dialog); dialog->show(); return app.exec(); }