ff18b02f21
This reverts the following commits:d12d2949d1
26c3bec09b
49b08f96e8
We can't easily predict all code paths for QDesigner with such a microoptimization. We also don't want to generate three different string constructions depending on some sophisticated heuristics. [ChangeLog][uic] The -no-stringliteral option is now deprecated and UIC will not generate QStringLiteral anymore. Task-number: QTBUG-65251 Task-number: QTBUG-51602 Change-Id: I34a5a1934a8df19c5c84ac2ba8e5168ce5665037 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
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(QString::fromUtf8("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(QString::fromUtf8("vboxLayout"));
|
|
aLabel = new QLabel(MyDialog);
|
|
aLabel->setObjectName(QString::fromUtf8("aLabel"));
|
|
|
|
vboxLayout->addWidget(aLabel);
|
|
|
|
aButton = new QPushButton(MyDialog);
|
|
aButton->setObjectName(QString::fromUtf8("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
|