9 #ifndef UI_GUI_PLAYERPREFERENCES_H 10 #define UI_GUI_PLAYERPREFERENCES_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QCheckBox> 15 #include <QtWidgets/QFrame> 16 #include <QtWidgets/QGridLayout> 17 #include <QtWidgets/QHBoxLayout> 18 #include <QtWidgets/QLabel> 19 #include <QtWidgets/QWidget> 20 #include "Gui/Utils/Widgets/ComboBox.h" 27 QGridLayout *gridLayout;
28 QCheckBox *cb_update_notifications;
29 QCheckBox *cb_show_tray_icon;
30 QCheckBox *cb_close_to_tray;
31 QHBoxLayout *horizontalLayout;
35 QCheckBox *cb_start_in_tray;
43 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
45 cb_update_notifications->setObjectName(QStringLiteral(
"cb_update_notifications"));
47 gridLayout->addWidget(cb_update_notifications, 4, 0, 1, 1);
50 cb_show_tray_icon->setObjectName(QStringLiteral(
"cb_show_tray_icon"));
52 gridLayout->addWidget(cb_show_tray_icon, 0, 0, 1, 1);
55 cb_close_to_tray->setObjectName(QStringLiteral(
"cb_close_to_tray"));
57 gridLayout->addWidget(cb_close_to_tray, 3, 0, 1, 1);
59 horizontalLayout =
new QHBoxLayout();
60 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
62 lab_logger->setObjectName(QStringLiteral(
"lab_logger"));
63 lab_logger->setText(QStringLiteral(
"Logger"));
65 horizontalLayout->addWidget(lab_logger);
68 cb_logger->setObjectName(QStringLiteral(
"cb_logger"));
70 horizontalLayout->addWidget(cb_logger);
73 gridLayout->addLayout(horizontalLayout, 6, 0, 1, 1);
76 line->setObjectName(QStringLiteral(
"line"));
77 line->setFrameShape(QFrame::HLine);
78 line->setFrameShadow(QFrame::Sunken);
80 gridLayout->addWidget(line, 5, 0, 1, 1);
83 cb_start_in_tray->setObjectName(QStringLiteral(
"cb_start_in_tray"));
85 gridLayout->addWidget(cb_start_in_tray, 1, 0, 1, 1);
87 QWidget::setTabOrder(cb_show_tray_icon, cb_start_in_tray);
88 QWidget::setTabOrder(cb_start_in_tray, cb_close_to_tray);
89 QWidget::setTabOrder(cb_close_to_tray, cb_update_notifications);
90 QWidget::setTabOrder(cb_update_notifications, cb_logger);
99 cb_update_notifications->setText(QApplication::translate(
"GUI_PlayerPreferences",
"Update notifications",
nullptr));
100 cb_show_tray_icon->setText(QApplication::translate(
"GUI_PlayerPreferences",
"Show system tray icon",
nullptr));
101 cb_close_to_tray->setText(QApplication::translate(
"GUI_PlayerPreferences",
"Close to system tray",
nullptr));
102 cb_start_in_tray->setText(QApplication::translate(
"GUI_PlayerPreferences",
"Start in system tray",
nullptr));
114 #endif // UI_GUI_PLAYERPREFERENCES_H Definition: ui_GUI_PlayerPreferences.h:109
Definition: ui_GUI_AlternativeCovers.h:315
Definition: GUI_PlayerPreferences.h:28
Definition: ui_GUI_PlayerPreferences.h:24
A custom combobox which also uses the Gui::ComboBoxDelegate.
Definition: ComboBox.h:33