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/QFrame> 16 #include <QtWidgets/QGridLayout> 17 #include <QtWidgets/QHBoxLayout> 18 #include <QtWidgets/QLabel> 19 #include <QtWidgets/QPushButton> 20 #include <QtWidgets/QRadioButton> 21 #include <QtWidgets/QSpinBox> 28 QGridLayout *gridLayout;
29 QRadioButton *rb_after_finished;
30 QPushButton *btn_cancel;
33 QRadioButton *rb_after_minutes;
36 QHBoxLayout *horizontalLayout;
40 void setupUi(QDialog *GUI_Shutdown)
42 if (GUI_Shutdown->objectName().isEmpty())
43 GUI_Shutdown->setObjectName(QStringLiteral(
"GUI_Shutdown"));
44 GUI_Shutdown->resize(394, 161);
45 gridLayout =
new QGridLayout(GUI_Shutdown);
46 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
47 rb_after_finished =
new QRadioButton(GUI_Shutdown);
48 rb_after_finished->setObjectName(QStringLiteral(
"rb_after_finished"));
49 rb_after_finished->setChecked(
true);
51 gridLayout->addWidget(rb_after_finished, 3, 0, 1, 4);
53 btn_cancel =
new QPushButton(GUI_Shutdown);
54 btn_cancel->setObjectName(QStringLiteral(
"btn_cancel"));
56 gridLayout->addWidget(btn_cancel, 5, 2, 1, 1);
58 btn_ok =
new QPushButton(GUI_Shutdown);
59 btn_ok->setObjectName(QStringLiteral(
"btn_ok"));
61 gridLayout->addWidget(btn_ok, 5, 3, 1, 1);
63 sb_minutes =
new QSpinBox(GUI_Shutdown);
64 sb_minutes->setObjectName(QStringLiteral(
"sb_minutes"));
65 sb_minutes->setEnabled(
false);
66 sb_minutes->setValue(30);
68 gridLayout->addWidget(sb_minutes, 4, 2, 1, 1);
70 rb_after_minutes =
new QRadioButton(GUI_Shutdown);
71 rb_after_minutes->setObjectName(QStringLiteral(
"rb_after_minutes"));
73 gridLayout->addWidget(rb_after_minutes, 4, 0, 1, 1);
75 label_2 =
new QLabel(GUI_Shutdown);
76 label_2->setObjectName(QStringLiteral(
"label_2"));
78 gridLayout->addWidget(label_2, 4, 3, 1, 1);
80 line =
new QFrame(GUI_Shutdown);
81 line->setObjectName(QStringLiteral(
"line"));
82 line->setFrameShape(QFrame::HLine);
83 line->setFrameShadow(QFrame::Sunken);
85 gridLayout->addWidget(line, 2, 0, 1, 4);
87 horizontalLayout =
new QHBoxLayout();
88 horizontalLayout->setSpacing(10);
89 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
90 lab_icon =
new QLabel(GUI_Shutdown);
91 lab_icon->setObjectName(QStringLiteral(
"lab_icon"));
92 lab_icon->setMaximumSize(QSize(30, 30));
93 lab_icon->setPixmap(QPixmap(QString::fromUtf8(
":/Icons/power_on.svg.png")));
94 lab_icon->setScaledContents(
true);
96 horizontalLayout->addWidget(lab_icon);
98 lab_title =
new QLabel(GUI_Shutdown);
99 lab_title->setObjectName(QStringLiteral(
"lab_title"));
101 font.setPointSize(11);
104 lab_title->setFont(font);
106 horizontalLayout->addWidget(lab_title);
109 gridLayout->addLayout(horizontalLayout, 1, 0, 1, 4);
112 retranslateUi(GUI_Shutdown);
114 QMetaObject::connectSlotsByName(GUI_Shutdown);
117 void retranslateUi(QDialog *GUI_Shutdown)
119 GUI_Shutdown->setWindowTitle(QApplication::translate(
"GUI_Shutdown",
"Shutdown",
nullptr));
120 rb_after_finished->setText(QApplication::translate(
"GUI_Shutdown",
"Shutdown after playlist finished",
nullptr));
121 btn_cancel->setText(QApplication::translate(
"GUI_Shutdown",
"Cancel",
nullptr));
122 btn_ok->setText(QApplication::translate(
"GUI_Shutdown",
"OK",
nullptr));
123 rb_after_minutes->setText(QApplication::translate(
"GUI_Shutdown",
"Shutdown after",
nullptr));
124 label_2->setText(QApplication::translate(
"GUI_Shutdown",
"minutes",
nullptr));
125 lab_icon->setText(QString());
126 lab_title->setText(QApplication::translate(
"GUI_Shutdown",
"Shutdown",
nullptr));
137 #endif // UI_GUI_SHUTDOWN_H Definition: ui_GUI_SomaFM.h:206
Definition: ui_GUI_Shutdown.h:25
Definition: ui_GUI_Shutdown.h:132