1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'translationsettings.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_TRANSLATIONSETTINGS_H |
10 | #define UI_TRANSLATIONSETTINGS_H |
11 | |
12 | #include <QtCore/QVariant> |
13 | #include <QtWidgets/QApplication> |
14 | #include <QtWidgets/QComboBox> |
15 | #include <QtWidgets/QDialog> |
16 | #include <QtWidgets/QDialogButtonBox> |
17 | #include <QtWidgets/QGridLayout> |
18 | #include <QtWidgets/QGroupBox> |
19 | #include <QtWidgets/QLabel> |
20 | #include <QtWidgets/QSpacerItem> |
21 | #include <QtWidgets/QVBoxLayout> |
22 | |
23 | QT_BEGIN_NAMESPACE |
24 | |
25 | class Ui_TranslationSettingsDialog |
26 | { |
27 | public: |
28 | QVBoxLayout *verticalLayout; |
29 | QGroupBox *srcGroupBox; |
30 | QGridLayout *_2; |
31 | QComboBox *srcCbLanguageList; |
32 | QLabel *srcLblLanguage; |
33 | QComboBox *srcCbCountryList; |
34 | QLabel *srcLblCountry; |
35 | QGroupBox *tgtGroupBox; |
36 | QGridLayout *gridLayout; |
37 | QComboBox *tgtCbLanguageList; |
38 | QLabel *tgtLblLanguage; |
39 | QComboBox *tgtCbCountryList; |
40 | QLabel *tgtLblCountry; |
41 | QSpacerItem *verticalSpacer; |
42 | QDialogButtonBox *buttonBox; |
43 | |
44 | void setupUi(QDialog *translationSettingsDialog) |
45 | { |
46 | if (translationSettingsDialog->objectName().isEmpty()) |
47 | translationSettingsDialog->setObjectName(QString::fromUtf8(str: "translationSettingsDialog" )); |
48 | translationSettingsDialog->resize(w: 416, h: 263); |
49 | verticalLayout = new QVBoxLayout(translationSettingsDialog); |
50 | verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); |
51 | srcGroupBox = new QGroupBox(translationSettingsDialog); |
52 | srcGroupBox->setObjectName(QString::fromUtf8(str: "srcGroupBox" )); |
53 | _2 = new QGridLayout(srcGroupBox); |
54 | #ifndef Q_OS_MAC |
55 | _2->setSpacing(6); |
56 | #endif |
57 | #ifndef Q_OS_MAC |
58 | _2->setContentsMargins(left: 9, top: 9, right: 9, bottom: 9); |
59 | #endif |
60 | _2->setObjectName(QString::fromUtf8(str: "_2" )); |
61 | srcCbLanguageList = new QComboBox(srcGroupBox); |
62 | srcCbLanguageList->setObjectName(QString::fromUtf8(str: "srcCbLanguageList" )); |
63 | |
64 | _2->addWidget(srcCbLanguageList, row: 0, column: 1, rowSpan: 1, columnSpan: 1); |
65 | |
66 | srcLblLanguage = new QLabel(srcGroupBox); |
67 | srcLblLanguage->setObjectName(QString::fromUtf8(str: "srcLblLanguage" )); |
68 | |
69 | _2->addWidget(srcLblLanguage, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
70 | |
71 | srcCbCountryList = new QComboBox(srcGroupBox); |
72 | srcCbCountryList->setObjectName(QString::fromUtf8(str: "srcCbCountryList" )); |
73 | |
74 | _2->addWidget(srcCbCountryList, row: 1, column: 1, rowSpan: 1, columnSpan: 1); |
75 | |
76 | srcLblCountry = new QLabel(srcGroupBox); |
77 | srcLblCountry->setObjectName(QString::fromUtf8(str: "srcLblCountry" )); |
78 | |
79 | _2->addWidget(srcLblCountry, row: 1, column: 0, rowSpan: 1, columnSpan: 1); |
80 | |
81 | |
82 | verticalLayout->addWidget(srcGroupBox); |
83 | |
84 | tgtGroupBox = new QGroupBox(translationSettingsDialog); |
85 | tgtGroupBox->setObjectName(QString::fromUtf8(str: "tgtGroupBox" )); |
86 | gridLayout = new QGridLayout(tgtGroupBox); |
87 | #ifndef Q_OS_MAC |
88 | gridLayout->setSpacing(6); |
89 | #endif |
90 | #ifndef Q_OS_MAC |
91 | gridLayout->setContentsMargins(left: 9, top: 9, right: 9, bottom: 9); |
92 | #endif |
93 | gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout" )); |
94 | tgtCbLanguageList = new QComboBox(tgtGroupBox); |
95 | tgtCbLanguageList->setObjectName(QString::fromUtf8(str: "tgtCbLanguageList" )); |
96 | |
97 | gridLayout->addWidget(tgtCbLanguageList, row: 0, column: 1, rowSpan: 1, columnSpan: 1); |
98 | |
99 | tgtLblLanguage = new QLabel(tgtGroupBox); |
100 | tgtLblLanguage->setObjectName(QString::fromUtf8(str: "tgtLblLanguage" )); |
101 | |
102 | gridLayout->addWidget(tgtLblLanguage, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
103 | |
104 | tgtCbCountryList = new QComboBox(tgtGroupBox); |
105 | tgtCbCountryList->setObjectName(QString::fromUtf8(str: "tgtCbCountryList" )); |
106 | |
107 | gridLayout->addWidget(tgtCbCountryList, row: 1, column: 1, rowSpan: 1, columnSpan: 1); |
108 | |
109 | tgtLblCountry = new QLabel(tgtGroupBox); |
110 | tgtLblCountry->setObjectName(QString::fromUtf8(str: "tgtLblCountry" )); |
111 | |
112 | gridLayout->addWidget(tgtLblCountry, row: 1, column: 0, rowSpan: 1, columnSpan: 1); |
113 | |
114 | |
115 | verticalLayout->addWidget(tgtGroupBox); |
116 | |
117 | verticalSpacer = new QSpacerItem(20, 100, QSizePolicy::Minimum, QSizePolicy::Expanding); |
118 | |
119 | verticalLayout->addItem(verticalSpacer); |
120 | |
121 | buttonBox = new QDialogButtonBox(translationSettingsDialog); |
122 | buttonBox->setObjectName(QString::fromUtf8(str: "buttonBox" )); |
123 | buttonBox->setOrientation(Qt::Horizontal); |
124 | buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
125 | |
126 | verticalLayout->addWidget(buttonBox); |
127 | |
128 | #if QT_CONFIG(shortcut) |
129 | srcLblLanguage->setBuddy(tgtCbLanguageList); |
130 | tgtLblLanguage->setBuddy(tgtCbLanguageList); |
131 | #endif // QT_CONFIG(shortcut) |
132 | |
133 | retranslateUi(translationSettingsDialog); |
134 | QObject::connect(sender: buttonBox, SIGNAL(rejected()), receiver: translationSettingsDialog, SLOT(reject())); |
135 | |
136 | QMetaObject::connectSlotsByName(o: translationSettingsDialog); |
137 | } // setupUi |
138 | |
139 | void retranslateUi(QDialog *translationSettingsDialog) |
140 | { |
141 | translationSettingsDialog->setWindowTitle(QString()); |
142 | srcGroupBox->setTitle(QCoreApplication::translate(context: "TranslationSettingsDialog" , key: "Source language" , disambiguation: nullptr)); |
143 | srcLblLanguage->setText(QCoreApplication::translate(context: "TranslationSettingsDialog" , key: "Language" , disambiguation: nullptr)); |
144 | srcLblCountry->setText(QCoreApplication::translate(context: "TranslationSettingsDialog" , key: "Country/Region" , disambiguation: nullptr)); |
145 | tgtGroupBox->setTitle(QCoreApplication::translate(context: "TranslationSettingsDialog" , key: "Target language" , disambiguation: nullptr)); |
146 | tgtLblLanguage->setText(QCoreApplication::translate(context: "TranslationSettingsDialog" , key: "Language" , disambiguation: nullptr)); |
147 | tgtLblCountry->setText(QCoreApplication::translate(context: "TranslationSettingsDialog" , key: "Country/Region" , disambiguation: nullptr)); |
148 | } // retranslateUi |
149 | |
150 | }; |
151 | |
152 | namespace Ui { |
153 | class TranslationSettingsDialog: public Ui_TranslationSettingsDialog {}; |
154 | } // namespace Ui |
155 | |
156 | QT_END_NAMESPACE |
157 | |
158 | #endif // UI_TRANSLATIONSETTINGS_H |
159 | |