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/QFrame> 16 #include <QtWidgets/QHBoxLayout> 17 #include <QtWidgets/QLabel> 18 #include <QtWidgets/QPushButton> 19 #include <QtWidgets/QSpacerItem> 20 #include <QtWidgets/QVBoxLayout> 21 #include <QtWidgets/QWidget> 48 void setupUi(QWidget *FindDataSelectionDisplayFrame)
50 if (FindDataSelectionDisplayFrame->objectName().isEmpty())
51 FindDataSelectionDisplayFrame->setObjectName(QString::fromUtf8(
"FindDataSelectionDisplayFrame"));
52 FindDataSelectionDisplayFrame->resize(216, 250);
53 mainLayout =
new QVBoxLayout(FindDataSelectionDisplayFrame);
54 mainLayout->setObjectName(QString::fromUtf8(
"mainLayout"));
55 verticalLayout =
new QVBoxLayout();
56 verticalLayout->setSpacing(0);
57 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
58 label =
new QLabel(FindDataSelectionDisplayFrame);
59 label->setObjectName(QString::fromUtf8(
"label"));
61 verticalLayout->addWidget(label);
63 line =
new QFrame(FindDataSelectionDisplayFrame);
64 line->setObjectName(QString::fromUtf8(
"line"));
65 line->setFrameShape(QFrame::HLine);
66 line->setFrameShadow(QFrame::Sunken);
68 verticalLayout->addWidget(line);
71 mainLayout->addLayout(verticalLayout);
73 horizontalLayout =
new QHBoxLayout();
74 horizontalLayout->setSpacing(2);
75 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
76 cellLabelsButton =
new QPushButton(FindDataSelectionDisplayFrame);
77 cellLabelsButton->setObjectName(QString::fromUtf8(
"cellLabelsButton"));
79 icon.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqCellData.svg"), QSize(), QIcon::Normal, QIcon::Off);
80 cellLabelsButton->setIcon(icon);
82 horizontalLayout->addWidget(cellLabelsButton);
84 pointLabelsButton =
new QPushButton(FindDataSelectionDisplayFrame);
85 pointLabelsButton->setObjectName(QString::fromUtf8(
"pointLabelsButton"));
87 icon1.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqPointData.svg"), QSize(), QIcon::Normal, QIcon::Off);
88 pointLabelsButton->setIcon(icon1);
90 horizontalLayout->addWidget(pointLabelsButton);
93 mainLayout->addLayout(horizontalLayout);
95 labelPropertiesSelection =
new QPushButton(FindDataSelectionDisplayFrame);
96 labelPropertiesSelection->setObjectName(QString::fromUtf8(
"labelPropertiesSelection"));
98 icon2.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqAdvanced.svg"), QSize(), QIcon::Normal, QIcon::Off);
99 labelPropertiesSelection->setIcon(icon2);
101 mainLayout->addWidget(labelPropertiesSelection);
103 verticalLayout_2 =
new QVBoxLayout();
104 verticalLayout_2->setSpacing(0);
105 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
106 label_2 =
new QLabel(FindDataSelectionDisplayFrame);
107 label_2->setObjectName(QString::fromUtf8(
"label_2"));
109 verticalLayout_2->addWidget(label_2);
111 line_2 =
new QFrame(FindDataSelectionDisplayFrame);
112 line_2->setObjectName(QString::fromUtf8(
"line_2"));
113 line_2->setFrameShape(QFrame::HLine);
114 line_2->setFrameShadow(QFrame::Sunken);
116 verticalLayout_2->addWidget(line_2);
119 mainLayout->addLayout(verticalLayout_2);
122 selectionColor->setObjectName(QString::fromUtf8(
"selectionColor"));
123 selectionColor->setEnabled(
true);
124 QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed);
125 sizePolicy.setHorizontalStretch(0);
126 sizePolicy.setVerticalStretch(0);
127 sizePolicy.setHeightForWidth(selectionColor->sizePolicy().hasHeightForWidth());
128 selectionColor->setSizePolicy(sizePolicy);
130 mainLayout->addWidget(selectionColor);
132 verticalLayout_3 =
new QVBoxLayout();
133 verticalLayout_3->setSpacing(0);
134 verticalLayout_3->setObjectName(QString::fromUtf8(
"verticalLayout_3"));
135 label_3 =
new QLabel(FindDataSelectionDisplayFrame);
136 label_3->setObjectName(QString::fromUtf8(
"label_3"));
138 verticalLayout_3->addWidget(label_3);
140 line_3 =
new QFrame(FindDataSelectionDisplayFrame);
141 line_3->setObjectName(QString::fromUtf8(
"line_3"));
142 line_3->setFrameShape(QFrame::HLine);
143 line_3->setFrameShadow(QFrame::Sunken);
145 verticalLayout_3->addWidget(line_3);
148 mainLayout->addLayout(verticalLayout_3);
151 interactiveSelectionColor->setObjectName(QString::fromUtf8(
"interactiveSelectionColor"));
152 interactiveSelectionColor->setEnabled(
true);
153 sizePolicy.setHeightForWidth(interactiveSelectionColor->sizePolicy().hasHeightForWidth());
154 interactiveSelectionColor->setSizePolicy(sizePolicy);
156 mainLayout->addWidget(interactiveSelectionColor);
158 labelPropertiesInteractiveSelection =
new QPushButton(FindDataSelectionDisplayFrame);
159 labelPropertiesInteractiveSelection->setObjectName(QString::fromUtf8(
"labelPropertiesInteractiveSelection"));
160 labelPropertiesInteractiveSelection->setIcon(icon2);
162 mainLayout->addWidget(labelPropertiesInteractiveSelection);
164 verticalSpacer =
new QSpacerItem(20, 19, QSizePolicy::Minimum, QSizePolicy::Expanding);
166 mainLayout->addItem(verticalSpacer);
171 QMetaObject::connectSlotsByName(FindDataSelectionDisplayFrame);
176 FindDataSelectionDisplayFrame->setWindowTitle(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"Form",
nullptr));
177 label->setText(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"<html><head/><body><p><span style=\" font-weight:600;\">Selection Labels</span></p></body></html>",
nullptr));
178 #if QT_CONFIG(tooltip) 179 cellLabelsButton->setToolTip(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"<p>Set the array to label selected cells with</p>",
nullptr));
180 #endif // QT_CONFIG(tooltip) 181 cellLabelsButton->setText(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"Cell Labels",
nullptr));
182 #if QT_CONFIG(tooltip) 183 pointLabelsButton->setToolTip(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"<p>Set the array to label to selected points with</p>",
nullptr));
184 #endif // QT_CONFIG(tooltip) 185 pointLabelsButton->setText(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"Point Labels",
nullptr));
186 #if QT_CONFIG(tooltip) 187 labelPropertiesSelection->setToolTip(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"Edit selection label properties",
nullptr));
188 #endif // QT_CONFIG(tooltip) 189 labelPropertiesSelection->setText(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"Edit Label Properties",
nullptr));
190 label_2->setText(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"<html><head/><body><p><span style=\" font-weight:600;\">Selection Appearance</span></p></body></html>",
nullptr));
191 #if QT_CONFIG(tooltip) 192 selectionColor->setToolTip(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"<p>Set the color to use to show selected elements</p>",
nullptr));
193 #endif // QT_CONFIG(tooltip) 194 selectionColor->setText(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"Selection Color",
nullptr));
195 label_3->setText(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"<html><head/><body><p><span style=\" font-weight:600;\">Interactive Selection</span></p></body></html>",
nullptr));
196 #if QT_CONFIG(tooltip) 197 interactiveSelectionColor->setToolTip(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"<p>Set the color to use to show selected elements</p>",
nullptr));
198 #endif // QT_CONFIG(tooltip) 199 interactiveSelectionColor->setText(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"Interactive Selection Color",
nullptr));
200 #if QT_CONFIG(tooltip) 201 labelPropertiesInteractiveSelection->setToolTip(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"Edit interactive selection label properties",
nullptr));
202 #endif // QT_CONFIG(tooltip) 203 labelPropertiesInteractiveSelection->setText(QCoreApplication::translate(
"FindDataSelectionDisplayFrame",
"Edit Interactive Label Properties",
nullptr));
214 #endif // UI_PQFINDDATASELECTIONDISPLAYFRAME_H pqColorChooserButton * interactiveSelectionColor
QPushButton * labelPropertiesSelection
QVBoxLayout * verticalLayout_3
void setupUi(QWidget *FindDataSelectionDisplayFrame)
QHBoxLayout * horizontalLayout
QVBoxLayout * verticalLayout
QPushButton * cellLabelsButton
QPushButton * labelPropertiesInteractiveSelection
QPushButton * pointLabelsButton
QSpacerItem * verticalSpacer
void retranslateUi(QWidget *FindDataSelectionDisplayFrame)
QVBoxLayout * verticalLayout_2
pqColorChooserButton * selectionColor