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/QSpacerItem>
20#include <QtWidgets/QVBoxLayout>
21#include <QtWidgets/QWidget>
22#include "Gui/Utils/Widgets/ComboBox.h"
29 QGridLayout *gridLayout;
30 QHBoxLayout *horizontalLayout;
33 QCheckBox *cbShowTrayIcon;
34 QCheckBox *cbUpdateNotifications;
35 QCheckBox *cbStartInTray;
36 QWidget *widgetWarning;
37 QVBoxLayout *verticalLayout;
38 QLabel *labWarningHeader;
42 QCheckBox *cbCloseToTray;
43 QSpacerItem *verticalSpacer;
52 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
53 horizontalLayout =
new QHBoxLayout();
54 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
56 labLogger->setObjectName(QString::fromUtf8(
"labLogger"));
57 labLogger->setText(QString::fromUtf8(
"Logger"));
59 horizontalLayout->addWidget(labLogger);
62 cbLogger->setObjectName(QString::fromUtf8(
"cbLogger"));
64 horizontalLayout->addWidget(cbLogger);
67 gridLayout->addLayout(horizontalLayout, 10, 0, 1, 1);
70 cbShowTrayIcon->setObjectName(QString::fromUtf8(
"cbShowTrayIcon"));
72 gridLayout->addWidget(cbShowTrayIcon, 0, 0, 1, 1);
75 cbUpdateNotifications->setObjectName(QString::fromUtf8(
"cbUpdateNotifications"));
77 gridLayout->addWidget(cbUpdateNotifications, 4, 0, 1, 1);
80 cbStartInTray->setObjectName(QString::fromUtf8(
"cbStartInTray"));
82 gridLayout->addWidget(cbStartInTray, 1, 0, 1, 1);
85 widgetWarning->setObjectName(QString::fromUtf8(
"widgetWarning"));
86 verticalLayout =
new QVBoxLayout(widgetWarning);
87 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
88 verticalLayout->setContentsMargins(0, 0, 0, 0);
89 labWarningHeader =
new QLabel(widgetWarning);
90 labWarningHeader->setObjectName(QString::fromUtf8(
"labWarningHeader"));
91 labWarningHeader->setText(QString::fromUtf8(
""));
93 verticalLayout->addWidget(labWarningHeader);
95 labWarning =
new QLabel(widgetWarning);
96 labWarning->setObjectName(QString::fromUtf8(
"labWarning"));
97 labWarning->setStyleSheet(QString::fromUtf8(
"color: red;"));
98 labWarning->setText(QString::fromUtf8(
""));
99 labWarning->setWordWrap(
true);
101 verticalLayout->addWidget(labWarning);
103 line =
new QFrame(widgetWarning);
104 line->setObjectName(QString::fromUtf8(
"line"));
105 line->setFrameShape(QFrame::HLine);
106 line->setFrameShadow(QFrame::Sunken);
108 verticalLayout->addWidget(line);
111 gridLayout->addWidget(widgetWarning, 7, 0, 1, 1);
114 line_2->setObjectName(QString::fromUtf8(
"line_2"));
115 line_2->setFrameShape(QFrame::HLine);
116 line_2->setFrameShadow(QFrame::Sunken);
118 gridLayout->addWidget(line_2, 6, 0, 1, 1);
121 cbCloseToTray->setObjectName(QString::fromUtf8(
"cbCloseToTray"));
123 gridLayout->addWidget(cbCloseToTray, 3, 0, 1, 1);
125 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
127 gridLayout->addItem(verticalSpacer, 11, 0, 1, 1);
130 cbInhibit->setObjectName(QString::fromUtf8(
"cbInhibit"));
132 gridLayout->addWidget(cbInhibit, 5, 0, 1, 1);
134 QWidget::setTabOrder(cbShowTrayIcon, cbStartInTray);
135 QWidget::setTabOrder(cbStartInTray, cbCloseToTray);
136 QWidget::setTabOrder(cbCloseToTray, cbUpdateNotifications);
137 QWidget::setTabOrder(cbUpdateNotifications, cbLogger);
146 cbShowTrayIcon->setText(QCoreApplication::translate(
"GUI_PlayerPreferences",
"Show system tray icon",
nullptr));
147 cbUpdateNotifications->setText(QCoreApplication::translate(
"GUI_PlayerPreferences",
"Update notifications",
nullptr));
148 cbStartInTray->setText(QCoreApplication::translate(
"GUI_PlayerPreferences",
"Start hidden",
nullptr));
149 cbCloseToTray->setText(QCoreApplication::translate(
"GUI_PlayerPreferences",
"Hide instead of close",
nullptr));
150 cbInhibit->setText(QCoreApplication::translate(
"GUI_PlayerPreferences",
"Inhibit shutdown/suspend during playback",
nullptr));
Definition: GUI_PlayerPreferences.h:30
Definition: ComboBox.h:31
Definition: ui_GUI_PlayerPreferences.h:157
Definition: ui_GUI_PlayerPreferences.h:27