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 QCheckBox *cbCloseToTray;
31 QHBoxLayout *horizontalLayout;
34 QCheckBox *cbStartInTray;
35 QWidget *widgetWarning;
36 QVBoxLayout *verticalLayout;
37 QLabel *labWarningHeader;
40 QCheckBox *cbUpdateNotifications;
41 QCheckBox *cbShowTrayIcon;
43 QSpacerItem *verticalSpacer;
51 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
53 cbCloseToTray->setObjectName(QString::fromUtf8(
"cbCloseToTray"));
55 gridLayout->addWidget(cbCloseToTray, 3, 0, 1, 1);
57 horizontalLayout =
new QHBoxLayout();
58 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
60 labLogger->setObjectName(QString::fromUtf8(
"labLogger"));
61 labLogger->setText(QString::fromUtf8(
"Logger"));
63 horizontalLayout->addWidget(labLogger);
66 cbLogger->setObjectName(QString::fromUtf8(
"cbLogger"));
68 horizontalLayout->addWidget(cbLogger);
71 gridLayout->addLayout(horizontalLayout, 9, 0, 1, 1);
74 cbStartInTray->setObjectName(QString::fromUtf8(
"cbStartInTray"));
76 gridLayout->addWidget(cbStartInTray, 1, 0, 1, 1);
79 widgetWarning->setObjectName(QString::fromUtf8(
"widgetWarning"));
80 verticalLayout =
new QVBoxLayout(widgetWarning);
81 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
82 verticalLayout->setContentsMargins(0, 0, 0, 0);
83 labWarningHeader =
new QLabel(widgetWarning);
84 labWarningHeader->setObjectName(QString::fromUtf8(
"labWarningHeader"));
85 labWarningHeader->setText(QString::fromUtf8(
""));
87 verticalLayout->addWidget(labWarningHeader);
89 labWarning =
new QLabel(widgetWarning);
90 labWarning->setObjectName(QString::fromUtf8(
"labWarning"));
91 labWarning->setStyleSheet(QString::fromUtf8(
"color: red;"));
92 labWarning->setText(QString::fromUtf8(
""));
93 labWarning->setWordWrap(
true);
95 verticalLayout->addWidget(labWarning);
97 line =
new QFrame(widgetWarning);
98 line->setObjectName(QString::fromUtf8(
"line"));
99 line->setFrameShape(QFrame::HLine);
100 line->setFrameShadow(QFrame::Sunken);
102 verticalLayout->addWidget(line);
105 gridLayout->addWidget(widgetWarning, 6, 0, 1, 1);
108 cbUpdateNotifications->setObjectName(QString::fromUtf8(
"cbUpdateNotifications"));
110 gridLayout->addWidget(cbUpdateNotifications, 4, 0, 1, 1);
113 cbShowTrayIcon->setObjectName(QString::fromUtf8(
"cbShowTrayIcon"));
115 gridLayout->addWidget(cbShowTrayIcon, 0, 0, 1, 1);
118 line_2->setObjectName(QString::fromUtf8(
"line_2"));
119 line_2->setFrameShape(QFrame::HLine);
120 line_2->setFrameShadow(QFrame::Sunken);
122 gridLayout->addWidget(line_2, 5, 0, 1, 1);
124 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
126 gridLayout->addItem(verticalSpacer, 10, 0, 1, 1);
128 QWidget::setTabOrder(cbShowTrayIcon, cbStartInTray);
129 QWidget::setTabOrder(cbStartInTray, cbCloseToTray);
130 QWidget::setTabOrder(cbCloseToTray, cbUpdateNotifications);
131 QWidget::setTabOrder(cbUpdateNotifications, cbLogger);
140 cbCloseToTray->setText(QCoreApplication::translate(
"GUI_PlayerPreferences",
"Hide instead of close",
nullptr));
141 cbStartInTray->setText(QCoreApplication::translate(
"GUI_PlayerPreferences",
"Start hidden",
nullptr));
142 cbUpdateNotifications->setText(QCoreApplication::translate(
"GUI_PlayerPreferences",
"Update notifications",
nullptr));
143 cbShowTrayIcon->setText(QCoreApplication::translate(
"GUI_PlayerPreferences",
"Show system tray icon",
nullptr));
Definition: GUI_PlayerPreferences.h:30
Definition: ComboBox.h:31
Definition: ui_GUI_PlayerPreferences.h:150
Definition: ui_GUI_PlayerPreferences.h:27