Sayonara Player
ui_GUI_Stream.h
1 /********************************************************************************
2 ** Form generated from reading UI file 'GUI_Stream.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.7.1
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_GUI_STREAM_H
10 #define UI_GUI_STREAM_H
11 
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"
26 
27 QT_BEGIN_NAMESPACE
28 
30 {
31 public:
32  QGridLayout *gridLayout;
33  QComboBox *combo_stream;
34  QLineEdit *le_url;
35  QHBoxLayout *horizontalLayout;
36  MenuToolButton *btn_tool;
37  QSpacerItem *horizontalSpacer;
38  QPushButton *btn_play;
39  QLabel *lab_listen;
40 
41  void setupUi(PlayerPluginInterface *GUI_Stream)
42  {
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);
52 
53  gridLayout->addWidget(combo_stream, 1, 0, 1, 2);
54 
55  le_url = new QLineEdit(GUI_Stream);
56  le_url->setObjectName(QStringLiteral("le_url"));
57  le_url->setFocusPolicy(Qt::ClickFocus);
58 
59  gridLayout->addWidget(le_url, 2, 0, 1, 2);
60 
61  horizontalLayout = new QHBoxLayout();
62  horizontalLayout->setSpacing(6);
63  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
64  btn_tool = new MenuToolButton(GUI_Stream);
65  btn_tool->setObjectName(QStringLiteral("btn_tool"));
66  btn_tool->setText(QStringLiteral("Menu"));
67 
68  horizontalLayout->addWidget(btn_tool);
69 
70  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
71 
72  horizontalLayout->addItem(horizontalSpacer);
73 
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);
78  QIcon icon;
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);
83 
84  horizontalLayout->addWidget(btn_play);
85 
86  lab_listen = new QLabel(GUI_Stream);
87  lab_listen->setObjectName(QStringLiteral("lab_listen"));
88  lab_listen->setText(QStringLiteral("Listen"));
89 
90  horizontalLayout->addWidget(lab_listen);
91 
92 
93  gridLayout->addLayout(horizontalLayout, 3, 0, 1, 2);
94 
95 
96  retranslateUi(GUI_Stream);
97 
98  QMetaObject::connectSlotsByName(GUI_Stream);
99  } // setupUi
100 
101  void retranslateUi(PlayerPluginInterface *GUI_Stream)
102  {
103 #ifndef QT_NO_TOOLTIP
104  btn_play->setToolTip(QApplication::translate("GUI_Stream", "Start stream", Q_NULLPTR));
105 #endif // QT_NO_TOOLTIP
106  btn_play->setText(QString());
107  Q_UNUSED(GUI_Stream);
108  } // retranslateUi
109 
110 };
111 
112 namespace Ui {
113  class GUI_Stream: public Ui_GUI_Stream {};
114 } // namespace Ui
115 
116 QT_END_NAMESPACE
117 
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
This is the little button you often see near comboboxes It opens up a menu when clicked. The actions in the menu a configurable.
Definition: MenuTool.h:32
Definition: ui_GUI_Stream.h:113
Definition: ui_GUI_Stream.h:29