9 #ifndef UI_GUI_PLAYERPREFERENCES_H 10 #define UI_GUI_PLAYERPREFERENCES_H 12 #include <GUI/Utils/Widgets/ComboBox.h> 13 #include <QtCore/QVariant> 14 #include <QtWidgets/QAction> 15 #include <QtWidgets/QApplication> 16 #include <QtWidgets/QButtonGroup> 17 #include <QtWidgets/QCheckBox> 18 #include <QtWidgets/QFrame> 19 #include <QtWidgets/QGridLayout> 20 #include <QtWidgets/QHBoxLayout> 21 #include <QtWidgets/QHeaderView> 22 #include <QtWidgets/QLabel> 23 #include <QtWidgets/QWidget> 30 QGridLayout *gridLayout;
31 QCheckBox *cb_update_notifications;
32 QCheckBox *cb_show_tray_icon;
33 QCheckBox *cb_close_to_tray;
34 QHBoxLayout *horizontalLayout;
38 QCheckBox *cb_start_in_tray;
42 if (GUI_PlayerPreferences->objectName().isEmpty())
43 GUI_PlayerPreferences->setObjectName(QStringLiteral(
"GUI_PlayerPreferences"));
44 GUI_PlayerPreferences->resize(400, 202);
45 gridLayout =
new QGridLayout(GUI_PlayerPreferences);
46 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
47 cb_update_notifications =
new QCheckBox(GUI_PlayerPreferences);
48 cb_update_notifications->setObjectName(QStringLiteral(
"cb_update_notifications"));
50 gridLayout->addWidget(cb_update_notifications, 4, 0, 1, 1);
52 cb_show_tray_icon =
new QCheckBox(GUI_PlayerPreferences);
53 cb_show_tray_icon->setObjectName(QStringLiteral(
"cb_show_tray_icon"));
55 gridLayout->addWidget(cb_show_tray_icon, 0, 0, 1, 1);
57 cb_close_to_tray =
new QCheckBox(GUI_PlayerPreferences);
58 cb_close_to_tray->setObjectName(QStringLiteral(
"cb_close_to_tray"));
60 gridLayout->addWidget(cb_close_to_tray, 3, 0, 1, 1);
62 horizontalLayout =
new QHBoxLayout();
63 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
64 lab_logger =
new QLabel(GUI_PlayerPreferences);
65 lab_logger->setObjectName(QStringLiteral(
"lab_logger"));
66 lab_logger->setText(QStringLiteral(
"Logger"));
68 horizontalLayout->addWidget(lab_logger);
71 cb_logger->setObjectName(QStringLiteral(
"cb_logger"));
73 horizontalLayout->addWidget(cb_logger);
76 gridLayout->addLayout(horizontalLayout, 6, 0, 1, 1);
78 line =
new QFrame(GUI_PlayerPreferences);
79 line->setObjectName(QStringLiteral(
"line"));
80 line->setFrameShape(QFrame::HLine);
81 line->setFrameShadow(QFrame::Sunken);
83 gridLayout->addWidget(line, 5, 0, 1, 1);
85 cb_start_in_tray =
new QCheckBox(GUI_PlayerPreferences);
86 cb_start_in_tray->setObjectName(QStringLiteral(
"cb_start_in_tray"));
88 gridLayout->addWidget(cb_start_in_tray, 1, 0, 1, 1);
91 retranslateUi(GUI_PlayerPreferences);
93 QMetaObject::connectSlotsByName(GUI_PlayerPreferences);
96 void retranslateUi(QWidget *GUI_PlayerPreferences)
98 cb_update_notifications->setText(QApplication::translate(
"GUI_PlayerPreferences",
"Update notifications", Q_NULLPTR));
99 cb_show_tray_icon->setText(QApplication::translate(
"GUI_PlayerPreferences",
"Show system tray icon", Q_NULLPTR));
100 cb_close_to_tray->setText(QApplication::translate(
"GUI_PlayerPreferences",
"Close to tray", Q_NULLPTR));
101 cb_start_in_tray->setText(QApplication::translate(
"GUI_PlayerPreferences",
"Start in tray", Q_NULLPTR));
102 Q_UNUSED(GUI_PlayerPreferences);
113 #endif // UI_GUI_PLAYERPREFERENCES_H Definition: ui_GUI_PlayerPreferences.h:108
Definition: ui_GUI_SomaFM.h:208
Definition: GUI_PlayerPreferences.h:28
Definition: ui_GUI_PlayerPreferences.h:27
Definition: ComboBox.h:31