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/QDialog> |
15 | #include <QtWidgets/QDialogButtonBox> |
16 | #include <QtWidgets/QTabWidget> |
17 | #include <QtWidgets/QVBoxLayout> |
18 | #include <QtWidgets/QWidget> |
19 | |
20 | QT_BEGIN_NAMESPACE |
21 | |
22 | class Ui_PreferencesDialog |
23 | { |
24 | public: |
25 | QVBoxLayout *verticalLayout; |
26 | QTabWidget *m_optionTabWidget; |
27 | QWidget *tab_2; |
28 | QDialogButtonBox *m_dialogButtonBox; |
29 | |
30 | void setupUi(QDialog *PreferencesDialog) |
31 | { |
32 | if (PreferencesDialog->objectName().isEmpty()) |
33 | PreferencesDialog->setObjectName(QString::fromUtf8(str: "PreferencesDialog" )); |
34 | PreferencesDialog->resize(w: 474, h: 304); |
35 | QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum); |
36 | sizePolicy.setHorizontalStretch(0); |
37 | sizePolicy.setVerticalStretch(0); |
38 | sizePolicy.setHeightForWidth(PreferencesDialog->sizePolicy().hasHeightForWidth()); |
39 | PreferencesDialog->setSizePolicy(sizePolicy); |
40 | PreferencesDialog->setModal(true); |
41 | verticalLayout = new QVBoxLayout(PreferencesDialog); |
42 | verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); |
43 | m_optionTabWidget = new QTabWidget(PreferencesDialog); |
44 | m_optionTabWidget->setObjectName(QString::fromUtf8(str: "m_optionTabWidget" )); |
45 | sizePolicy.setHeightForWidth(m_optionTabWidget->sizePolicy().hasHeightForWidth()); |
46 | m_optionTabWidget->setSizePolicy(sizePolicy); |
47 | tab_2 = new QWidget(); |
48 | tab_2->setObjectName(QString::fromUtf8(str: "tab_2" )); |
49 | m_optionTabWidget->addTab(widget: tab_2, QString()); |
50 | m_optionTabWidget->setTabText(index: m_optionTabWidget->indexOf(widget: tab_2), text: QString::fromUtf8(str: "Tab 1" )); |
51 | |
52 | verticalLayout->addWidget(m_optionTabWidget); |
53 | |
54 | m_dialogButtonBox = new QDialogButtonBox(PreferencesDialog); |
55 | m_dialogButtonBox->setObjectName(QString::fromUtf8(str: "m_dialogButtonBox" )); |
56 | m_dialogButtonBox->setOrientation(Qt::Horizontal); |
57 | m_dialogButtonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Apply|QDialogButtonBox::Ok); |
58 | |
59 | verticalLayout->addWidget(m_dialogButtonBox); |
60 | |
61 | |
62 | retranslateUi(PreferencesDialog); |
63 | QObject::connect(sender: m_dialogButtonBox, SIGNAL(accepted()), receiver: PreferencesDialog, SLOT(accept())); |
64 | QObject::connect(sender: m_dialogButtonBox, SIGNAL(rejected()), receiver: PreferencesDialog, SLOT(reject())); |
65 | |
66 | m_optionTabWidget->setCurrentIndex(0); |
67 | |
68 | |
69 | QMetaObject::connectSlotsByName(o: PreferencesDialog); |
70 | } // setupUi |
71 | |
72 | void retranslateUi(QDialog *PreferencesDialog) |
73 | { |
74 | PreferencesDialog->setWindowTitle(QCoreApplication::translate(context: "PreferencesDialog" , key: "Preferences" , disambiguation: nullptr)); |
75 | } // retranslateUi |
76 | |
77 | }; |
78 | |
79 | namespace Ui { |
80 | class PreferencesDialog: public Ui_PreferencesDialog {}; |
81 | } // namespace Ui |
82 | |
83 | QT_END_NAMESPACE |
84 | |
85 | #endif // UI_PREFERENCESDIALOG_H |
86 | |