9 #ifndef UI_PQTRANSFERFUNCTIONWIDGETPROPERTYWIDGET_H 10 #define UI_PQTRANSFERFUNCTIONWIDGETPROPERTYWIDGET_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QHBoxLayout> 15 #include <QtWidgets/QLabel> 16 #include <QtWidgets/QPushButton> 17 #include <QtWidgets/QVBoxLayout> 18 #include <QtWidgets/QWidget> 36 void setupUi(QWidget *TransferFunctionWidgetPropertyWidget)
38 if (TransferFunctionWidgetPropertyWidget->objectName().isEmpty())
39 TransferFunctionWidgetPropertyWidget->setObjectName(QString::fromUtf8(
"TransferFunctionWidgetPropertyWidget"));
40 verticalLayout =
new QVBoxLayout(TransferFunctionWidgetPropertyWidget);
41 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
42 editButton =
new QPushButton(TransferFunctionWidgetPropertyWidget);
43 editButton->setObjectName(QString::fromUtf8(
"editButton"));
45 verticalLayout->addWidget(editButton);
47 horizontalLayout =
new QHBoxLayout();
48 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
49 label_1 =
new QLabel(TransferFunctionWidgetPropertyWidget);
50 label_1->setObjectName(QString::fromUtf8(
"label_1"));
52 horizontalLayout->addWidget(label_1);
54 rangeMin =
new pqLineEdit(TransferFunctionWidgetPropertyWidget);
55 rangeMin->setObjectName(QString::fromUtf8(
"rangeMin"));
57 horizontalLayout->addWidget(rangeMin);
59 rangeMax =
new pqLineEdit(TransferFunctionWidgetPropertyWidget);
60 rangeMax->setObjectName(QString::fromUtf8(
"rangeMax"));
62 horizontalLayout->addWidget(rangeMax);
64 label_2 =
new QLabel(TransferFunctionWidgetPropertyWidget);
65 label_2->setObjectName(QString::fromUtf8(
"label_2"));
67 horizontalLayout->addWidget(label_2);
70 resetButton->setObjectName(QString::fromUtf8(
"resetButton"));
72 horizontalLayout->addWidget(resetButton);
75 verticalLayout->addLayout(horizontalLayout);
77 verticalLayout->setStretch(1, 1);
81 QMetaObject::connectSlotsByName(TransferFunctionWidgetPropertyWidget);
86 editButton->setText(QCoreApplication::translate(
"TransferFunctionWidgetPropertyWidget",
"Edit",
nullptr));
87 label_1->setText(QCoreApplication::translate(
"TransferFunctionWidgetPropertyWidget",
"Range",
nullptr));
88 label_2->setText(QCoreApplication::translate(
"TransferFunctionWidgetPropertyWidget",
"-",
nullptr));
89 (void)TransferFunctionWidgetPropertyWidget;
100 #endif // UI_PQTRANSFERFUNCTIONWIDGETPROPERTYWIDGET_H
pqLineEdit is a specialization of QLineEdit which provide a new property 'text2'. ...