9 #ifndef UI_GUI_LANGUAGEPREFERENCES_H 10 #define UI_GUI_LANGUAGEPREFERENCES_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QFrame> 15 #include <QtWidgets/QGridLayout> 16 #include <QtWidgets/QHBoxLayout> 17 #include <QtWidgets/QLabel> 18 #include <QtWidgets/QPushButton> 19 #include <QtWidgets/QSpacerItem> 20 #include <QtWidgets/QWidget> 21 #include "Gui/Utils/Widgets/ComboBox.h" 28 QGridLayout *gridLayout;
30 QHBoxLayout *horizontalLayout;
31 QPushButton *btn_check_for_update;
32 QPushButton *btn_download;
33 QLabel *lab_update_info;
34 QSpacerItem *verticalSpacer;
46 gridLayout->setSpacing(7);
47 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
49 line_2->setObjectName(QString::fromUtf8(
"line_2"));
50 line_2->setFrameShape(QFrame::HLine);
51 line_2->setFrameShadow(QFrame::Sunken);
53 gridLayout->addWidget(line_2, 6, 0, 1, 1);
55 horizontalLayout =
new QHBoxLayout();
56 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
58 btn_check_for_update->setObjectName(QString::fromUtf8(
"btn_check_for_update"));
60 horizontalLayout->addWidget(btn_check_for_update);
63 btn_download->setObjectName(QString::fromUtf8(
"btn_download"));
65 horizontalLayout->addWidget(btn_download);
68 gridLayout->addLayout(horizontalLayout, 4, 0, 1, 1);
71 lab_update_info->setObjectName(QString::fromUtf8(
"lab_update_info"));
72 lab_update_info->setText(QString::fromUtf8(
""));
74 gridLayout->addWidget(lab_update_info, 5, 0, 1, 1);
76 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
78 gridLayout->addItem(verticalSpacer, 9, 0, 1, 1);
81 combo_lang->addItem(QString());
82 combo_lang->setObjectName(QString::fromUtf8(
"combo_lang"));
83 combo_lang->setCurrentText(QString::fromUtf8(
"English"));
85 gridLayout->addWidget(combo_lang, 0, 0, 1, 1);
88 line->setObjectName(QString::fromUtf8(
"line"));
89 line->setFrameShape(QFrame::HLine);
90 line->setFrameShadow(QFrame::Sunken);
92 gridLayout->addWidget(line, 3, 0, 1, 1);
95 lab_link->setObjectName(QString::fromUtf8(
"lab_link"));
96 lab_link->setText(QString::fromUtf8(
""));
97 lab_link->setTextFormat(Qt::RichText);
98 lab_link->setOpenExternalLinks(
true);
100 gridLayout->addWidget(lab_link, 8, 0, 1, 1);
103 label_2->setObjectName(QString::fromUtf8(
"label_2"));
104 label_2->setWordWrap(
true);
106 gridLayout->addWidget(label_2, 7, 0, 1, 1);
116 btn_check_for_update->setText(QApplication::translate(
"GUI_LanguagePreferences",
"Check for update",
nullptr));
117 btn_download->setText(QApplication::translate(
"GUI_LanguagePreferences",
"Download update",
nullptr));
118 combo_lang->setItemText(0, QApplication::translate(
"GUI_LanguagePreferences",
"English",
nullptr));
120 label_2->setText(QApplication::translate(
"GUI_LanguagePreferences",
"For new languages I am always looking for translators",
nullptr));
132 #endif // UI_GUI_LANGUAGEPREFERENCES_H Definition: ui_GUI_LanguagePreferences.h:25
Definition: GUI_LanguagePreferences.h:29
A custom combobox which also uses the Gui::ComboBoxDelegate.
Definition: ComboBox.h:33
Definition: ui_GUI_LanguagePreferences.h:127