f213e818f0
Change QApplication::translate() to QCoreApplication::translate() in generator and tests. Task-number: PYSIDE-797 Change-Id: I0bbaf1f280b74b3b2a701a39203c059ab82fce1f Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
78 lines
2.1 KiB
C++
78 lines
2.1 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'Widget.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 5.12.0
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef WIDGET_H
|
|
#define WIDGET_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QGroupBox>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QPushButton>
|
|
#include <QtWidgets/QVBoxLayout>
|
|
#include <QtWidgets/QWidget>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_Form
|
|
{
|
|
public:
|
|
QVBoxLayout *vboxLayout;
|
|
QLabel *Alabel;
|
|
QGroupBox *groupBox;
|
|
QPushButton *pushButton;
|
|
|
|
void setupUi(QWidget *Form)
|
|
{
|
|
if (Form->objectName().isEmpty())
|
|
Form->setObjectName(QString::fromUtf8("Form"));
|
|
Form->resize(400, 300);
|
|
vboxLayout = new QVBoxLayout(Form);
|
|
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
|
|
Alabel = new QLabel(Form);
|
|
Alabel->setObjectName(QString::fromUtf8("Alabel"));
|
|
|
|
vboxLayout->addWidget(Alabel);
|
|
|
|
groupBox = new QGroupBox(Form);
|
|
groupBox->setObjectName(QString::fromUtf8("groupBox"));
|
|
|
|
vboxLayout->addWidget(groupBox);
|
|
|
|
pushButton = new QPushButton(Form);
|
|
pushButton->setObjectName(QString::fromUtf8("pushButton"));
|
|
|
|
vboxLayout->addWidget(pushButton);
|
|
|
|
|
|
retranslateUi(Form);
|
|
|
|
QMetaObject::connectSlotsByName(Form);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QWidget *Form)
|
|
{
|
|
Form->setWindowTitle(QCoreApplication::translate("Form", "Form", nullptr));
|
|
Alabel->setText(QCoreApplication::translate("Form", "A label.\n"
|
|
"One new line.\n"
|
|
"Another new line.\n"
|
|
"Last line.", nullptr));
|
|
groupBox->setTitle(QCoreApplication::translate("Form", "A Group Box", nullptr));
|
|
pushButton->setText(QCoreApplication::translate("Form", "PushButton", nullptr));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class Form: public Ui_Form {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // WIDGET_H
|