9 #ifndef UI_PQTRANSFERFUNCTIONWIDGETPROPERTYDIALOG_H 10 #define UI_PQTRANSFERFUNCTIONWIDGETPROPERTYDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QDialog> 15 #include <QtWidgets/QDialogButtonBox> 16 #include <QtWidgets/QLabel> 17 #include <QtWidgets/QVBoxLayout> 30 void setupUi(QDialog *TransferFunctionWidgetPropertyDialog)
32 if (TransferFunctionWidgetPropertyDialog->objectName().isEmpty())
33 TransferFunctionWidgetPropertyDialog->setObjectName(QString::fromUtf8(
"TransferFunctionWidgetPropertyDialog"));
34 TransferFunctionWidgetPropertyDialog->resize(400, 377);
35 verticalLayout =
new QVBoxLayout(TransferFunctionWidgetPropertyDialog);
36 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
37 Label =
new QLabel(TransferFunctionWidgetPropertyDialog);
38 Label->setObjectName(QString::fromUtf8(
"Label"));
40 verticalLayout->addWidget(Label);
43 TransferFunctionEditor->setObjectName(QString::fromUtf8(
"TransferFunctionEditor"));
44 TransferFunctionEditor->setMinimumSize(QSize(0, 80));
46 verticalLayout->addWidget(TransferFunctionEditor);
48 ButtonBox =
new QDialogButtonBox(TransferFunctionWidgetPropertyDialog);
49 ButtonBox->setObjectName(QString::fromUtf8(
"ButtonBox"));
50 ButtonBox->setOrientation(Qt::Horizontal);
51 ButtonBox->setStandardButtons(QDialogButtonBox::Close);
53 verticalLayout->addWidget(ButtonBox);
55 verticalLayout->setStretch(1, 1);
58 QObject::connect(ButtonBox, SIGNAL(accepted()), TransferFunctionWidgetPropertyDialog, SLOT(accept()));
59 QObject::connect(ButtonBox, SIGNAL(rejected()), TransferFunctionWidgetPropertyDialog, SLOT(reject()));
61 QMetaObject::connectSlotsByName(TransferFunctionWidgetPropertyDialog);
66 TransferFunctionWidgetPropertyDialog->setWindowTitle(QCoreApplication::translate(
"TransferFunctionWidgetPropertyDialog",
"Edit Transfer Function",
nullptr));
67 Label->setText(QCoreApplication::translate(
"TransferFunctionWidgetPropertyDialog",
"<html><head/><body><p align=\"center\"><span style=\" font-weight:600;\">%1</span></p></body></html>",
nullptr));
78 #endif // UI_PQTRANSFERFUNCTIONWIDGETPROPERTYDIALOG_H