4c43b60323
Task-number: QTBUG-21355 Change-Id: I315d4b1f55d42391524c0e8625952dee1b96fca3 Reviewed-on: http://codereview.qt-project.org/4449 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
133 lines
5.0 KiB
C++
133 lines
5.0 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'newdynamicpropertydialog.ui'
|
|
**
|
|
** Created: Fri Sep 4 10:17:14 2009
|
|
** by: Qt User Interface Compiler version 4.6.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 <QtGui/QAction>
|
|
#include <QtGui/QApplication>
|
|
#include <QtGui/QButtonGroup>
|
|
#include <QtGui/QComboBox>
|
|
#include <QtGui/QDialog>
|
|
#include <QtGui/QDialogButtonBox>
|
|
#include <QtGui/QFormLayout>
|
|
#include <QtGui/QHBoxLayout>
|
|
#include <QtGui/QHeaderView>
|
|
#include <QtGui/QLabel>
|
|
#include <QtGui/QLineEdit>
|
|
#include <QtGui/QSpacerItem>
|
|
#include <QtGui/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(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", 0, QApplication::UnicodeUTF8));
|
|
label->setText(QApplication::translate("qdesigner_internal::NewDynamicPropertyDialog", "Property Name", 0, QApplication::UnicodeUTF8));
|
|
label_2->setText(QApplication::translate("qdesigner_internal::NewDynamicPropertyDialog", "Property Type", 0, QApplication::UnicodeUTF8));
|
|
} // 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
|