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/QToolButton>
21 #include <QtWidgets/QVBoxLayout>
22 #include <QtWidgets/QWidget>
23 #include "pqSearchBox.h"
24 
25 QT_BEGIN_NAMESPACE
26 
28 {
29 public:
30  QVBoxLayout *Layout;
32  QScrollArea *scrollArea;
34  QVBoxLayout *scrollAreaLayout;
35  QWidget *widget;
36  QHBoxLayout *horizontalLayout;
37  QToolButton *RestoreDefaultsButton;
38  QToolButton *SaveButton;
39  QSpacerItem *horizontalSpacer;
40  QPushButton *ApplyButton;
41  QPushButton *ResetButton;
42  QPushButton *CancelButton;
43  QPushButton *OKButton;
44 
45  void setupUi(QDialog *ProxyWidgetDialog)
46  {
47  if (ProxyWidgetDialog->objectName().isEmpty())
48  ProxyWidgetDialog->setObjectName(QString::fromUtf8("ProxyWidgetDialog"));
49  ProxyWidgetDialog->resize(573, 381);
50  Layout = new QVBoxLayout(ProxyWidgetDialog);
51  Layout->setObjectName(QString::fromUtf8("Layout"));
52  SearchBox = new pqSearchBox(ProxyWidgetDialog);
53  SearchBox->setObjectName(QString::fromUtf8("SearchBox"));
54 
55  Layout->addWidget(SearchBox);
56 
57  scrollArea = new QScrollArea(ProxyWidgetDialog);
58  scrollArea->setObjectName(QString::fromUtf8("scrollArea"));
59  scrollArea->setFrameShape(QFrame::NoFrame);
60  scrollArea->setWidgetResizable(true);
61  scrollAreaWidgetContents = new QWidget();
62  scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents"));
63  scrollAreaWidgetContents->setGeometry(QRect(0, 0, 549, 295));
64  scrollAreaLayout = new QVBoxLayout(scrollAreaWidgetContents);
65  scrollAreaLayout->setSpacing(0);
66  scrollAreaLayout->setContentsMargins(0, 0, 0, 0);
67  scrollAreaLayout->setObjectName(QString::fromUtf8("scrollAreaLayout"));
68  scrollArea->setWidget(scrollAreaWidgetContents);
69 
70  Layout->addWidget(scrollArea);
71 
72  widget = new QWidget(ProxyWidgetDialog);
73  widget->setObjectName(QString::fromUtf8("widget"));
74  horizontalLayout = new QHBoxLayout(widget);
75  horizontalLayout->setContentsMargins(0, 0, 0, 0);
76  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
77  RestoreDefaultsButton = new QToolButton(widget);
78  RestoreDefaultsButton->setObjectName(QString::fromUtf8("RestoreDefaultsButton"));
79 
80  horizontalLayout->addWidget(RestoreDefaultsButton);
81 
82  SaveButton = new QToolButton(widget);
83  SaveButton->setObjectName(QString::fromUtf8("SaveButton"));
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
QToolButton * RestoreDefaultsButton
pqSearchBox is a line edit and an advanced tool button in the same layout.
Definition: pqSearchBox.h:25
void setupUi(QDialog *ProxyWidgetDialog)
void retranslateUi(QDialog *ProxyWidgetDialog)