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>
129 lines
4.9 KiB
C++
129 lines
4.9 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'newdynamicpropertydialog.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 NEWDYNAMICPROPERTYDIALOG_H
|
|
#define NEWDYNAMICPROPERTYDIALOG_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QComboBox>
|
|
#include <QtWidgets/QDialog>
|
|
#include <QtWidgets/QDialogButtonBox>
|
|
#include <QtWidgets/QFormLayout>
|
|
#include <QtWidgets/QHBoxLayout>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QLineEdit>
|
|
#include <QtWidgets/QSpacerItem>
|
|
#include <QtWidgets/QVBoxLayout>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
namespace qdesigner_internal {
|
|
|
|
class Ui_NewDynamicPropertyDialog
|
|
{
|
|
public:
|
|
QVBoxLayout *verticalLayout;
|
|
QFormLayout *formLayout;
|
|
QLineEdit *m_lineEdit;
|
|
QLabel *label;
|
|
QHBoxLayout *horizontalLayout;
|
|
QComboBox *m_comboBox;
|
|
QSpacerItem *horizontalSpacer;
|
|
QLabel *label_2;
|
|
QSpacerItem *spacerItem;
|
|
QDialogButtonBox *m_buttonBox;
|
|
|
|
void setupUi(QDialog *qdesigner_internal__NewDynamicPropertyDialog)
|
|
{
|
|
if (qdesigner_internal__NewDynamicPropertyDialog->objectName().isEmpty())
|
|
qdesigner_internal__NewDynamicPropertyDialog->setObjectName(QString::fromUtf8("qdesigner_internal__NewDynamicPropertyDialog"));
|
|
qdesigner_internal__NewDynamicPropertyDialog->resize(340, 118);
|
|
verticalLayout = new QVBoxLayout(qdesigner_internal__NewDynamicPropertyDialog);
|
|
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
|
formLayout = new QFormLayout();
|
|
formLayout->setObjectName(QString::fromUtf8("formLayout"));
|
|
m_lineEdit = new QLineEdit(qdesigner_internal__NewDynamicPropertyDialog);
|
|
m_lineEdit->setObjectName(QString::fromUtf8("m_lineEdit"));
|
|
m_lineEdit->setMinimumSize(QSize(220, 0));
|
|
|
|
formLayout->setWidget(0, QFormLayout::FieldRole, m_lineEdit);
|
|
|
|
label = new QLabel(qdesigner_internal__NewDynamicPropertyDialog);
|
|
label->setObjectName(QString::fromUtf8("label"));
|
|
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
|
|
sizePolicy.setHorizontalStretch(0);
|
|
sizePolicy.setVerticalStretch(0);
|
|
sizePolicy.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
|
|
label->setSizePolicy(sizePolicy);
|
|
|
|
formLayout->setWidget(0, QFormLayout::LabelRole, label);
|
|
|
|
horizontalLayout = new QHBoxLayout();
|
|
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
|
m_comboBox = new QComboBox(qdesigner_internal__NewDynamicPropertyDialog);
|
|
m_comboBox->setObjectName(QString::fromUtf8("m_comboBox"));
|
|
|
|
horizontalLayout->addWidget(m_comboBox);
|
|
|
|
horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
horizontalLayout->addItem(horizontalSpacer);
|
|
|
|
|
|
formLayout->setLayout(1, QFormLayout::FieldRole, horizontalLayout);
|
|
|
|
label_2 = new QLabel(qdesigner_internal__NewDynamicPropertyDialog);
|
|
label_2->setObjectName(QString::fromUtf8("label_2"));
|
|
sizePolicy.setHeightForWidth(label_2->sizePolicy().hasHeightForWidth());
|
|
label_2->setSizePolicy(sizePolicy);
|
|
|
|
formLayout->setWidget(1, QFormLayout::LabelRole, label_2);
|
|
|
|
|
|
verticalLayout->addLayout(formLayout);
|
|
|
|
spacerItem = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
|
|
|
verticalLayout->addItem(spacerItem);
|
|
|
|
m_buttonBox = new QDialogButtonBox(qdesigner_internal__NewDynamicPropertyDialog);
|
|
m_buttonBox->setObjectName(QString::fromUtf8("m_buttonBox"));
|
|
m_buttonBox->setOrientation(Qt::Horizontal);
|
|
m_buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
|
|
m_buttonBox->setCenterButtons(false);
|
|
|
|
verticalLayout->addWidget(m_buttonBox);
|
|
|
|
|
|
retranslateUi(qdesigner_internal__NewDynamicPropertyDialog);
|
|
|
|
QMetaObject::connectSlotsByName(qdesigner_internal__NewDynamicPropertyDialog);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QDialog *qdesigner_internal__NewDynamicPropertyDialog)
|
|
{
|
|
qdesigner_internal__NewDynamicPropertyDialog->setWindowTitle(QCoreApplication::translate("qdesigner_internal::NewDynamicPropertyDialog", "Create Dynamic Property", nullptr));
|
|
label->setText(QCoreApplication::translate("qdesigner_internal::NewDynamicPropertyDialog", "Property Name", nullptr));
|
|
label_2->setText(QCoreApplication::translate("qdesigner_internal::NewDynamicPropertyDialog", "Property Type", nullptr));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
} // namespace qdesigner_internal
|
|
|
|
namespace qdesigner_internal {
|
|
namespace Ui {
|
|
class NewDynamicPropertyDialog: public Ui_NewDynamicPropertyDialog {};
|
|
} // namespace Ui
|
|
} // namespace qdesigner_internal
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // NEWDYNAMICPROPERTYDIALOG_H
|