748836dae8
Generate it only when the form contains some actions. Change-Id: Ic1d64003ccff6102174771c04999cf7c90ac2ae8 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
76 lines
2.1 KiB
C++
76 lines
2.1 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'mydialog.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 5.9.0
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef MYDIALOG_H
|
|
#define MYDIALOG_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QDialog>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QPushButton>
|
|
#include <QtWidgets/QVBoxLayout>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_MyDialog
|
|
{
|
|
public:
|
|
QVBoxLayout *vboxLayout;
|
|
QLabel *aLabel;
|
|
QPushButton *aButton;
|
|
|
|
void setupUi(QDialog *MyDialog)
|
|
{
|
|
if (MyDialog->objectName().isEmpty())
|
|
MyDialog->setObjectName(QStringLiteral("MyDialog"));
|
|
MyDialog->resize(401, 70);
|
|
vboxLayout = new QVBoxLayout(MyDialog);
|
|
#ifndef Q_OS_MAC
|
|
vboxLayout->setSpacing(6);
|
|
#endif
|
|
#ifndef Q_OS_MAC
|
|
vboxLayout->setContentsMargins(9, 9, 9, 9);
|
|
#endif
|
|
vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
|
|
aLabel = new QLabel(MyDialog);
|
|
aLabel->setObjectName(QStringLiteral("aLabel"));
|
|
|
|
vboxLayout->addWidget(aLabel);
|
|
|
|
aButton = new QPushButton(MyDialog);
|
|
aButton->setObjectName(QStringLiteral("aButton"));
|
|
|
|
vboxLayout->addWidget(aButton);
|
|
|
|
|
|
retranslateUi(MyDialog);
|
|
|
|
QMetaObject::connectSlotsByName(MyDialog);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QDialog *MyDialog)
|
|
{
|
|
MyDialog->setWindowTitle(QApplication::translate("MyDialog", "Mach 2!", nullptr));
|
|
aLabel->setText(QApplication::translate("MyDialog", "Join the life in the fastlane; - PCH enable your project today! -", nullptr));
|
|
aButton->setText(QApplication::translate("MyDialog", "&Quit", nullptr));
|
|
#ifndef QT_NO_SHORTCUT
|
|
aButton->setShortcut(QApplication::translate("MyDialog", "Alt+Q", nullptr));
|
|
#endif // QT_NO_SHORTCUT
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class MyDialog: public Ui_MyDialog {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // MYDIALOG_H
|