9 #ifndef UI_PQCOMPARATIVEPARAMETERRANGEDIALOG_H 10 #define UI_PQCOMPARATIVEPARAMETERRANGEDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QComboBox> 15 #include <QtWidgets/QDialog> 16 #include <QtWidgets/QDialogButtonBox> 17 #include <QtWidgets/QHBoxLayout> 18 #include <QtWidgets/QLabel> 19 #include <QtWidgets/QLineEdit> 20 #include <QtWidgets/QSpacerItem> 21 #include <QtWidgets/QVBoxLayout> 38 void setupUi(QDialog *pqComparativeParameterRangeDialog)
40 if (pqComparativeParameterRangeDialog->objectName().isEmpty())
41 pqComparativeParameterRangeDialog->setObjectName(QString::fromUtf8(
"pqComparativeParameterRangeDialog"));
42 pqComparativeParameterRangeDialog->resize(313, 121);
43 verticalLayout =
new QVBoxLayout(pqComparativeParameterRangeDialog);
44 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
45 multivalueHint =
new QLabel(pqComparativeParameterRangeDialog);
46 multivalueHint->setObjectName(QString::fromUtf8(
"multivalueHint"));
48 verticalLayout->addWidget(multivalueHint);
50 horizontalLayout =
new QHBoxLayout();
51 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
52 minValue =
new QLineEdit(pqComparativeParameterRangeDialog);
53 minValue->setObjectName(QString::fromUtf8(
"minValue"));
55 horizontalLayout->addWidget(minValue);
57 label =
new QLabel(pqComparativeParameterRangeDialog);
58 label->setObjectName(QString::fromUtf8(
"label"));
60 horizontalLayout->addWidget(label);
62 maxValue =
new QLineEdit(pqComparativeParameterRangeDialog);
63 maxValue->setObjectName(QString::fromUtf8(
"maxValue"));
65 horizontalLayout->addWidget(maxValue);
68 verticalLayout->addLayout(horizontalLayout);
70 verticalSpacer =
new QSpacerItem(20, 4, QSizePolicy::Minimum, QSizePolicy::Expanding);
72 verticalLayout->addItem(verticalSpacer);
74 mode =
new QComboBox(pqComparativeParameterRangeDialog);
75 mode->addItem(QString());
76 mode->addItem(QString());
77 mode->addItem(QString());
78 mode->addItem(QString());
79 mode->setObjectName(QString::fromUtf8(
"mode"));
81 verticalLayout->addWidget(mode);
83 buttonBox =
new QDialogButtonBox(pqComparativeParameterRangeDialog);
84 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
85 buttonBox->setOrientation(Qt::Horizontal);
86 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
88 verticalLayout->addWidget(buttonBox);
90 QWidget::setTabOrder(minValue, maxValue);
91 QWidget::setTabOrder(maxValue, buttonBox);
94 QObject::connect(buttonBox, SIGNAL(accepted()), pqComparativeParameterRangeDialog, SLOT(accept()));
95 QObject::connect(buttonBox, SIGNAL(rejected()), pqComparativeParameterRangeDialog, SLOT(reject()));
97 QMetaObject::connectSlotsByName(pqComparativeParameterRangeDialog);
102 pqComparativeParameterRangeDialog->setWindowTitle(QCoreApplication::translate(
"pqComparativeParameterRangeDialog",
"Enter Parameter Range",
nullptr));
103 multivalueHint->setText(QCoreApplication::translate(
"pqComparativeParameterRangeDialog",
"Use comma-separated values to enter multiple values.\n" 104 "However number of values in both entires must match.",
nullptr));
105 label->setText(QCoreApplication::translate(
"pqComparativeParameterRangeDialog",
" to ",
nullptr));
106 mode->setItemText(0, QCoreApplication::translate(
"pqComparativeParameterRangeDialog",
"Vary horizontally first",
nullptr));
107 mode->setItemText(1, QCoreApplication::translate(
"pqComparativeParameterRangeDialog",
"Vary vertically first",
nullptr));
108 mode->setItemText(2, QCoreApplication::translate(
"pqComparativeParameterRangeDialog",
"Only vary horizontally",
nullptr));
109 mode->setItemText(3, QCoreApplication::translate(
"pqComparativeParameterRangeDialog",
"Only vary vertically",
nullptr));
111 #if QT_CONFIG(tooltip) 112 mode->setToolTip(QCoreApplication::translate(
"pqComparativeParameterRangeDialog",
"Controls the direction in which the parameter is varied.",
nullptr));
113 #endif // QT_CONFIG(tooltip) 114 #if QT_CONFIG(statustip) 115 mode->setStatusTip(QCoreApplication::translate(
"pqComparativeParameterRangeDialog",
"Controls the direction in which the parameter is varied.",
nullptr));
116 #endif // QT_CONFIG(statustip) 127 #endif // UI_PQCOMPARATIVEPARAMETERRANGEDIALOG_H void setupUi(QDialog *pqComparativeParameterRangeDialog)
void retranslateUi(QDialog *pqComparativeParameterRangeDialog)
QSpacerItem * verticalSpacer
QDialogButtonBox * buttonBox
QHBoxLayout * horizontalLayout
QVBoxLayout * verticalLayout