ui_pqSelectionEditor.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'pqSelectionEditor.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.15.2
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_PQSELECTIONEDITOR_H
10 #define UI_PQSELECTIONEDITOR_H
11 
12 #include <QtCore/QVariant>
13 #include <QtGui/QIcon>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QHBoxLayout>
16 #include <QtWidgets/QHeaderView>
17 #include <QtWidgets/QLabel>
18 #include <QtWidgets/QLineEdit>
19 #include <QtWidgets/QPushButton>
20 #include <QtWidgets/QScrollArea>
21 #include <QtWidgets/QSpacerItem>
22 #include <QtWidgets/QToolButton>
23 #include <QtWidgets/QVBoxLayout>
24 #include <QtWidgets/QWidget>
25 #include "pqExpandableTableView.h"
26 
27 QT_BEGIN_NAMESPACE
28 
30 {
31 public:
32  QVBoxLayout *verticalLayout;
33  QHBoxLayout *SourceLayout;
34  QLabel *SourceLabel;
35  QLabel *SourceInfo;
36  QHBoxLayout *ElementTypeLayout;
38  QLabel *ElementTypeInfo;
39  QHBoxLayout *ExpressionLayout;
40  QLabel *ExpressionLabel;
41  QLineEdit *Expression;
42  QScrollArea *scrollArea;
44  QHBoxLayout *horizontalLayout;
46  QVBoxLayout *verticalLayoutToolbar;
47  QToolButton *AddActiveSelection;
49  QSpacerItem *VerticalSpacerToolbar;
50  QToolButton *RemoveAllSelections;
51  QHBoxLayout *FindResetCleanLayout;
53 
54  void setupUi(QWidget *SelectionEditor)
55  {
56  if (SelectionEditor->objectName().isEmpty())
57  SelectionEditor->setObjectName(QString::fromUtf8("SelectionEditor"));
58  SelectionEditor->resize(474, 260);
59  SelectionEditor->setMinimumSize(QSize(390, 0));
60  verticalLayout = new QVBoxLayout(SelectionEditor);
61  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
62  SourceLayout = new QHBoxLayout();
63  SourceLayout->setSpacing(5);
64  SourceLayout->setObjectName(QString::fromUtf8("SourceLayout"));
65  SourceLabel = new QLabel(SelectionEditor);
66  SourceLabel->setObjectName(QString::fromUtf8("SourceLabel"));
67  QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
68  sizePolicy.setHorizontalStretch(0);
69  sizePolicy.setVerticalStretch(0);
70  sizePolicy.setHeightForWidth(SourceLabel->sizePolicy().hasHeightForWidth());
71  SourceLabel->setSizePolicy(sizePolicy);
72 
73  SourceLayout->addWidget(SourceLabel);
74 
75  SourceInfo = new QLabel(SelectionEditor);
76  SourceInfo->setObjectName(QString::fromUtf8("SourceInfo"));
77  SourceInfo->setAutoFillBackground(false);
78  SourceInfo->setStyleSheet(QString::fromUtf8("QLabel {background-color: snow; border: 1px inset grey;}"));
79 
80  SourceLayout->addWidget(SourceInfo);
81 
82 
83  verticalLayout->addLayout(SourceLayout);
84 
85  ElementTypeLayout = new QHBoxLayout();
86  ElementTypeLayout->setSpacing(9);
87  ElementTypeLayout->setObjectName(QString::fromUtf8("ElementTypeLayout"));
88  ElementTypeLabel = new QLabel(SelectionEditor);
89  ElementTypeLabel->setObjectName(QString::fromUtf8("ElementTypeLabel"));
90  sizePolicy.setHeightForWidth(ElementTypeLabel->sizePolicy().hasHeightForWidth());
91  ElementTypeLabel->setSizePolicy(sizePolicy);
92 
93  ElementTypeLayout->addWidget(ElementTypeLabel);
94 
95  ElementTypeInfo = new QLabel(SelectionEditor);
96  ElementTypeInfo->setObjectName(QString::fromUtf8("ElementTypeInfo"));
97  ElementTypeInfo->setAutoFillBackground(false);
98  ElementTypeInfo->setStyleSheet(QString::fromUtf8("QLabel {background-color: snow; border: 1px inset grey;}"));
99 
100  ElementTypeLayout->addWidget(ElementTypeInfo);
101 
102 
103  verticalLayout->addLayout(ElementTypeLayout);
104 
105  ExpressionLayout = new QHBoxLayout();
106  ExpressionLayout->setSpacing(29);
107  ExpressionLayout->setObjectName(QString::fromUtf8("ExpressionLayout"));
108  ExpressionLabel = new QLabel(SelectionEditor);
109  ExpressionLabel->setObjectName(QString::fromUtf8("ExpressionLabel"));
110 
111  ExpressionLayout->addWidget(ExpressionLabel);
112 
113  Expression = new QLineEdit(SelectionEditor);
114  Expression->setObjectName(QString::fromUtf8("Expression"));
115 
116  ExpressionLayout->addWidget(Expression);
117 
118 
119  verticalLayout->addLayout(ExpressionLayout);
120 
121  scrollArea = new QScrollArea(SelectionEditor);
122  scrollArea->setObjectName(QString::fromUtf8("scrollArea"));
123  scrollArea->setFrameShape(QFrame::NoFrame);
124  scrollArea->setFrameShadow(QFrame::Plain);
125  scrollArea->setWidgetResizable(true);
126  scrollAreaWidgetContents = new QWidget();
127  scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents"));
128  scrollAreaWidgetContents->setGeometry(QRect(0, 0, 456, 122));
129  horizontalLayout = new QHBoxLayout(scrollAreaWidgetContents);
130  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
131  horizontalLayout->setContentsMargins(0, 0, 0, 0);
132  PropertiesView = new pqExpandableTableView(scrollAreaWidgetContents);
133  PropertiesView->setObjectName(QString::fromUtf8("PropertiesView"));
134 
135  horizontalLayout->addWidget(PropertiesView);
136 
137  verticalLayoutToolbar = new QVBoxLayout();
138  verticalLayoutToolbar->setObjectName(QString::fromUtf8("verticalLayoutToolbar"));
139  AddActiveSelection = new QToolButton(scrollAreaWidgetContents);
140  AddActiveSelection->setObjectName(QString::fromUtf8("AddActiveSelection"));
141  AddActiveSelection->setEnabled(true);
142  QIcon icon;
143  icon.addFile(QString::fromUtf8(":/QtWidgets/Icons/pqPlus.svg"), QSize(), QIcon::Normal, QIcon::Off);
144  AddActiveSelection->setIcon(icon);
145 
146  verticalLayoutToolbar->addWidget(AddActiveSelection);
147 
148  RemoveSelectedSelection = new QToolButton(scrollAreaWidgetContents);
149  RemoveSelectedSelection->setObjectName(QString::fromUtf8("RemoveSelectedSelection"));
150  RemoveSelectedSelection->setEnabled(true);
151  QIcon icon1;
152  icon1.addFile(QString::fromUtf8(":/QtWidgets/Icons/pqMinus.svg"), QSize(), QIcon::Normal, QIcon::Off);
153  RemoveSelectedSelection->setIcon(icon1);
154 
155  verticalLayoutToolbar->addWidget(RemoveSelectedSelection);
156 
157  VerticalSpacerToolbar = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
158 
159  verticalLayoutToolbar->addItem(VerticalSpacerToolbar);
160 
161  RemoveAllSelections = new QToolButton(scrollAreaWidgetContents);
162  RemoveAllSelections->setObjectName(QString::fromUtf8("RemoveAllSelections"));
163  RemoveAllSelections->setEnabled(true);
164  QIcon icon2;
165  icon2.addFile(QString::fromUtf8(":/QtWidgets/Icons/pqDelete.svg"), QSize(), QIcon::Normal, QIcon::Off);
166  RemoveAllSelections->setIcon(icon2);
167 
168  verticalLayoutToolbar->addWidget(RemoveAllSelections);
169 
170 
171  horizontalLayout->addLayout(verticalLayoutToolbar);
172 
173  scrollArea->setWidget(scrollAreaWidgetContents);
174 
175  verticalLayout->addWidget(scrollArea);
176 
177  FindResetCleanLayout = new QHBoxLayout();
178  FindResetCleanLayout->setSpacing(2);
179  FindResetCleanLayout->setObjectName(QString::fromUtf8("FindResetCleanLayout"));
180  ActivateCombinedSelections = new QPushButton(SelectionEditor);
181  ActivateCombinedSelections->setObjectName(QString::fromUtf8("ActivateCombinedSelections"));
182  ActivateCombinedSelections->setFocusPolicy(Qt::TabFocus);
183  QIcon icon3;
184  icon3.addFile(QString::fromUtf8(":/pqWidgets/Icons/pqApply.svg"), QSize(), QIcon::Normal, QIcon::Off);
185  ActivateCombinedSelections->setIcon(icon3);
186 
187  FindResetCleanLayout->addWidget(ActivateCombinedSelections);
188 
189 
190  verticalLayout->addLayout(FindResetCleanLayout);
191 
192 
193  retranslateUi(SelectionEditor);
194 
195  ActivateCombinedSelections->setDefault(true);
196 
197 
198  QMetaObject::connectSlotsByName(SelectionEditor);
199  } // setupUi
200 
201  void retranslateUi(QWidget *SelectionEditor)
202  {
203  SelectionEditor->setWindowTitle(QCoreApplication::translate("SelectionEditor", "Form", nullptr));
204 #if QT_CONFIG(tooltip)
205  SourceLabel->setToolTip(QCoreApplication::translate("SelectionEditor", "The dataset for which selections are saved", nullptr));
206 #endif // QT_CONFIG(tooltip)
207  SourceLabel->setText(QCoreApplication::translate("SelectionEditor", "Data Producer", nullptr));
208 #if QT_CONFIG(tooltip)
209  SourceInfo->setToolTip(QCoreApplication::translate("SelectionEditor", "The dataset for which selections are saved", nullptr));
210 #endif // QT_CONFIG(tooltip)
211  SourceInfo->setText(QString());
212 #if QT_CONFIG(tooltip)
213  ElementTypeLabel->setToolTip(QCoreApplication::translate("SelectionEditor", "The element type of the saved selections", nullptr));
214 #endif // QT_CONFIG(tooltip)
215  ElementTypeLabel->setText(QCoreApplication::translate("SelectionEditor", "Element Type", nullptr));
216 #if QT_CONFIG(tooltip)
217  ElementTypeInfo->setToolTip(QCoreApplication::translate("SelectionEditor", "The element type of the saved selections", nullptr));
218 #endif // QT_CONFIG(tooltip)
219  ElementTypeInfo->setText(QString());
220 #if QT_CONFIG(tooltip)
221  ExpressionLabel->setToolTip(QCoreApplication::translate("SelectionEditor", "Specify the expression which defines the relation between the saved selections using boolean operators: !(NOT), &(AND), |(OR), ^(XOR) and ().", nullptr));
222 #endif // QT_CONFIG(tooltip)
223  ExpressionLabel->setText(QCoreApplication::translate("SelectionEditor", "Expression", nullptr));
224 #if QT_CONFIG(tooltip)
225  Expression->setToolTip(QCoreApplication::translate("SelectionEditor", "Specify the expression which defines the relation between the saved selections using boolean operators: !(NOT), &(AND), |(OR), ^(XOR) and ().", nullptr));
226 #endif // QT_CONFIG(tooltip)
227 #if QT_CONFIG(tooltip)
228  AddActiveSelection->setToolTip(QCoreApplication::translate("SelectionEditor", "Add active selection", nullptr));
229 #endif // QT_CONFIG(tooltip)
230  AddActiveSelection->setText(QString());
231 #if QT_CONFIG(tooltip)
232  RemoveSelectedSelection->setToolTip(QCoreApplication::translate("SelectionEditor", "Remove selected selection from the saved selections. Remember to edit the Expression.", nullptr));
233 #endif // QT_CONFIG(tooltip)
234  RemoveSelectedSelection->setText(QString());
235 #if QT_CONFIG(tooltip)
236  RemoveAllSelections->setToolTip(QCoreApplication::translate("SelectionEditor", "Remove all saved selections", nullptr));
237 #endif // QT_CONFIG(tooltip)
238  RemoveAllSelections->setText(QString());
239 #if QT_CONFIG(tooltip)
240  ActivateCombinedSelections->setToolTip(QCoreApplication::translate("SelectionEditor", "Set the combined saved selections as the active selection", nullptr));
241 #endif // QT_CONFIG(tooltip)
242  ActivateCombinedSelections->setText(QCoreApplication::translate("SelectionEditor", "Activate Combined Selections", nullptr));
243  } // retranslateUi
244 
245 };
246 
247 namespace Ui {
249 } // namespace Ui
250 
251 QT_END_NAMESPACE
252 
253 #endif // UI_PQSELECTIONEDITOR_H
QHBoxLayout * horizontalLayout
QVBoxLayout * verticalLayoutToolbar
QToolButton * RemoveSelectedSelection
QToolButton * AddActiveSelection
void retranslateUi(QWidget *SelectionEditor)
QSpacerItem * VerticalSpacerToolbar
QHBoxLayout * ExpressionLayout
void setupUi(QWidget *SelectionEditor)
pqExpandableTableView extends pqTableView to add support for the following features: ...
QWidget * scrollAreaWidgetContents
QPushButton * ActivateCombinedSelections
QHBoxLayout * SourceLayout
QHBoxLayout * FindResetCleanLayout
QVBoxLayout * verticalLayout
pqExpandableTableView * PropertiesView
QToolButton * RemoveAllSelections
QHBoxLayout * ElementTypeLayout