9#ifndef UI_GUI_SHUTDOWN_H
10#define UI_GUI_SHUTDOWN_H
12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QDialog>
15#include <QtWidgets/QDialogButtonBox>
16#include <QtWidgets/QFrame>
17#include <QtWidgets/QGridLayout>
18#include <QtWidgets/QHBoxLayout>
19#include <QtWidgets/QLabel>
20#include <QtWidgets/QRadioButton>
21#include <QtWidgets/QSpinBox>
28 QGridLayout *gridLayout;
29 QHBoxLayout *horizontalLayout;
34 QRadioButton *rb_after_finished;
37 QRadioButton *rb_after_minutes;
38 QDialogButtonBox *buttonBox;
40 void setupUi(QDialog *GUI_Shutdown)
42 if (GUI_Shutdown->objectName().isEmpty())
43 GUI_Shutdown->setObjectName(QString::fromUtf8(
"GUI_Shutdown"));
44 GUI_Shutdown->resize(383, 184);
45 gridLayout =
new QGridLayout(GUI_Shutdown);
46 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
47 horizontalLayout =
new QHBoxLayout();
48 horizontalLayout->setSpacing(15);
49 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
50 lab_icon =
new QLabel(GUI_Shutdown);
51 lab_icon->setObjectName(QString::fromUtf8(
"lab_icon"));
52 lab_icon->setStyleSheet(QString::fromUtf8(
"min-width: 6ex; max-width: 6ex; min-height: 6ex; max-height: 6ex;"));
53 lab_icon->setScaledContents(
true);
55 horizontalLayout->addWidget(lab_icon);
57 lab_title =
new QLabel(GUI_Shutdown);
58 lab_title->setObjectName(QString::fromUtf8(
"lab_title"));
60 font.setPointSize(11);
63 lab_title->setFont(font);
65 horizontalLayout->addWidget(lab_title);
68 gridLayout->addLayout(horizontalLayout, 1, 0, 1, 4);
70 line =
new QFrame(GUI_Shutdown);
71 line->setObjectName(QString::fromUtf8(
"line"));
72 line->setFrameShape(QFrame::HLine);
73 line->setFrameShadow(QFrame::Sunken);
75 gridLayout->addWidget(line, 2, 0, 1, 4);
77 sb_minutes =
new QSpinBox(GUI_Shutdown);
78 sb_minutes->setObjectName(QString::fromUtf8(
"sb_minutes"));
79 sb_minutes->setEnabled(
false);
80 sb_minutes->setValue(30);
82 gridLayout->addWidget(sb_minutes, 4, 2, 1, 1);
84 rb_after_finished =
new QRadioButton(GUI_Shutdown);
85 rb_after_finished->setObjectName(QString::fromUtf8(
"rb_after_finished"));
86 rb_after_finished->setChecked(
true);
88 gridLayout->addWidget(rb_after_finished, 3, 0, 1, 4);
90 line_2 =
new QFrame(GUI_Shutdown);
91 line_2->setObjectName(QString::fromUtf8(
"line_2"));
92 line_2->setFrameShape(QFrame::HLine);
93 line_2->setFrameShadow(QFrame::Sunken);
95 gridLayout->addWidget(line_2, 5, 0, 1, 4);
97 label_2 =
new QLabel(GUI_Shutdown);
98 label_2->setObjectName(QString::fromUtf8(
"label_2"));
100 gridLayout->addWidget(label_2, 4, 3, 1, 1);
102 rb_after_minutes =
new QRadioButton(GUI_Shutdown);
103 rb_after_minutes->setObjectName(QString::fromUtf8(
"rb_after_minutes"));
105 gridLayout->addWidget(rb_after_minutes, 4, 0, 1, 1);
107 buttonBox =
new QDialogButtonBox(GUI_Shutdown);
108 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
109 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
111 gridLayout->addWidget(buttonBox, 6, 0, 1, 4);
113 QWidget::setTabOrder(rb_after_finished, rb_after_minutes);
114 QWidget::setTabOrder(rb_after_minutes, sb_minutes);
116 retranslateUi(GUI_Shutdown);
118 QMetaObject::connectSlotsByName(GUI_Shutdown);
121 void retranslateUi(QDialog *GUI_Shutdown)
123 GUI_Shutdown->setWindowTitle(QCoreApplication::translate(
"GUI_Shutdown",
"Shutdown",
nullptr));
124 lab_icon->setText(QString());
125 lab_title->setText(QCoreApplication::translate(
"GUI_Shutdown",
"Shutdown",
nullptr));
126 rb_after_finished->setText(QCoreApplication::translate(
"GUI_Shutdown",
"Shutdown after playlist finished",
nullptr));
127 label_2->setText(QCoreApplication::translate(
"GUI_Shutdown",
"minutes",
nullptr));
128 rb_after_minutes->setText(QCoreApplication::translate(
"GUI_Shutdown",
"Shutdown after",
nullptr));
Definition: ui_GUI_Shutdown.h:134
Definition: ui_GUI_Shutdown.h:26