ui_pqPropertiesPanel.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'pqPropertiesPanel.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_PQPROPERTIESPANEL_H
10 #define UI_PQPROPERTIESPANEL_H
11 
12 #include <QtCore/QVariant>
13 #include <QtGui/QIcon>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QFrame>
16 #include <QtWidgets/QHBoxLayout>
17 #include <QtWidgets/QPushButton>
18 #include <QtWidgets/QScrollArea>
19 #include <QtWidgets/QSpacerItem>
20 #include <QtWidgets/QVBoxLayout>
21 #include <QtWidgets/QWidget>
22 #include <pqExpanderButton.h>
23 #include "pqSearchBox.h"
24 
25 QT_BEGIN_NAMESPACE
26 
28 {
29 public:
30  QVBoxLayout *verticalLayout;
31  QHBoxLayout *ButtonLayout;
32  QPushButton *Accept;
33  QPushButton *Reset;
34  QPushButton *Delete;
35  QPushButton *Help;
36  QHBoxLayout *SearchBoxLayout;
38  QScrollArea *scrollArea;
40  QVBoxLayout *ScrollAreaLayout;
42  QHBoxLayout *horizontalLayout;
44  QPushButton *PropertiesCopy;
45  QPushButton *PropertiesPaste;
48  QFrame *PropertiesFrame;
49  QWidget *DisplayButtons;
50  QHBoxLayout *horizontalLayout_2;
52  QPushButton *DisplayCopy;
53  QPushButton *DisplayPaste;
54  QPushButton *DisplayRestoreDefaults;
55  QPushButton *DisplaySaveAsDefaults;
56  QFrame *DisplayFrame;
57  QWidget *ViewButtons;
58  QHBoxLayout *horizontalLayout_3;
60  QPushButton *ViewCopy;
61  QPushButton *ViewPaste;
62  QPushButton *ViewRestoreDefaults;
63  QPushButton *ViewSaveAsDefaults;
64  QFrame *ViewFrame;
65  QSpacerItem *verticalSpacer;
66 
67  void setupUi(QWidget *propertiesPanel)
68  {
69  if (propertiesPanel->objectName().isEmpty())
70  propertiesPanel->setObjectName(QString::fromUtf8("propertiesPanel"));
71  propertiesPanel->resize(350, 750);
72  verticalLayout = new QVBoxLayout(propertiesPanel);
73  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
74  ButtonLayout = new QHBoxLayout();
75  ButtonLayout->setSpacing(2);
76  ButtonLayout->setObjectName(QString::fromUtf8("ButtonLayout"));
77  Accept = new QPushButton(propertiesPanel);
78  Accept->setObjectName(QString::fromUtf8("Accept"));
79  QIcon icon;
80  icon.addFile(QString::fromUtf8(":/pqWidgets/Icons/pqApply.svg"), QSize(), QIcon::Normal, QIcon::Off);
81  Accept->setIcon(icon);
82 
83  ButtonLayout->addWidget(Accept);
84 
85  Reset = new QPushButton(propertiesPanel);
86  Reset->setObjectName(QString::fromUtf8("Reset"));
87  QIcon icon1;
88  icon1.addFile(QString::fromUtf8(":/pqWidgets/Icons/pqCancel.svg"), QSize(), QIcon::Normal, QIcon::Off);
89  Reset->setIcon(icon1);
90 
91  ButtonLayout->addWidget(Reset);
92 
93  Delete = new QPushButton(propertiesPanel);
94  Delete->setObjectName(QString::fromUtf8("Delete"));
95  QIcon icon2;
96  icon2.addFile(QString::fromUtf8(":/QtWidgets/Icons/pqDelete.svg"), QSize(), QIcon::Normal, QIcon::Off);
97  Delete->setIcon(icon2);
98 
99  ButtonLayout->addWidget(Delete);
100 
101  Help = new QPushButton(propertiesPanel);
102  Help->setObjectName(QString::fromUtf8("Help"));
103  QIcon icon3;
104  icon3.addFile(QString::fromUtf8(":/pqWidgets/Icons/pqHelp.svg"), QSize(), QIcon::Normal, QIcon::Off);
105  Help->setIcon(icon3);
106 
107  ButtonLayout->addWidget(Help);
108 
109 
110  verticalLayout->addLayout(ButtonLayout);
111 
112  SearchBoxLayout = new QHBoxLayout();
113  SearchBoxLayout->setSpacing(2);
114  SearchBoxLayout->setObjectName(QString::fromUtf8("SearchBoxLayout"));
115  SearchBox = new pqSearchBox(propertiesPanel);
116  SearchBox->setObjectName(QString::fromUtf8("SearchBox"));
117  SearchBox->setProperty("settingKey", QVariant(QString::fromUtf8("showAdvancedProperties")));
118  SearchBox->setProperty("advancedSearchEnabled", QVariant(true));
119 
120  SearchBoxLayout->addWidget(SearchBox);
121 
122 
123  verticalLayout->addLayout(SearchBoxLayout);
124 
125  scrollArea = new QScrollArea(propertiesPanel);
126  scrollArea->setObjectName(QString::fromUtf8("scrollArea"));
127  scrollArea->setFrameShape(QFrame::NoFrame);
128  scrollArea->setFrameShadow(QFrame::Plain);
129  scrollArea->setWidgetResizable(true);
130  scrollAreaWidgetContents = new QWidget();
131  scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents"));
132  scrollAreaWidgetContents->setGeometry(QRect(0, 0, 332, 689));
133  ScrollAreaLayout = new QVBoxLayout(scrollAreaWidgetContents);
134  ScrollAreaLayout->setContentsMargins(0, 0, 0, 0);
135  ScrollAreaLayout->setObjectName(QString::fromUtf8("ScrollAreaLayout"));
136  PropertiesButtons = new QWidget(scrollAreaWidgetContents);
137  PropertiesButtons->setObjectName(QString::fromUtf8("PropertiesButtons"));
138  horizontalLayout = new QHBoxLayout(PropertiesButtons);
139 #ifndef Q_OS_MAC
140  horizontalLayout->setSpacing(6);
141 #endif
142  horizontalLayout->setContentsMargins(0, 0, 0, 0);
143  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
144  PropertiesButton = new pqExpanderButton(PropertiesButtons);
145  PropertiesButton->setObjectName(QString::fromUtf8("PropertiesButton"));
146  PropertiesButton->setProperty("checked", QVariant(true));
147 
148  horizontalLayout->addWidget(PropertiesButton);
149 
150  PropertiesCopy = new QPushButton(PropertiesButtons);
151  PropertiesCopy->setObjectName(QString::fromUtf8("PropertiesCopy"));
152  PropertiesCopy->setEnabled(false);
153  PropertiesCopy->setMaximumSize(QSize(50, 16777215));
154  QIcon icon4;
155  icon4.addFile(QString::fromUtf8(":/pqWidgets/Icons/pqCopy.svg"), QSize(), QIcon::Normal, QIcon::Off);
156  PropertiesCopy->setIcon(icon4);
157 
158  horizontalLayout->addWidget(PropertiesCopy);
159 
160  PropertiesPaste = new QPushButton(PropertiesButtons);
161  PropertiesPaste->setObjectName(QString::fromUtf8("PropertiesPaste"));
162  PropertiesPaste->setEnabled(false);
163  PropertiesPaste->setMaximumSize(QSize(50, 16777215));
164  QIcon icon5;
165  icon5.addFile(QString::fromUtf8(":/pqWidgets/Icons/pqPaste.svg"), QSize(), QIcon::Normal, QIcon::Off);
166  PropertiesPaste->setIcon(icon5);
167 
168  horizontalLayout->addWidget(PropertiesPaste);
169 
170  PropertiesRestoreDefaults = new QPushButton(PropertiesButtons);
171  PropertiesRestoreDefaults->setObjectName(QString::fromUtf8("PropertiesRestoreDefaults"));
172  PropertiesRestoreDefaults->setMaximumSize(QSize(50, 16777215));
173  QIcon icon6;
174  icon6.addFile(QString::fromUtf8(":/pqWidgets/Icons/pqReset.svg"), QSize(), QIcon::Normal, QIcon::Off);
175  PropertiesRestoreDefaults->setIcon(icon6);
176 
177  horizontalLayout->addWidget(PropertiesRestoreDefaults);
178 
179  PropertiesSaveAsDefaults = new QPushButton(PropertiesButtons);
180  PropertiesSaveAsDefaults->setObjectName(QString::fromUtf8("PropertiesSaveAsDefaults"));
181  PropertiesSaveAsDefaults->setMaximumSize(QSize(50, 16777215));
182 
183  horizontalLayout->addWidget(PropertiesSaveAsDefaults);
184 
185 
186  ScrollAreaLayout->addWidget(PropertiesButtons);
187 
188  PropertiesFrame = new QFrame(scrollAreaWidgetContents);
189  PropertiesFrame->setObjectName(QString::fromUtf8("PropertiesFrame"));
190  QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
191  sizePolicy.setHorizontalStretch(0);
192  sizePolicy.setVerticalStretch(0);
193  sizePolicy.setHeightForWidth(PropertiesFrame->sizePolicy().hasHeightForWidth());
194  PropertiesFrame->setSizePolicy(sizePolicy);
195  PropertiesFrame->setFrameShape(QFrame::NoFrame);
196  PropertiesFrame->setFrameShadow(QFrame::Plain);
197 
198  ScrollAreaLayout->addWidget(PropertiesFrame);
199 
200  DisplayButtons = new QWidget(scrollAreaWidgetContents);
201  DisplayButtons->setObjectName(QString::fromUtf8("DisplayButtons"));
202  horizontalLayout_2 = new QHBoxLayout(DisplayButtons);
203 #ifndef Q_OS_MAC
204  horizontalLayout_2->setSpacing(6);
205 #endif
206  horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
207  horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
208  DisplayButton = new pqExpanderButton(DisplayButtons);
209  DisplayButton->setObjectName(QString::fromUtf8("DisplayButton"));
210  DisplayButton->setProperty("checked", QVariant(true));
211 
212  horizontalLayout_2->addWidget(DisplayButton);
213 
214  DisplayCopy = new QPushButton(DisplayButtons);
215  DisplayCopy->setObjectName(QString::fromUtf8("DisplayCopy"));
216  DisplayCopy->setEnabled(false);
217  DisplayCopy->setMaximumSize(QSize(50, 16777215));
218  DisplayCopy->setIcon(icon4);
219 
220  horizontalLayout_2->addWidget(DisplayCopy);
221 
222  DisplayPaste = new QPushButton(DisplayButtons);
223  DisplayPaste->setObjectName(QString::fromUtf8("DisplayPaste"));
224  DisplayPaste->setEnabled(false);
225  DisplayPaste->setMaximumSize(QSize(50, 16777215));
226  DisplayPaste->setIcon(icon5);
227 
228  horizontalLayout_2->addWidget(DisplayPaste);
229 
230  DisplayRestoreDefaults = new QPushButton(DisplayButtons);
231  DisplayRestoreDefaults->setObjectName(QString::fromUtf8("DisplayRestoreDefaults"));
232  DisplayRestoreDefaults->setMaximumSize(QSize(50, 16777215));
233  DisplayRestoreDefaults->setIcon(icon6);
234 
235  horizontalLayout_2->addWidget(DisplayRestoreDefaults);
236 
237  DisplaySaveAsDefaults = new QPushButton(DisplayButtons);
238  DisplaySaveAsDefaults->setObjectName(QString::fromUtf8("DisplaySaveAsDefaults"));
239  DisplaySaveAsDefaults->setMaximumSize(QSize(50, 16777215));
240 
241  horizontalLayout_2->addWidget(DisplaySaveAsDefaults);
242 
243 
244  ScrollAreaLayout->addWidget(DisplayButtons);
245 
246  DisplayFrame = new QFrame(scrollAreaWidgetContents);
247  DisplayFrame->setObjectName(QString::fromUtf8("DisplayFrame"));
248  sizePolicy.setHeightForWidth(DisplayFrame->sizePolicy().hasHeightForWidth());
249  DisplayFrame->setSizePolicy(sizePolicy);
250  DisplayFrame->setFrameShape(QFrame::NoFrame);
251  DisplayFrame->setFrameShadow(QFrame::Plain);
252 
253  ScrollAreaLayout->addWidget(DisplayFrame);
254 
255  ViewButtons = new QWidget(scrollAreaWidgetContents);
256  ViewButtons->setObjectName(QString::fromUtf8("ViewButtons"));
257  horizontalLayout_3 = new QHBoxLayout(ViewButtons);
258 #ifndef Q_OS_MAC
259  horizontalLayout_3->setSpacing(6);
260 #endif
261  horizontalLayout_3->setContentsMargins(0, 0, 0, 0);
262  horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
263  ViewButton = new pqExpanderButton(ViewButtons);
264  ViewButton->setObjectName(QString::fromUtf8("ViewButton"));
265  ViewButton->setProperty("checked", QVariant(true));
266 
267  horizontalLayout_3->addWidget(ViewButton);
268 
269  ViewCopy = new QPushButton(ViewButtons);
270  ViewCopy->setObjectName(QString::fromUtf8("ViewCopy"));
271  ViewCopy->setEnabled(false);
272  ViewCopy->setMaximumSize(QSize(50, 16777215));
273  ViewCopy->setIcon(icon4);
274 
275  horizontalLayout_3->addWidget(ViewCopy);
276 
277  ViewPaste = new QPushButton(ViewButtons);
278  ViewPaste->setObjectName(QString::fromUtf8("ViewPaste"));
279  ViewPaste->setEnabled(false);
280  ViewPaste->setMaximumSize(QSize(50, 16777215));
281  ViewPaste->setIcon(icon5);
282 
283  horizontalLayout_3->addWidget(ViewPaste);
284 
285  ViewRestoreDefaults = new QPushButton(ViewButtons);
286  ViewRestoreDefaults->setObjectName(QString::fromUtf8("ViewRestoreDefaults"));
287  ViewRestoreDefaults->setMaximumSize(QSize(50, 16777215));
288  ViewRestoreDefaults->setIcon(icon6);
289 
290  horizontalLayout_3->addWidget(ViewRestoreDefaults);
291 
292  ViewSaveAsDefaults = new QPushButton(ViewButtons);
293  ViewSaveAsDefaults->setObjectName(QString::fromUtf8("ViewSaveAsDefaults"));
294  ViewSaveAsDefaults->setMaximumSize(QSize(50, 16777215));
295 
296  horizontalLayout_3->addWidget(ViewSaveAsDefaults);
297 
298 
299  ScrollAreaLayout->addWidget(ViewButtons);
300 
301  ViewFrame = new QFrame(scrollAreaWidgetContents);
302  ViewFrame->setObjectName(QString::fromUtf8("ViewFrame"));
303  ViewFrame->setFrameShape(QFrame::NoFrame);
304  ViewFrame->setFrameShadow(QFrame::Plain);
305 
306  ScrollAreaLayout->addWidget(ViewFrame);
307 
308  verticalSpacer = new QSpacerItem(0, 9, QSizePolicy::Minimum, QSizePolicy::Expanding);
309 
310  ScrollAreaLayout->addItem(verticalSpacer);
311 
312  ScrollAreaLayout->setStretch(6, 1);
313  scrollArea->setWidget(scrollAreaWidgetContents);
314 
315  verticalLayout->addWidget(scrollArea);
316 
317 
318  retranslateUi(propertiesPanel);
319 
320  Accept->setDefault(true);
321 
322 
323  QMetaObject::connectSlotsByName(propertiesPanel);
324  } // setupUi
325 
326  void retranslateUi(QWidget *propertiesPanel)
327  {
328  propertiesPanel->setWindowTitle(QCoreApplication::translate("propertiesPanel", "Properties Panel", nullptr));
329  Accept->setText(QCoreApplication::translate("propertiesPanel", "Apply", nullptr));
330 #if QT_CONFIG(tooltip)
331  Reset->setToolTip(QCoreApplication::translate("propertiesPanel", "Resets any changed properties to their values from the last time 'Apply' was clicked.", nullptr));
332 #endif // QT_CONFIG(tooltip)
333  Reset->setText(QCoreApplication::translate("propertiesPanel", "Reset", nullptr));
334  Delete->setText(QCoreApplication::translate("propertiesPanel", "Delete", nullptr));
335  Help->setText(QString());
336 #if QT_CONFIG(shortcut)
337  Help->setShortcut(QCoreApplication::translate("propertiesPanel", "Ctrl+H", nullptr));
338 #endif // QT_CONFIG(shortcut)
339  PropertiesButton->setProperty("text", QVariant(QCoreApplication::translate("propertiesPanel", "Properties", nullptr)));
340 #if QT_CONFIG(tooltip)
341  PropertiesCopy->setToolTip(QCoreApplication::translate("propertiesPanel", "Copy properties", nullptr));
342 #endif // QT_CONFIG(tooltip)
343  PropertiesCopy->setText(QString());
344 #if QT_CONFIG(tooltip)
345  PropertiesPaste->setToolTip(QCoreApplication::translate("propertiesPanel", "Paste copied properties", nullptr));
346 #endif // QT_CONFIG(tooltip)
347  PropertiesPaste->setText(QString());
348 #if QT_CONFIG(tooltip)
349  PropertiesRestoreDefaults->setToolTip(QCoreApplication::translate("propertiesPanel", "Restore application default setting values", nullptr));
350 #endif // QT_CONFIG(tooltip)
351  PropertiesRestoreDefaults->setText(QString());
352 #if QT_CONFIG(tooltip)
353  PropertiesSaveAsDefaults->setToolTip(QCoreApplication::translate("propertiesPanel", "Save current settings values as default", nullptr));
354 #endif // QT_CONFIG(tooltip)
355  PropertiesSaveAsDefaults->setText(QString());
356  DisplayButton->setProperty("text", QVariant(QCoreApplication::translate("propertiesPanel", "Display", nullptr)));
357 #if QT_CONFIG(tooltip)
358  DisplayCopy->setToolTip(QCoreApplication::translate("propertiesPanel", "Copy display properties", nullptr));
359 #endif // QT_CONFIG(tooltip)
360  DisplayCopy->setText(QString());
361 #if QT_CONFIG(tooltip)
362  DisplayPaste->setToolTip(QCoreApplication::translate("propertiesPanel", "Paste copied display properties", nullptr));
363 #endif // QT_CONFIG(tooltip)
364  DisplayPaste->setText(QString());
365 #if QT_CONFIG(tooltip)
366  DisplayRestoreDefaults->setToolTip(QCoreApplication::translate("propertiesPanel", "Restore application default setting values for display", nullptr));
367 #endif // QT_CONFIG(tooltip)
368  DisplayRestoreDefaults->setText(QString());
369 #if QT_CONFIG(tooltip)
370  DisplaySaveAsDefaults->setToolTip(QCoreApplication::translate("propertiesPanel", "Save current display settings values as default", nullptr));
371 #endif // QT_CONFIG(tooltip)
372  DisplaySaveAsDefaults->setText(QString());
373  ViewButton->setProperty("text", QVariant(QCoreApplication::translate("propertiesPanel", "View", nullptr)));
374 #if QT_CONFIG(tooltip)
375  ViewCopy->setToolTip(QCoreApplication::translate("propertiesPanel", "Copy view properties", nullptr));
376 #endif // QT_CONFIG(tooltip)
377  ViewCopy->setText(QString());
378 #if QT_CONFIG(tooltip)
379  ViewPaste->setToolTip(QCoreApplication::translate("propertiesPanel", "Paste view properties", nullptr));
380 #endif // QT_CONFIG(tooltip)
381  ViewPaste->setText(QString());
382 #if QT_CONFIG(tooltip)
383  ViewRestoreDefaults->setToolTip(QCoreApplication::translate("propertiesPanel", "Restore application default setting values for view", nullptr));
384 #endif // QT_CONFIG(tooltip)
385  ViewRestoreDefaults->setText(QString());
386 #if QT_CONFIG(tooltip)
387  ViewSaveAsDefaults->setToolTip(QCoreApplication::translate("propertiesPanel", "Save current view settings values as default", nullptr));
388 #endif // QT_CONFIG(tooltip)
389  ViewSaveAsDefaults->setText(QString());
390  } // retranslateUi
391 
392 };
393 
394 namespace Ui {
396 } // namespace Ui
397 
398 QT_END_NAMESPACE
399 
400 #endif // UI_PQPROPERTIESPANEL_H
QPushButton * PropertiesCopy
QPushButton * PropertiesPaste
void setText(const QString &text)
This property holds the text shown on the button.
QHBoxLayout * horizontalLayout
pqExpanderButton * DisplayButton
QVBoxLayout * verticalLayout
QHBoxLayout * horizontalLayout_2
pqExpanderButton provides a frame with a toggle mode.
pqExpanderButton * PropertiesButton
pqSearchBox is a line edit and an advanced tool button in the same layout.
Definition: pqSearchBox.h:53
QSpacerItem * verticalSpacer
QPushButton * PropertiesSaveAsDefaults
QHBoxLayout * ButtonLayout
QPushButton * ViewRestoreDefaults
pqExpanderButton * ViewButton
QWidget * scrollAreaWidgetContents
void retranslateUi(QWidget *propertiesPanel)
QVBoxLayout * ScrollAreaLayout
QPushButton * DisplayRestoreDefaults
QHBoxLayout * horizontalLayout_3
QPushButton * ViewSaveAsDefaults
QPushButton * DisplaySaveAsDefaults
QHBoxLayout * SearchBoxLayout
QPushButton * PropertiesRestoreDefaults
QPushButton * DisplayPaste
void setupUi(QWidget *propertiesPanel)