1/********************************************************************************
2** Form generated from reading UI file 'preferencesdialog.ui'
3**
4** Created by: Qt User Interface Compiler version 5.15.9
5**
6** WARNING! All changes made in this file will be lost when recompiling UI file!
7********************************************************************************/
8
9#ifndef UI_PREFERENCESDIALOG_H
10#define UI_PREFERENCESDIALOG_H
11
12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QCheckBox>
15#include <QtWidgets/QComboBox>
16#include <QtWidgets/QDialog>
17#include <QtWidgets/QDialogButtonBox>
18#include <QtWidgets/QGridLayout>
19#include <QtWidgets/QGroupBox>
20#include <QtWidgets/QHBoxLayout>
21#include <QtWidgets/QLabel>
22#include <QtWidgets/QLineEdit>
23#include <QtWidgets/QPushButton>
24#include <QtWidgets/QSpacerItem>
25#include <QtWidgets/QStackedWidget>
26#include <QtWidgets/QTabWidget>
27#include <QtWidgets/QVBoxLayout>
28#include <QtWidgets/QWidget>
29#include "helpdocsettingswidget.h"
30#include "qhelpfiltersettingswidget.h"
31
32QT_BEGIN_NAMESPACE
33
34class Ui_PreferencesDialogClass
35{
36public:
37 QVBoxLayout *verticalLayout_6;
38 QTabWidget *tabWidget;
39 QWidget *fontsTab;
40 QGridLayout *gridLayout;
41 QHBoxLayout *hboxLayout;
42 QLabel *fontLabel;
43 QComboBox *comboBox;
44 QStackedWidget *stackedWidget_2;
45 QWidget *page_4;
46 QWidget *filtersTab;
47 QVBoxLayout *verticalLayout_5;
48 QHelpFilterSettingsWidget *filterSettingsWidget;
49 QWidget *docsTab;
50 QVBoxLayout *verticalLayout_4;
51 HelpDocSettingsWidget *docSettingsWidget;
52 QWidget *optionsTab;
53 QVBoxLayout *verticalLayout_3;
54 QGroupBox *groupBox_2;
55 QHBoxLayout *horizontalLayout_3;
56 QLabel *label_5;
57 QComboBox *helpStartComboBox;
58 QSpacerItem *horizontalSpacer_3;
59 QGroupBox *groupBox;
60 QVBoxLayout *verticalLayout;
61 QHBoxLayout *horizontalLayout_2;
62 QLabel *label_4;
63 QLineEdit *homePageLineEdit;
64 QHBoxLayout *horizontalLayout;
65 QSpacerItem *horizontalSpacer;
66 QPushButton *currentPageButton;
67 QPushButton *blankPageButton;
68 QPushButton *defaultPageButton;
69 QGroupBox *groupBox_3;
70 QVBoxLayout *verticalLayout_2;
71 QCheckBox *showTabs;
72 QSpacerItem *verticalSpacer_2;
73 QDialogButtonBox *buttonBox;
74
75 void setupUi(QDialog *PreferencesDialogClass)
76 {
77 if (PreferencesDialogClass->objectName().isEmpty())
78 PreferencesDialogClass->setObjectName(QString::fromUtf8(str: "PreferencesDialogClass"));
79 PreferencesDialogClass->resize(w: 395, h: 376);
80 verticalLayout_6 = new QVBoxLayout(PreferencesDialogClass);
81 verticalLayout_6->setSpacing(6);
82 verticalLayout_6->setContentsMargins(left: 11, top: 11, right: 11, bottom: 11);
83 verticalLayout_6->setObjectName(QString::fromUtf8(str: "verticalLayout_6"));
84 tabWidget = new QTabWidget(PreferencesDialogClass);
85 tabWidget->setObjectName(QString::fromUtf8(str: "tabWidget"));
86 fontsTab = new QWidget();
87 fontsTab->setObjectName(QString::fromUtf8(str: "fontsTab"));
88 gridLayout = new QGridLayout(fontsTab);
89 gridLayout->setSpacing(6);
90 gridLayout->setContentsMargins(left: 11, top: 11, right: 11, bottom: 11);
91 gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout"));
92 hboxLayout = new QHBoxLayout();
93 hboxLayout->setSpacing(6);
94 hboxLayout->setObjectName(QString::fromUtf8(str: "hboxLayout"));
95 fontLabel = new QLabel(fontsTab);
96 fontLabel->setObjectName(QString::fromUtf8(str: "fontLabel"));
97 QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
98 sizePolicy.setHorizontalStretch(0);
99 sizePolicy.setVerticalStretch(0);
100 sizePolicy.setHeightForWidth(fontLabel->sizePolicy().hasHeightForWidth());
101 fontLabel->setSizePolicy(sizePolicy);
102
103 hboxLayout->addWidget(fontLabel);
104
105 comboBox = new QComboBox(fontsTab);
106 comboBox->addItem(atext: QString());
107 comboBox->addItem(atext: QString());
108 comboBox->setObjectName(QString::fromUtf8(str: "comboBox"));
109
110 hboxLayout->addWidget(comboBox);
111
112
113 gridLayout->addLayout(hboxLayout, row: 0, column: 0, rowSpan: 1, columnSpan: 1);
114
115 stackedWidget_2 = new QStackedWidget(fontsTab);
116 stackedWidget_2->setObjectName(QString::fromUtf8(str: "stackedWidget_2"));
117 page_4 = new QWidget();
118 page_4->setObjectName(QString::fromUtf8(str: "page_4"));
119 stackedWidget_2->addWidget(w: page_4);
120
121 gridLayout->addWidget(stackedWidget_2, row: 1, column: 0, rowSpan: 1, columnSpan: 1);
122
123 tabWidget->addTab(widget: fontsTab, QString());
124 filtersTab = new QWidget();
125 filtersTab->setObjectName(QString::fromUtf8(str: "filtersTab"));
126 verticalLayout_5 = new QVBoxLayout(filtersTab);
127 verticalLayout_5->setSpacing(6);
128 verticalLayout_5->setContentsMargins(left: 11, top: 11, right: 11, bottom: 11);
129 verticalLayout_5->setObjectName(QString::fromUtf8(str: "verticalLayout_5"));
130 verticalLayout_5->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0);
131 filterSettingsWidget = new QHelpFilterSettingsWidget(filtersTab);
132 filterSettingsWidget->setObjectName(QString::fromUtf8(str: "filterSettingsWidget"));
133
134 verticalLayout_5->addWidget(filterSettingsWidget);
135
136 tabWidget->addTab(widget: filtersTab, QString());
137 docsTab = new QWidget();
138 docsTab->setObjectName(QString::fromUtf8(str: "docsTab"));
139 verticalLayout_4 = new QVBoxLayout(docsTab);
140 verticalLayout_4->setSpacing(6);
141 verticalLayout_4->setContentsMargins(left: 11, top: 11, right: 11, bottom: 11);
142 verticalLayout_4->setObjectName(QString::fromUtf8(str: "verticalLayout_4"));
143 verticalLayout_4->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0);
144 docSettingsWidget = new HelpDocSettingsWidget(docsTab);
145 docSettingsWidget->setObjectName(QString::fromUtf8(str: "docSettingsWidget"));
146
147 verticalLayout_4->addWidget(docSettingsWidget);
148
149 tabWidget->addTab(widget: docsTab, QString());
150 optionsTab = new QWidget();
151 optionsTab->setObjectName(QString::fromUtf8(str: "optionsTab"));
152 verticalLayout_3 = new QVBoxLayout(optionsTab);
153 verticalLayout_3->setSpacing(6);
154 verticalLayout_3->setContentsMargins(left: 11, top: 11, right: 11, bottom: 11);
155 verticalLayout_3->setObjectName(QString::fromUtf8(str: "verticalLayout_3"));
156 groupBox_2 = new QGroupBox(optionsTab);
157 groupBox_2->setObjectName(QString::fromUtf8(str: "groupBox_2"));
158 horizontalLayout_3 = new QHBoxLayout(groupBox_2);
159 horizontalLayout_3->setSpacing(6);
160 horizontalLayout_3->setContentsMargins(left: 11, top: 11, right: 11, bottom: 11);
161 horizontalLayout_3->setObjectName(QString::fromUtf8(str: "horizontalLayout_3"));
162 label_5 = new QLabel(groupBox_2);
163 label_5->setObjectName(QString::fromUtf8(str: "label_5"));
164 QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed);
165 sizePolicy1.setHorizontalStretch(0);
166 sizePolicy1.setVerticalStretch(0);
167 sizePolicy1.setHeightForWidth(label_5->sizePolicy().hasHeightForWidth());
168 label_5->setSizePolicy(sizePolicy1);
169
170 horizontalLayout_3->addWidget(label_5);
171
172 helpStartComboBox = new QComboBox(groupBox_2);
173 helpStartComboBox->addItem(atext: QString());
174 helpStartComboBox->addItem(atext: QString());
175 helpStartComboBox->addItem(atext: QString());
176 helpStartComboBox->setObjectName(QString::fromUtf8(str: "helpStartComboBox"));
177 sizePolicy1.setHeightForWidth(helpStartComboBox->sizePolicy().hasHeightForWidth());
178 helpStartComboBox->setSizePolicy(sizePolicy1);
179
180 horizontalLayout_3->addWidget(helpStartComboBox);
181
182 horizontalSpacer_3 = new QSpacerItem(54, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
183
184 horizontalLayout_3->addItem(horizontalSpacer_3);
185
186
187 verticalLayout_3->addWidget(groupBox_2);
188
189 groupBox = new QGroupBox(optionsTab);
190 groupBox->setObjectName(QString::fromUtf8(str: "groupBox"));
191 verticalLayout = new QVBoxLayout(groupBox);
192 verticalLayout->setSpacing(6);
193 verticalLayout->setContentsMargins(left: 11, top: 11, right: 11, bottom: 11);
194 verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout"));
195 horizontalLayout_2 = new QHBoxLayout();
196 horizontalLayout_2->setSpacing(6);
197 horizontalLayout_2->setObjectName(QString::fromUtf8(str: "horizontalLayout_2"));
198 label_4 = new QLabel(groupBox);
199 label_4->setObjectName(QString::fromUtf8(str: "label_4"));
200
201 horizontalLayout_2->addWidget(label_4);
202
203 homePageLineEdit = new QLineEdit(groupBox);
204 homePageLineEdit->setObjectName(QString::fromUtf8(str: "homePageLineEdit"));
205
206 horizontalLayout_2->addWidget(homePageLineEdit);
207
208
209 verticalLayout->addLayout(layout: horizontalLayout_2);
210
211 horizontalLayout = new QHBoxLayout();
212 horizontalLayout->setSpacing(6);
213 horizontalLayout->setObjectName(QString::fromUtf8(str: "horizontalLayout"));
214 horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
215
216 horizontalLayout->addItem(horizontalSpacer);
217
218 currentPageButton = new QPushButton(groupBox);
219 currentPageButton->setObjectName(QString::fromUtf8(str: "currentPageButton"));
220
221 horizontalLayout->addWidget(currentPageButton);
222
223 blankPageButton = new QPushButton(groupBox);
224 blankPageButton->setObjectName(QString::fromUtf8(str: "blankPageButton"));
225
226 horizontalLayout->addWidget(blankPageButton);
227
228 defaultPageButton = new QPushButton(groupBox);
229 defaultPageButton->setObjectName(QString::fromUtf8(str: "defaultPageButton"));
230
231 horizontalLayout->addWidget(defaultPageButton);
232
233
234 verticalLayout->addLayout(layout: horizontalLayout);
235
236
237 verticalLayout_3->addWidget(groupBox);
238
239 groupBox_3 = new QGroupBox(optionsTab);
240 groupBox_3->setObjectName(QString::fromUtf8(str: "groupBox_3"));
241 verticalLayout_2 = new QVBoxLayout(groupBox_3);
242 verticalLayout_2->setSpacing(6);
243 verticalLayout_2->setContentsMargins(left: 11, top: 11, right: 11, bottom: 11);
244 verticalLayout_2->setObjectName(QString::fromUtf8(str: "verticalLayout_2"));
245 showTabs = new QCheckBox(groupBox_3);
246 showTabs->setObjectName(QString::fromUtf8(str: "showTabs"));
247
248 verticalLayout_2->addWidget(showTabs);
249
250
251 verticalLayout_3->addWidget(groupBox_3);
252
253 verticalSpacer_2 = new QSpacerItem(20, 72, QSizePolicy::Minimum, QSizePolicy::Expanding);
254
255 verticalLayout_3->addItem(verticalSpacer_2);
256
257 tabWidget->addTab(widget: optionsTab, QString());
258
259 verticalLayout_6->addWidget(tabWidget);
260
261 buttonBox = new QDialogButtonBox(PreferencesDialogClass);
262 buttonBox->setObjectName(QString::fromUtf8(str: "buttonBox"));
263 buttonBox->setStandardButtons(QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
264
265 verticalLayout_6->addWidget(buttonBox);
266
267
268 retranslateUi(PreferencesDialogClass);
269 QObject::connect(sender: comboBox, SIGNAL(currentIndexChanged(int)), receiver: stackedWidget_2, SLOT(setCurrentIndex(int)));
270
271 tabWidget->setCurrentIndex(2);
272 stackedWidget_2->setCurrentIndex(0);
273
274
275 QMetaObject::connectSlotsByName(o: PreferencesDialogClass);
276 } // setupUi
277
278 void retranslateUi(QDialog *PreferencesDialogClass)
279 {
280 PreferencesDialogClass->setWindowTitle(QCoreApplication::translate(context: "PreferencesDialogClass", key: "Preferences", disambiguation: nullptr));
281 fontLabel->setText(QCoreApplication::translate(context: "PreferencesDialogClass", key: "Font settings:", disambiguation: nullptr));
282 comboBox->setItemText(index: 0, text: QCoreApplication::translate(context: "PreferencesDialogClass", key: "Browser", disambiguation: nullptr));
283 comboBox->setItemText(index: 1, text: QCoreApplication::translate(context: "PreferencesDialogClass", key: "Application", disambiguation: nullptr));
284
285 tabWidget->setTabText(index: tabWidget->indexOf(widget: fontsTab), text: QCoreApplication::translate(context: "PreferencesDialogClass", key: "Fonts", disambiguation: nullptr));
286 tabWidget->setTabText(index: tabWidget->indexOf(widget: filtersTab), text: QCoreApplication::translate(context: "PreferencesDialogClass", key: "Filters", disambiguation: nullptr));
287 tabWidget->setTabText(index: tabWidget->indexOf(widget: docsTab), text: QCoreApplication::translate(context: "PreferencesDialogClass", key: "Documentation", disambiguation: nullptr));
288 groupBox_2->setTitle(QString());
289 label_5->setText(QCoreApplication::translate(context: "PreferencesDialogClass", key: "On help start:", disambiguation: nullptr));
290 helpStartComboBox->setItemText(index: 0, text: QCoreApplication::translate(context: "PreferencesDialogClass", key: "Show my home page", disambiguation: nullptr));
291 helpStartComboBox->setItemText(index: 1, text: QCoreApplication::translate(context: "PreferencesDialogClass", key: "Show a blank page", disambiguation: nullptr));
292 helpStartComboBox->setItemText(index: 2, text: QCoreApplication::translate(context: "PreferencesDialogClass", key: "Show my tabs from last session", disambiguation: nullptr));
293
294 groupBox->setTitle(QString());
295 label_4->setText(QCoreApplication::translate(context: "PreferencesDialogClass", key: "Homepage", disambiguation: nullptr));
296 currentPageButton->setText(QCoreApplication::translate(context: "PreferencesDialogClass", key: "Current Page", disambiguation: nullptr));
297 blankPageButton->setText(QCoreApplication::translate(context: "PreferencesDialogClass", key: "Blank Page", disambiguation: nullptr));
298 defaultPageButton->setText(QCoreApplication::translate(context: "PreferencesDialogClass", key: "Restore to default", disambiguation: nullptr));
299 groupBox_3->setTitle(QCoreApplication::translate(context: "PreferencesDialogClass", key: "Appearance", disambiguation: nullptr));
300 showTabs->setText(QCoreApplication::translate(context: "PreferencesDialogClass", key: "Show tabs for each individual page", disambiguation: nullptr));
301 tabWidget->setTabText(index: tabWidget->indexOf(widget: optionsTab), text: QCoreApplication::translate(context: "PreferencesDialogClass", key: "Options", disambiguation: nullptr));
302 } // retranslateUi
303
304};
305
306namespace Ui {
307 class PreferencesDialogClass: public Ui_PreferencesDialogClass {};
308} // namespace Ui
309
310QT_END_NAMESPACE
311
312#endif // UI_PREFERENCESDIALOG_H
313

source code of qttools/src/assistant/assistant/.uic/ui_preferencesdialog.h