9 #ifndef UI_PQOMETRANSFERFUNCTIONSPROPERTYWIDGETPAGE_H 10 #define UI_PQOMETRANSFERFUNCTIONSPROPERTYWIDGETPAGE_H 12 #include <QtCore/QVariant> 13 #include <QtGui/QIcon> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QDoubleSpinBox> 16 #include <QtWidgets/QHBoxLayout> 17 #include <QtWidgets/QLabel> 18 #include <QtWidgets/QSpacerItem> 19 #include <QtWidgets/QToolButton> 20 #include <QtWidgets/QVBoxLayout> 21 #include <QtWidgets/QWidget> 42 void setupUi(QWidget *OMETransferFunctionsPropertyWidgetPage)
44 if (OMETransferFunctionsPropertyWidgetPage->objectName().isEmpty())
45 OMETransferFunctionsPropertyWidgetPage->setObjectName(QString::fromUtf8(
"OMETransferFunctionsPropertyWidgetPage"));
46 OMETransferFunctionsPropertyWidgetPage->resize(365, 200);
47 OMETransferFunctionsPropertyWidgetPage->setMinimumSize(QSize(0, 200));
48 verticalLayout_3 =
new QVBoxLayout(OMETransferFunctionsPropertyWidgetPage);
49 verticalLayout_3->setObjectName(QString::fromUtf8(
"verticalLayout_3"));
50 verticalLayout_3->setContentsMargins(0, 0, 0, 0);
51 horizontalLayout_2 =
new QHBoxLayout();
52 horizontalLayout_2->setSpacing(0);
53 horizontalLayout_2->setObjectName(QString::fromUtf8(
"horizontalLayout_2"));
54 verticalLayout =
new QVBoxLayout();
55 verticalLayout->setSpacing(0);
56 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
57 verticalLayout->setSizeConstraint(QLayout::SetMinimumSize);
59 OpacityEditor->setObjectName(QString::fromUtf8(
"OpacityEditor"));
60 OpacityEditor->setMinimumSize(QSize(0, 100));
62 verticalLayout->addWidget(OpacityEditor);
65 ColorEditor->setObjectName(QString::fromUtf8(
"ColorEditor"));
66 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
67 sizePolicy.setHorizontalStretch(0);
68 sizePolicy.setVerticalStretch(0);
69 sizePolicy.setHeightForWidth(ColorEditor->sizePolicy().hasHeightForWidth());
70 ColorEditor->setSizePolicy(sizePolicy);
71 ColorEditor->setMinimumSize(QSize(40, 40));
72 ColorEditor->setMaximumSize(QSize(16777215, 40));
74 verticalLayout->addWidget(ColorEditor);
76 verticalLayout->setStretch(0, 1);
78 horizontalLayout_2->addLayout(verticalLayout);
80 verticalLayout_2 =
new QVBoxLayout();
81 verticalLayout_2->setSpacing(1);
82 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
83 verticalSpacer =
new QSpacerItem(0, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);
85 verticalLayout_2->addItem(verticalSpacer);
87 InvertTransferFunctions =
new QToolButton(OMETransferFunctionsPropertyWidgetPage);
88 InvertTransferFunctions->setObjectName(QString::fromUtf8(
"InvertTransferFunctions"));
90 icon.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqInvert.svg"), QSize(), QIcon::Normal, QIcon::Off);
91 InvertTransferFunctions->setIcon(icon);
93 verticalLayout_2->addWidget(InvertTransferFunctions);
95 ChoosePreset =
new QToolButton(OMETransferFunctionsPropertyWidgetPage);
96 ChoosePreset->setObjectName(QString::fromUtf8(
"ChoosePreset"));
98 icon1.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqFavorites.svg"), QSize(), QIcon::Normal, QIcon::Off);
99 ChoosePreset->setIcon(icon1);
101 verticalLayout_2->addWidget(ChoosePreset);
104 horizontalLayout_2->addLayout(verticalLayout_2);
106 horizontalLayout_2->setStretch(0, 1);
108 verticalLayout_3->addLayout(horizontalLayout_2);
110 horizontalLayout_3 =
new QHBoxLayout();
111 horizontalLayout_3->setObjectName(QString::fromUtf8(
"horizontalLayout_3"));
112 label_2 =
new QLabel(OMETransferFunctionsPropertyWidgetPage);
113 label_2->setObjectName(QString::fromUtf8(
"label_2"));
115 horizontalLayout_3->addWidget(label_2);
117 Weight =
new QDoubleSpinBox(OMETransferFunctionsPropertyWidgetPage);
118 Weight->setObjectName(QString::fromUtf8(
"Weight"));
119 Weight->setMaximum(1.000000000000000);
120 Weight->setSingleStep(0.050000000000000);
121 Weight->setValue(0.500000000000000);
123 horizontalLayout_3->addWidget(Weight);
125 horizontalLayout_3->setStretch(1, 1);
127 verticalLayout_3->addLayout(horizontalLayout_3);
132 QMetaObject::connectSlotsByName(OMETransferFunctionsPropertyWidgetPage);
137 OMETransferFunctionsPropertyWidgetPage->setWindowTitle(QCoreApplication::translate(
"OMETransferFunctionsPropertyWidgetPage",
"Form",
nullptr));
138 #if QT_CONFIG(tooltip) 139 InvertTransferFunctions->setToolTip(QCoreApplication::translate(
"OMETransferFunctionsPropertyWidgetPage",
"Invert the transfer functions",
nullptr));
140 #endif // QT_CONFIG(tooltip) 141 InvertTransferFunctions->setText(QString());
142 #if QT_CONFIG(tooltip) 143 ChoosePreset->setToolTip(QCoreApplication::translate(
"OMETransferFunctionsPropertyWidgetPage",
"Choose preset",
nullptr));
144 #endif // QT_CONFIG(tooltip) 145 ChoosePreset->setText(QString());
146 label_2->setText(QCoreApplication::translate(
"OMETransferFunctionsPropertyWidgetPage",
"Weight",
nullptr));
157 #endif // UI_PQOMETRANSFERFUNCTIONSPROPERTYWIDGETPAGE_H QSpacerItem * verticalSpacer
QHBoxLayout * horizontalLayout_3
QToolButton * ChoosePreset
pqTransferFunctionWidget * OpacityEditor
void setupUi(QWidget *OMETransferFunctionsPropertyWidgetPage)
QHBoxLayout * horizontalLayout_2
QVBoxLayout * verticalLayout_3
QToolButton * InvertTransferFunctions
QVBoxLayout * verticalLayout_2
void retranslateUi(QWidget *OMETransferFunctionsPropertyWidgetPage)
pqTransferFunctionWidget * ColorEditor
QVBoxLayout * verticalLayout