ui_pqProxyWidgetDialog.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'pqProxyWidgetDialog.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_PQPROXYWIDGETDIALOG_H
10 #define UI_PQPROXYWIDGETDIALOG_H
11 
12 #include <QtCore/QVariant>
13 #include <QtGui/QIcon>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QDialog>
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 "pqSearchBox.h"
23 
24 QT_BEGIN_NAMESPACE
25 
27 {
28 public:
29  QVBoxLayout *Layout;
31  QScrollArea *scrollArea;
33  QVBoxLayout *scrollAreaLayout;
34  QWidget *widget;
35  QHBoxLayout *horizontalLayout;
36  QPushButton *RestoreDefaultsButton;
37  QPushButton *SaveButton;
38  QSpacerItem *horizontalSpacer;
39  QPushButton *ApplyButton;
40  QPushButton *ResetButton;
41  QPushButton *CancelButton;
42  QPushButton *OKButton;
43 
44  void setupUi(QDialog *ProxyWidgetDialog)
45  {
46  if (ProxyWidgetDialog->objectName().isEmpty())
47  ProxyWidgetDialog->setObjectName(QString::fromUtf8("ProxyWidgetDialog"));
48  ProxyWidgetDialog->resize(573, 381);
49  Layout = new QVBoxLayout(ProxyWidgetDialog);
50  Layout->setObjectName(QString::fromUtf8("Layout"));
51  SearchBox = new pqSearchBox(ProxyWidgetDialog);
52  SearchBox->setObjectName(QString::fromUtf8("SearchBox"));
53 
54  Layout->addWidget(SearchBox);
55 
56  scrollArea = new QScrollArea(ProxyWidgetDialog);
57  scrollArea->setObjectName(QString::fromUtf8("scrollArea"));
58  scrollArea->setFrameShape(QFrame::NoFrame);
59  scrollArea->setWidgetResizable(true);
60  scrollAreaWidgetContents = new QWidget();
61  scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents"));
62  scrollAreaWidgetContents->setGeometry(QRect(0, 0, 549, 295));
63  scrollAreaLayout = new QVBoxLayout(scrollAreaWidgetContents);
64  scrollAreaLayout->setSpacing(0);
65  scrollAreaLayout->setContentsMargins(0, 0, 0, 0);
66  scrollAreaLayout->setObjectName(QString::fromUtf8("scrollAreaLayout"));
67  scrollArea->setWidget(scrollAreaWidgetContents);
68 
69  Layout->addWidget(scrollArea);
70 
71  widget = new QWidget(ProxyWidgetDialog);
72  widget->setObjectName(QString::fromUtf8("widget"));
73  horizontalLayout = new QHBoxLayout(widget);
74  horizontalLayout->setContentsMargins(0, 0, 0, 0);
75  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
76  RestoreDefaultsButton = new QPushButton(widget);
77  RestoreDefaultsButton->setObjectName(QString::fromUtf8("RestoreDefaultsButton"));
78 
79  horizontalLayout->addWidget(RestoreDefaultsButton);
80 
81  SaveButton = new QPushButton(widget);
82  SaveButton->setObjectName(QString::fromUtf8("SaveButton"));
83  SaveButton->setIconSize(QSize(16, 16));
84 
85  horizontalLayout->addWidget(SaveButton);
86 
87  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
88 
89  horizontalLayout->addItem(horizontalSpacer);
90 
91  ApplyButton = new QPushButton(widget);
92  ApplyButton->setObjectName(QString::fromUtf8("ApplyButton"));
93  QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Fixed);
94  sizePolicy.setHorizontalStretch(0);
95  sizePolicy.setVerticalStretch(0);
96  sizePolicy.setHeightForWidth(ApplyButton->sizePolicy().hasHeightForWidth());
97  ApplyButton->setSizePolicy(sizePolicy);
98  QIcon icon;
99  QString iconThemeName = QString::fromUtf8("SP_DialogApplyButton");
100  if (QIcon::hasThemeIcon(iconThemeName)) {
101  icon = QIcon::fromTheme(iconThemeName);
102  } else {
103  icon.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off);
104  }
105  ApplyButton->setIcon(icon);
106 
107  horizontalLayout->addWidget(ApplyButton);
108 
109  ResetButton = new QPushButton(widget);
110  ResetButton->setObjectName(QString::fromUtf8("ResetButton"));
111 
112  horizontalLayout->addWidget(ResetButton);
113 
114  CancelButton = new QPushButton(widget);
115  CancelButton->setObjectName(QString::fromUtf8("CancelButton"));
116  sizePolicy.setHeightForWidth(CancelButton->sizePolicy().hasHeightForWidth());
117  CancelButton->setSizePolicy(sizePolicy);
118 
119  horizontalLayout->addWidget(CancelButton);
120 
121  OKButton = new QPushButton(widget);
122  OKButton->setObjectName(QString::fromUtf8("OKButton"));
123  sizePolicy.setHeightForWidth(OKButton->sizePolicy().hasHeightForWidth());
124  OKButton->setSizePolicy(sizePolicy);
125 
126  horizontalLayout->addWidget(OKButton);
127 
128 
129  Layout->addWidget(widget);
130 
131 
132  retranslateUi(ProxyWidgetDialog);
133 
134  OKButton->setDefault(true);
135 
136 
137  QMetaObject::connectSlotsByName(ProxyWidgetDialog);
138  } // setupUi
139 
140  void retranslateUi(QDialog *ProxyWidgetDialog)
141  {
142  ProxyWidgetDialog->setWindowTitle(QCoreApplication::translate("ProxyWidgetDialog", "Dialog", nullptr));
143 #if QT_CONFIG(tooltip)
144  RestoreDefaultsButton->setToolTip(QCoreApplication::translate("ProxyWidgetDialog", "Restore application default setting values", nullptr));
145 #endif // QT_CONFIG(tooltip)
146  RestoreDefaultsButton->setText(QString());
147 #if QT_CONFIG(tooltip)
148  SaveButton->setToolTip(QCoreApplication::translate("ProxyWidgetDialog", "Save current settings values as default", nullptr));
149 #endif // QT_CONFIG(tooltip)
150  SaveButton->setText(QString());
151  ApplyButton->setText(QCoreApplication::translate("ProxyWidgetDialog", "Apply", nullptr));
152  ResetButton->setText(QCoreApplication::translate("ProxyWidgetDialog", "Reset", nullptr));
153  CancelButton->setText(QCoreApplication::translate("ProxyWidgetDialog", "&Cancel", nullptr));
154  OKButton->setText(QCoreApplication::translate("ProxyWidgetDialog", "&OK", nullptr));
155  } // retranslateUi
156 
157 };
158 
159 namespace Ui {
161 } // namespace Ui
162 
163 QT_END_NAMESPACE
164 
165 #endif // UI_PQPROXYWIDGETDIALOG_H
pqSearchBox is a line edit and an advanced tool button in the same layout.
Definition: pqSearchBox.h:53
QPushButton * RestoreDefaultsButton
void setupUi(QDialog *ProxyWidgetDialog)
void retranslateUi(QDialog *ProxyWidgetDialog)