ui_pqSettingsDialog.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'pqSettingsDialog.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_PQSETTINGSDIALOG_H
10 #define UI_PQSETTINGSDIALOG_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QApplication>
14 #include <QtWidgets/QDialog>
15 #include <QtWidgets/QDialogButtonBox>
16 #include <QtWidgets/QHBoxLayout>
17 #include <QtWidgets/QLabel>
18 #include <QtWidgets/QStackedWidget>
19 #include <QtWidgets/QTabBar>
20 #include <QtWidgets/QVBoxLayout>
21 #include <QtWidgets/QWidget>
22 #include "pqSearchBox.h"
23 
24 QT_BEGIN_NAMESPACE
25 
27 {
28 public:
29  QVBoxLayout *verticalLayout;
30  QTabBar *tabBar;
31  QHBoxLayout *SearchBoxLayout;
33  QStackedWidget *stackedWidget;
34  QWidget *page;
35  QWidget *page_2;
37  QDialogButtonBox *buttonBox;
38 
39  void setupUi(QDialog *SettingsDialog)
40  {
41  if (SettingsDialog->objectName().isEmpty())
42  SettingsDialog->setObjectName(QString::fromUtf8("SettingsDialog"));
43  SettingsDialog->resize(540, 645);
44  SettingsDialog->setSizeGripEnabled(true);
45  verticalLayout = new QVBoxLayout(SettingsDialog);
46  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
47  tabBar = new QTabBar(SettingsDialog);
48  tabBar->setObjectName(QString::fromUtf8("tabBar"));
49  QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
50  sizePolicy.setHorizontalStretch(0);
51  sizePolicy.setVerticalStretch(0);
52  sizePolicy.setHeightForWidth(tabBar->sizePolicy().hasHeightForWidth());
53  tabBar->setSizePolicy(sizePolicy);
54 
55  verticalLayout->addWidget(tabBar);
56 
57  SearchBoxLayout = new QHBoxLayout();
58  SearchBoxLayout->setSpacing(2);
59  SearchBoxLayout->setObjectName(QString::fromUtf8("SearchBoxLayout"));
60  SearchBox = new pqSearchBox(SettingsDialog);
61  SearchBox->setObjectName(QString::fromUtf8("SearchBox"));
62  SearchBox->setProperty("settingKey", QVariant(QString::fromUtf8("pqSettingsDialog/showAdvancedProperties")));
63  SearchBox->setProperty("advancedSearchEnabled", QVariant(true));
64 
65  SearchBoxLayout->addWidget(SearchBox);
66 
67 
68  verticalLayout->addLayout(SearchBoxLayout);
69 
70  stackedWidget = new QStackedWidget(SettingsDialog);
71  stackedWidget->setObjectName(QString::fromUtf8("stackedWidget"));
72  stackedWidget->setFrameShape(QFrame::NoFrame);
73  page = new QWidget();
74  page->setObjectName(QString::fromUtf8("page"));
75  stackedWidget->addWidget(page);
76  page_2 = new QWidget();
77  page_2->setObjectName(QString::fromUtf8("page_2"));
78  stackedWidget->addWidget(page_2);
79 
80  verticalLayout->addWidget(stackedWidget);
81 
82  restartRequiredLabel = new QLabel(SettingsDialog);
83  restartRequiredLabel->setObjectName(QString::fromUtf8("restartRequiredLabel"));
84  QFont font;
85  font.setBold(true);
86  font.setWeight(75);
87  restartRequiredLabel->setFont(font);
88  restartRequiredLabel->setWordWrap(true);
89 
90  verticalLayout->addWidget(restartRequiredLabel);
91 
92  buttonBox = new QDialogButtonBox(SettingsDialog);
93  buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
94  buttonBox->setOrientation(Qt::Horizontal);
95  buttonBox->setStandardButtons(QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Reset|QDialogButtonBox::RestoreDefaults);
96  buttonBox->setCenterButtons(false);
97 
98  verticalLayout->addWidget(buttonBox);
99 
100 
101  retranslateUi(SettingsDialog);
102  QObject::connect(buttonBox, SIGNAL(accepted()), SettingsDialog, SLOT(accept()));
103  QObject::connect(buttonBox, SIGNAL(rejected()), SettingsDialog, SLOT(reject()));
104 
105  stackedWidget->setCurrentIndex(0);
106 
107 
108  QMetaObject::connectSlotsByName(SettingsDialog);
109  } // setupUi
110 
111  void retranslateUi(QDialog *SettingsDialog)
112  {
113  SettingsDialog->setWindowTitle(QCoreApplication::translate("SettingsDialog", "Settings", nullptr));
114  restartRequiredLabel->setText(QCoreApplication::translate("SettingsDialog", "* Restart required for some settings to take effect", nullptr));
115  } // retranslateUi
116 
117 };
118 
119 namespace Ui {
121 } // namespace Ui
122 
123 QT_END_NAMESPACE
124 
125 #endif // UI_PQSETTINGSDIALOG_H
QVBoxLayout * verticalLayout
pqSearchBox is a line edit and an advanced tool button in the same layout.
Definition: pqSearchBox.h:25
QDialogButtonBox * buttonBox
void retranslateUi(QDialog *SettingsDialog)
QStackedWidget * stackedWidget
void setupUi(QDialog *SettingsDialog)
QHBoxLayout * SearchBoxLayout
pqSearchBox * SearchBox