9 #ifndef UI_GUI_SHUTDOWN_H 10 #define UI_GUI_SHUTDOWN_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QDialog> 17 #include <QtWidgets/QFrame> 18 #include <QtWidgets/QGridLayout> 19 #include <QtWidgets/QHBoxLayout> 20 #include <QtWidgets/QHeaderView> 21 #include <QtWidgets/QLabel> 22 #include <QtWidgets/QPushButton> 23 #include <QtWidgets/QRadioButton> 24 #include <QtWidgets/QSpinBox> 31 QGridLayout *gridLayout;
32 QRadioButton *rb_after_finished;
33 QPushButton *btn_cancel;
36 QRadioButton *rb_after_minutes;
39 QHBoxLayout *horizontalLayout;
43 void setupUi(QDialog *GUI_Shutdown)
45 if (GUI_Shutdown->objectName().isEmpty())
46 GUI_Shutdown->setObjectName(QStringLiteral(
"GUI_Shutdown"));
47 GUI_Shutdown->resize(394, 161);
48 gridLayout =
new QGridLayout(GUI_Shutdown);
49 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
50 rb_after_finished =
new QRadioButton(GUI_Shutdown);
51 rb_after_finished->setObjectName(QStringLiteral(
"rb_after_finished"));
52 rb_after_finished->setChecked(
true);
54 gridLayout->addWidget(rb_after_finished, 3, 0, 1, 4);
56 btn_cancel =
new QPushButton(GUI_Shutdown);
57 btn_cancel->setObjectName(QStringLiteral(
"btn_cancel"));
59 gridLayout->addWidget(btn_cancel, 5, 2, 1, 1);
61 btn_ok =
new QPushButton(GUI_Shutdown);
62 btn_ok->setObjectName(QStringLiteral(
"btn_ok"));
64 gridLayout->addWidget(btn_ok, 5, 3, 1, 1);
66 sb_minutes =
new QSpinBox(GUI_Shutdown);
67 sb_minutes->setObjectName(QStringLiteral(
"sb_minutes"));
68 sb_minutes->setEnabled(
false);
69 sb_minutes->setValue(30);
71 gridLayout->addWidget(sb_minutes, 4, 2, 1, 1);
73 rb_after_minutes =
new QRadioButton(GUI_Shutdown);
74 rb_after_minutes->setObjectName(QStringLiteral(
"rb_after_minutes"));
76 gridLayout->addWidget(rb_after_minutes, 4, 0, 1, 1);
78 label_2 =
new QLabel(GUI_Shutdown);
79 label_2->setObjectName(QStringLiteral(
"label_2"));
81 gridLayout->addWidget(label_2, 4, 3, 1, 1);
83 line =
new QFrame(GUI_Shutdown);
84 line->setObjectName(QStringLiteral(
"line"));
85 line->setFrameShape(QFrame::HLine);
86 line->setFrameShadow(QFrame::Sunken);
88 gridLayout->addWidget(line, 2, 0, 1, 4);
90 horizontalLayout =
new QHBoxLayout();
91 horizontalLayout->setSpacing(10);
92 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
93 label_3 =
new QLabel(GUI_Shutdown);
94 label_3->setObjectName(QStringLiteral(
"label_3"));
95 label_3->setMaximumSize(QSize(30, 30));
96 label_3->setPixmap(QPixmap(QString::fromUtf8(
":/Icons/power_on.svg.png")));
97 label_3->setScaledContents(
true);
99 horizontalLayout->addWidget(label_3);
101 lab_title =
new QLabel(GUI_Shutdown);
102 lab_title->setObjectName(QStringLiteral(
"lab_title"));
104 font.setPointSize(11);
107 lab_title->setFont(font);
109 horizontalLayout->addWidget(lab_title);
112 gridLayout->addLayout(horizontalLayout, 1, 0, 1, 4);
115 retranslateUi(GUI_Shutdown);
117 QMetaObject::connectSlotsByName(GUI_Shutdown);
120 void retranslateUi(QDialog *GUI_Shutdown)
122 GUI_Shutdown->setWindowTitle(QApplication::translate(
"GUI_Shutdown",
"Shutdown", Q_NULLPTR));
123 rb_after_finished->setText(QApplication::translate(
"GUI_Shutdown",
"Shutdown after playlist finished", Q_NULLPTR));
124 btn_cancel->setText(QApplication::translate(
"GUI_Shutdown",
"Cancel", Q_NULLPTR));
125 btn_ok->setText(QApplication::translate(
"GUI_Shutdown",
"OK", Q_NULLPTR));
126 rb_after_minutes->setText(QApplication::translate(
"GUI_Shutdown",
"Shutdown after", Q_NULLPTR));
127 label_2->setText(QApplication::translate(
"GUI_Shutdown",
"minutes", Q_NULLPTR));
128 label_3->setText(QString());
129 lab_title->setText(QApplication::translate(
"GUI_Shutdown",
"Shutdown", Q_NULLPTR));
140 #endif // UI_GUI_SHUTDOWN_H Definition: ui_GUI_SomaFM.h:217
Definition: ui_GUI_Shutdown.h:28
Definition: ui_GUI_Shutdown.h:135