ui_pqExpressionsDialog.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'pqExpressionsDialog.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_PQEXPRESSIONSDIALOG_H
10 #define UI_PQEXPRESSIONSDIALOG_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QApplication>
14 #include <QtWidgets/QComboBox>
15 #include <QtWidgets/QFrame>
16 #include <QtWidgets/QGridLayout>
17 #include <QtWidgets/QHBoxLayout>
18 #include <QtWidgets/QHeaderView>
19 #include <QtWidgets/QPushButton>
20 #include <QtWidgets/QSpacerItem>
21 #include <QtWidgets/QVBoxLayout>
22 #include <QtWidgets/QWidget>
23 #include "pqExpandableTableView.h"
24 #include "pqSearchBox.h"
25 
26 QT_BEGIN_NAMESPACE
27 
29 {
30 public:
31  QGridLayout *gridLayout;
32  QWidget *widget;
33  QHBoxLayout *horizontalLayout;
35  QComboBox *groupChooser;
36  QVBoxLayout *verticalLayout;
37  QSpacerItem *verticalSpacer;
38  QPushButton *useCurrent;
39  QPushButton *add;
40  QPushButton *remove;
41  QPushButton *removeAll;
42  QFrame *line_2;
43  QPushButton *importExpressions;
44  QPushButton *exportExpressions;
45  QSpacerItem *verticalSpacer_2;
46  QPushButton *cancel;
47  QPushButton *save;
48  QPushButton *close;
50 
52  {
53  if (pqExpressionsManagerDialog->objectName().isEmpty())
54  pqExpressionsManagerDialog->setObjectName(QString::fromUtf8("pqExpressionsManagerDialog"));
55  pqExpressionsManagerDialog->resize(916, 551);
56  gridLayout = new QGridLayout(pqExpressionsManagerDialog);
57  gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
58  widget = new QWidget(pqExpressionsManagerDialog);
59  widget->setObjectName(QString::fromUtf8("widget"));
60  horizontalLayout = new QHBoxLayout(widget);
61  horizontalLayout->setSpacing(4);
62  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
63  horizontalLayout->setContentsMargins(0, 0, 0, 0);
64  searchBox = new pqSearchBox(widget);
65  searchBox->setObjectName(QString::fromUtf8("searchBox"));
66  QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
67  sizePolicy.setHorizontalStretch(0);
68  sizePolicy.setVerticalStretch(0);
69  sizePolicy.setHeightForWidth(searchBox->sizePolicy().hasHeightForWidth());
70  searchBox->setSizePolicy(sizePolicy);
71  searchBox->setMinimumSize(QSize(0, 10));
72  searchBox->setProperty("settingKey", QVariant(QString::fromUtf8("")));
73  searchBox->setProperty("advancedSearchEnabled", QVariant(false));
74 
75  horizontalLayout->addWidget(searchBox);
76 
77  groupChooser = new QComboBox(widget);
78  groupChooser->setObjectName(QString::fromUtf8("groupChooser"));
79 
80  horizontalLayout->addWidget(groupChooser);
81 
82 
83  gridLayout->addWidget(widget, 0, 0, 1, 1);
84 
85  verticalLayout = new QVBoxLayout();
86  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
87  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
88 
89  verticalLayout->addItem(verticalSpacer);
90 
91  useCurrent = new QPushButton(pqExpressionsManagerDialog);
92  useCurrent->setObjectName(QString::fromUtf8("useCurrent"));
93 
94  verticalLayout->addWidget(useCurrent);
95 
96  add = new QPushButton(pqExpressionsManagerDialog);
97  add->setObjectName(QString::fromUtf8("add"));
98 
99  verticalLayout->addWidget(add);
100 
101  remove = new QPushButton(pqExpressionsManagerDialog);
102  remove->setObjectName(QString::fromUtf8("remove"));
103  remove->setEnabled(false);
104 
105  verticalLayout->addWidget(remove);
106 
107  removeAll = new QPushButton(pqExpressionsManagerDialog);
108  removeAll->setObjectName(QString::fromUtf8("removeAll"));
109  removeAll->setEnabled(true);
110 
111  verticalLayout->addWidget(removeAll);
112 
113  line_2 = new QFrame(pqExpressionsManagerDialog);
114  line_2->setObjectName(QString::fromUtf8("line_2"));
115  line_2->setFrameShape(QFrame::HLine);
116  line_2->setFrameShadow(QFrame::Sunken);
117 
118  verticalLayout->addWidget(line_2);
119 
120  importExpressions = new QPushButton(pqExpressionsManagerDialog);
121  importExpressions->setObjectName(QString::fromUtf8("importExpressions"));
122 
123  verticalLayout->addWidget(importExpressions);
124 
125  exportExpressions = new QPushButton(pqExpressionsManagerDialog);
126  exportExpressions->setObjectName(QString::fromUtf8("exportExpressions"));
127 
128  verticalLayout->addWidget(exportExpressions);
129 
130  verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
131 
132  verticalLayout->addItem(verticalSpacer_2);
133 
134  cancel = new QPushButton(pqExpressionsManagerDialog);
135  cancel->setObjectName(QString::fromUtf8("cancel"));
136 
137  verticalLayout->addWidget(cancel);
138 
139  save = new QPushButton(pqExpressionsManagerDialog);
140  save->setObjectName(QString::fromUtf8("save"));
141 
142  verticalLayout->addWidget(save);
143 
144  close = new QPushButton(pqExpressionsManagerDialog);
145  close->setObjectName(QString::fromUtf8("close"));
146 
147  verticalLayout->addWidget(close);
148 
149 
150  gridLayout->addLayout(verticalLayout, 0, 1, 3, 1);
151 
152  expressions = new pqExpandableTableView(pqExpressionsManagerDialog);
153  expressions->setObjectName(QString::fromUtf8("expressions"));
154  expressions->setMinimumSize(QSize(0, 0));
155  expressions->setProperty("showDropIndicator", QVariant(true));
156  expressions->setSelectionBehavior(QAbstractItemView::SelectRows);
157  expressions->setSortingEnabled(false);
158  expressions->setAlternatingRowColors(true);
159  expressions->horizontalHeader()->setVisible(true);
160  expressions->horizontalHeader()->setMinimumSectionSize(10);
161  expressions->horizontalHeader()->setStretchLastSection(true);
162  expressions->verticalHeader()->setVisible(false);
163 
164  gridLayout->addWidget(expressions, 1, 0, 1, 1);
165 
166 
167  retranslateUi(pqExpressionsManagerDialog);
168  QObject::connect(close, SIGNAL(clicked()), pqExpressionsManagerDialog, SLOT(close()));
169 
170  QMetaObject::connectSlotsByName(pqExpressionsManagerDialog);
171  } // setupUi
172 
174  {
175  pqExpressionsManagerDialog->setWindowTitle(QCoreApplication::translate("pqExpressionsManagerDialog", "Choose Expression", nullptr));
176  useCurrent->setText(QCoreApplication::translate("pqExpressionsManagerDialog", "Use current", nullptr));
177 #if QT_CONFIG(tooltip)
178  useCurrent->setToolTip(QCoreApplication::translate("pqExpressionsManagerDialog", "Use expression in current filter", nullptr));
179 #endif // QT_CONFIG(tooltip)
180  add->setText(QCoreApplication::translate("pqExpressionsManagerDialog", "Add", nullptr));
181 #if QT_CONFIG(tooltip)
182  add->setToolTip(QCoreApplication::translate("pqExpressionsManagerDialog", "Add a new expression", nullptr));
183 #endif // QT_CONFIG(tooltip)
184 #if QT_CONFIG(tooltip)
185  remove->setToolTip(QCoreApplication::translate("pqExpressionsManagerDialog", "Remove selected expressions", nullptr));
186 #endif // QT_CONFIG(tooltip)
187  remove->setText(QCoreApplication::translate("pqExpressionsManagerDialog", "Remove", nullptr));
188 #if QT_CONFIG(tooltip)
189  removeAll->setToolTip(QCoreApplication::translate("pqExpressionsManagerDialog", "Remove all expressions", nullptr));
190 #endif // QT_CONFIG(tooltip)
191  removeAll->setText(QCoreApplication::translate("pqExpressionsManagerDialog", "Remove All", nullptr));
192 #if QT_CONFIG(tooltip)
193  importExpressions->setToolTip(QCoreApplication::translate("pqExpressionsManagerDialog", "Import expressions from a json file", nullptr));
194 #endif // QT_CONFIG(tooltip)
195  importExpressions->setText(QCoreApplication::translate("pqExpressionsManagerDialog", "Import", nullptr));
196 #if QT_CONFIG(tooltip)
197  exportExpressions->setToolTip(QCoreApplication::translate("pqExpressionsManagerDialog", "Export expressions to a json file", nullptr));
198 #endif // QT_CONFIG(tooltip)
199  exportExpressions->setText(QCoreApplication::translate("pqExpressionsManagerDialog", "Export", nullptr));
200  cancel->setText(QCoreApplication::translate("pqExpressionsManagerDialog", "Cancel", nullptr));
201 #if QT_CONFIG(tooltip)
202  cancel->setToolTip(QCoreApplication::translate("pqExpressionsManagerDialog", "Close without saving", nullptr));
203 #endif // QT_CONFIG(tooltip)
204  save->setText(QCoreApplication::translate("pqExpressionsManagerDialog", "Save", nullptr));
205 #if QT_CONFIG(tooltip)
206  save->setToolTip(QCoreApplication::translate("pqExpressionsManagerDialog", "Save to settings", nullptr));
207 #endif // QT_CONFIG(tooltip)
208  close->setText(QCoreApplication::translate("pqExpressionsManagerDialog", "Close", nullptr));
209 #if QT_CONFIG(tooltip)
210  close->setToolTip(QCoreApplication::translate("pqExpressionsManagerDialog", "Save and close", nullptr));
211 #endif // QT_CONFIG(tooltip)
212  } // retranslateUi
213 
214 };
215 
216 namespace Ui {
218 } // namespace Ui
219 
220 QT_END_NAMESPACE
221 
222 #endif // UI_PQEXPRESSIONSDIALOG_H
pqSearchBox is a line edit and an advanced tool button in the same layout.
Definition: pqSearchBox.h:53
pqExpressionsManagerDialog is a dialog class to edit and export expressions.
pqExpandableTableView extends pqTableView to add support for the following features: ...
pqExpandableTableView * expressions
void retranslateUi(QWidget *pqExpressionsManagerDialog)
void setupUi(QWidget *pqExpressionsManagerDialog)