9 #ifndef UI_GUI_STREAM_H 10 #define UI_GUI_STREAM_H 12 #include <GUI/Helper/MenuTool/MenuTool.h> 13 #include <QtCore/QVariant> 14 #include <QtWidgets/QAction> 15 #include <QtWidgets/QApplication> 16 #include <QtWidgets/QButtonGroup> 17 #include <QtWidgets/QComboBox> 18 #include <QtWidgets/QGridLayout> 19 #include <QtWidgets/QHBoxLayout> 20 #include <QtWidgets/QHeaderView> 21 #include <QtWidgets/QLabel> 22 #include <QtWidgets/QLineEdit> 23 #include <QtWidgets/QPushButton> 24 #include <QtWidgets/QSpacerItem> 25 #include "Interfaces/PlayerPlugin/PlayerPlugin.h" 32 QGridLayout *gridLayout;
33 QComboBox *combo_stream;
35 QHBoxLayout *horizontalLayout;
37 QSpacerItem *horizontalSpacer;
38 QPushButton *btn_play;
43 if (GUI_Stream->objectName().isEmpty())
44 GUI_Stream->setObjectName(QStringLiteral(
"GUI_Stream"));
45 GUI_Stream->resize(285, 95);
46 gridLayout =
new QGridLayout(GUI_Stream);
47 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
48 combo_stream =
new QComboBox(GUI_Stream);
49 combo_stream->setObjectName(QStringLiteral(
"combo_stream"));
50 combo_stream->setFocusPolicy(Qt::StrongFocus);
51 combo_stream->setEditable(
true);
53 gridLayout->addWidget(combo_stream, 1, 0, 1, 2);
55 le_url =
new QLineEdit(GUI_Stream);
56 le_url->setObjectName(QStringLiteral(
"le_url"));
57 le_url->setFocusPolicy(Qt::ClickFocus);
59 gridLayout->addWidget(le_url, 2, 0, 1, 2);
61 horizontalLayout =
new QHBoxLayout();
62 horizontalLayout->setSpacing(6);
63 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
65 btn_tool->setObjectName(QStringLiteral(
"btn_tool"));
66 btn_tool->setText(QStringLiteral(
"Menu"));
68 horizontalLayout->addWidget(btn_tool);
70 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
72 horizontalLayout->addItem(horizontalSpacer);
74 btn_play =
new QPushButton(GUI_Stream);
75 btn_play->setObjectName(QStringLiteral(
"btn_play"));
76 btn_play->setMaximumSize(QSize(20, 16777215));
77 btn_play->setFocusPolicy(Qt::StrongFocus);
79 icon.addFile(QStringLiteral(
":/Icons/play.svg.png"), QSize(), QIcon::Normal, QIcon::Off);
80 btn_play->setIcon(icon);
81 btn_play->setIconSize(QSize(18, 18));
82 btn_play->setFlat(
true);
84 horizontalLayout->addWidget(btn_play);
86 lab_listen =
new QLabel(GUI_Stream);
87 lab_listen->setObjectName(QStringLiteral(
"lab_listen"));
88 lab_listen->setText(QStringLiteral(
"Listen"));
90 horizontalLayout->addWidget(lab_listen);
93 gridLayout->addLayout(horizontalLayout, 3, 0, 1, 2);
96 retranslateUi(GUI_Stream);
98 QMetaObject::connectSlotsByName(GUI_Stream);
103 #ifndef QT_NO_TOOLTIP 104 btn_play->setToolTip(QApplication::translate(
"GUI_Stream",
"Start stream", 0));
105 #endif // QT_NO_TOOLTIP 106 btn_play->setText(QString());
107 Q_UNUSED(GUI_Stream);
118 #endif // UI_GUI_STREAM_H Definition: GUI_SomaFM.h:34
Definition: GUI_Stream.h:28
Interface for PlayerPlugin classes. get_name() and language_changed() must be overwritten.
Definition: PlayerPlugin.h:38
Definition: ui_GUI_Stream.h:113
Definition: ui_GUI_Stream.h:29