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>
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.0.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(QApplication::translate("qdesigner_internal::NewDynamicPropertyDialog", "Create Dynamic Property", nullptr));
|
|
label->setText(QApplication::translate("qdesigner_internal::NewDynamicPropertyDialog", "Property Name", nullptr));
|
|
label_2->setText(QApplication::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
|