9 #ifndef UI_GUI_NOTIFICATIONS_H
10 #define UI_GUI_NOTIFICATIONS_H
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QCheckBox>
17 #include <QtWidgets/QComboBox>
18 #include <QtWidgets/QGridLayout>
19 #include <QtWidgets/QHeaderView>
20 #include <QtWidgets/QLabel>
21 #include <QtWidgets/QSpinBox>
22 #include <QtWidgets/QWidget>
29 QGridLayout *gridLayout;
31 QCheckBox *cb_activate;
32 QComboBox *combo_notification;
37 if (GUI_Notifications->objectName().isEmpty())
38 GUI_Notifications->setObjectName(QStringLiteral(
"GUI_Notifications"));
39 GUI_Notifications->resize(400, 175);
40 gridLayout =
new QGridLayout(GUI_Notifications);
41 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
42 label_3 =
new QLabel(GUI_Notifications);
43 label_3->setObjectName(QStringLiteral(
"label_3"));
45 gridLayout->addWidget(label_3, 2, 0, 1, 1);
47 cb_activate =
new QCheckBox(GUI_Notifications);
48 cb_activate->setObjectName(QStringLiteral(
"cb_activate"));
49 cb_activate->setFocusPolicy(Qt::StrongFocus);
51 gridLayout->addWidget(cb_activate, 0, 0, 1, 2);
53 combo_notification =
new QComboBox(GUI_Notifications);
54 combo_notification->setObjectName(QStringLiteral(
"combo_notification"));
55 combo_notification->setFocusPolicy(Qt::StrongFocus);
57 gridLayout->addWidget(combo_notification, 1, 0, 1, 2);
59 sb_timeout =
new QSpinBox(GUI_Notifications);
60 sb_timeout->setObjectName(QStringLiteral(
"sb_timeout"));
61 sb_timeout->setFocusPolicy(Qt::WheelFocus);
62 sb_timeout->setMinimum(1000);
63 sb_timeout->setMaximum(60000);
64 sb_timeout->setSingleStep(1000);
65 sb_timeout->setValue(5000);
67 gridLayout->addWidget(sb_timeout, 2, 1, 1, 1);
70 retranslateUi(GUI_Notifications);
72 QMetaObject::connectSlotsByName(GUI_Notifications);
75 void retranslateUi(QWidget *GUI_Notifications)
77 label_3->setText(QApplication::translate(
"GUI_Notifications",
"Timeout (ms)", 0));
78 cb_activate->setText(QApplication::translate(
"GUI_Notifications",
"Activate", 0));
79 combo_notification->clear();
80 combo_notification->insertItems(0, QStringList()
81 << QApplication::translate(
"GUI_Notifications",
"Standard", 0)
83 Q_UNUSED(GUI_Notifications);
94 #endif // UI_GUI_NOTIFICATIONS_H
Definition: ui_GUI_SomaFM.h:200
Definition: ui_GUI_Notifications.h:89
Definition: GUI_Notifications.h:31
Definition: ui_GUI_Notifications.h:26