9 #ifndef UI_PQFINDDATASELECTIONDISPLAYFRAME_H 10 #define UI_PQFINDDATASELECTIONDISPLAYFRAME_H 12 #include <QtCore/QVariant> 13 #include <QtGui/QIcon> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QHBoxLayout> 16 #include <QtWidgets/QPushButton> 17 #include <QtWidgets/QToolButton> 18 #include <QtWidgets/QWidget> 35 void setupUi(QWidget *FindDataSelectionDisplayFrame)
37 if (FindDataSelectionDisplayFrame->objectName().isEmpty())
38 FindDataSelectionDisplayFrame->setObjectName(QString::fromUtf8(
"FindDataSelectionDisplayFrame"));
39 FindDataSelectionDisplayFrame->resize(773, 53);
40 horizontalLayout =
new QHBoxLayout(FindDataSelectionDisplayFrame);
41 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
43 selectionColor->setObjectName(QString::fromUtf8(
"selectionColor"));
44 selectionColor->setEnabled(
true);
46 horizontalLayout->addWidget(selectionColor);
49 interactiveSelectionColor->setObjectName(QString::fromUtf8(
"interactiveSelectionColor"));
50 interactiveSelectionColor->setEnabled(
true);
52 horizontalLayout->addWidget(interactiveSelectionColor);
54 labelPropertiesInteractiveSelection =
new QToolButton(FindDataSelectionDisplayFrame);
55 labelPropertiesInteractiveSelection->setObjectName(QString::fromUtf8(
"labelPropertiesInteractiveSelection"));
57 icon.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqAdvanced.svg"), QSize(), QIcon::Normal, QIcon::Off);
58 labelPropertiesInteractiveSelection->setIcon(icon);
59 labelPropertiesInteractiveSelection->setToolButtonStyle(Qt::ToolButtonIconOnly);
61 horizontalLayout->addWidget(labelPropertiesInteractiveSelection);
63 cellLabelsButton =
new QPushButton(FindDataSelectionDisplayFrame);
64 cellLabelsButton->setObjectName(QString::fromUtf8(
"cellLabelsButton"));
66 icon1.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqCellData.svg"), QSize(), QIcon::Normal, QIcon::Off);
67 cellLabelsButton->setIcon(icon1);
69 horizontalLayout->addWidget(cellLabelsButton);
71 pointLabelsButton =
new QPushButton(FindDataSelectionDisplayFrame);
72 pointLabelsButton->setObjectName(QString::fromUtf8(
"pointLabelsButton"));
74 icon2.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqPointData.svg"), QSize(), QIcon::Normal, QIcon::Off);
75 pointLabelsButton->setIcon(icon2);
77 horizontalLayout->addWidget(pointLabelsButton);
79 showFrustumButton =
new QToolButton(FindDataSelectionDisplayFrame);
80 showFrustumButton->setObjectName(QString::fromUtf8(
"showFrustumButton"));
82 icon3.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqFrustumSelectionCell.svg"), QSize(), QIcon::Normal, QIcon::Off);
83 showFrustumButton->setIcon(icon3);
84 showFrustumButton->setCheckable(
true);
86 horizontalLayout->addWidget(showFrustumButton);
88 labelPropertiesSelection =
new QToolButton(FindDataSelectionDisplayFrame);
89 labelPropertiesSelection->setObjectName(QString::fromUtf8(
"labelPropertiesSelection"));
90 labelPropertiesSelection->setIcon(icon);
91 labelPropertiesSelection->setToolButtonStyle(Qt::ToolButtonIconOnly);
93 horizontalLayout->addWidget(labelPropertiesSelection);
98 QMetaObject::connectSlotsByName(FindDataSelectionDisplayFrame);
103 FindDataSelectionDisplayFrame->setWindowTitle(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"Form",
nullptr));
104 #if QT_CONFIG(tooltip) 105 selectionColor->setToolTip(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"<p>Set the color to use to show selected elements</p>",
nullptr));
106 #endif // QT_CONFIG(tooltip) 107 selectionColor->setText(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"Selection Color",
nullptr));
108 #if QT_CONFIG(tooltip) 109 interactiveSelectionColor->setToolTip(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"<p>Set the color to use to show selected elements</p>",
nullptr));
110 #endif // QT_CONFIG(tooltip) 111 interactiveSelectionColor->setText(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"Interactive Selection Color",
nullptr));
112 #if QT_CONFIG(tooltip) 113 labelPropertiesInteractiveSelection->setToolTip(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"Edit interactive selection label properties",
nullptr));
114 #endif // QT_CONFIG(tooltip) 115 #if QT_CONFIG(tooltip) 116 cellLabelsButton->setToolTip(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"<p>Set the array to label selected cells with</p>",
nullptr));
117 #endif // QT_CONFIG(tooltip) 118 cellLabelsButton->setText(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"Cell Labels",
nullptr));
119 #if QT_CONFIG(tooltip) 120 pointLabelsButton->setToolTip(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"<p>Set the array to label to selected points with</p>",
nullptr));
121 #endif // QT_CONFIG(tooltip) 122 pointLabelsButton->setText(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"Point Labels",
nullptr));
123 #if QT_CONFIG(tooltip) 124 showFrustumButton->setToolTip(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"<p>For frustum based selections, show the frustum used to select the elements</p>",
nullptr));
125 #endif // QT_CONFIG(tooltip) 126 showFrustumButton->setText(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"Show frustum",
nullptr));
127 #if QT_CONFIG(tooltip) 128 labelPropertiesSelection->setToolTip(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"Edit selection label properties",
nullptr));
129 #endif // QT_CONFIG(tooltip) 140 #endif // UI_PQFINDDATASELECTIONDISPLAYFRAME_H pqColorChooserButton * interactiveSelectionColor
void setupUi(QWidget *FindDataSelectionDisplayFrame)
QHBoxLayout * horizontalLayout
QPushButton * cellLabelsButton
QPushButton * pointLabelsButton
QToolButton * showFrustumButton
void retranslateUi(QWidget *FindDataSelectionDisplayFrame)
QToolButton * labelPropertiesSelection
QToolButton * labelPropertiesInteractiveSelection
pqColorChooserButton * selectionColor