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.6.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  QHBoxLayout *horizontalLayout;
34  MenuToolButton *btn_tool;
35  QSpacerItem *horizontalSpacer;
36  QPushButton *btn_play;
37  QLabel *lab_listen;
38  QLineEdit *le_url;
39  QLabel *label_2;
40  QLabel *label;
41  QComboBox *combo_stream;
42 
43  void setupUi(PlayerPluginInterface *GUI_Stream)
44  {
45  if (GUI_Stream->objectName().isEmpty())
46  GUI_Stream->setObjectName(QStringLiteral("GUI_Stream"));
47  GUI_Stream->resize(285, 100);
48  gridLayout = new QGridLayout(GUI_Stream);
49  gridLayout->setObjectName(QStringLiteral("gridLayout"));
50  gridLayout->setVerticalSpacing(6);
51  gridLayout->setContentsMargins(-1, 5, -1, 5);
52  horizontalLayout = new QHBoxLayout();
53  horizontalLayout->setSpacing(6);
54  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
55  btn_tool = new MenuToolButton(GUI_Stream);
56  btn_tool->setObjectName(QStringLiteral("btn_tool"));
57 
58  horizontalLayout->addWidget(btn_tool);
59 
60  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
61 
62  horizontalLayout->addItem(horizontalSpacer);
63 
64  btn_play = new QPushButton(GUI_Stream);
65  btn_play->setObjectName(QStringLiteral("btn_play"));
66  btn_play->setMaximumSize(QSize(20, 16777215));
67  btn_play->setFocusPolicy(Qt::StrongFocus);
68  QIcon icon;
69  icon.addFile(QStringLiteral(":/Icons/play.svg.png"), QSize(), QIcon::Normal, QIcon::Off);
70  btn_play->setIcon(icon);
71  btn_play->setIconSize(QSize(18, 18));
72  btn_play->setFlat(true);
73 
74  horizontalLayout->addWidget(btn_play);
75 
76  lab_listen = new QLabel(GUI_Stream);
77  lab_listen->setObjectName(QStringLiteral("lab_listen"));
78 
79  horizontalLayout->addWidget(lab_listen);
80 
81 
82  gridLayout->addLayout(horizontalLayout, 3, 2, 1, 1);
83 
84  le_url = new QLineEdit(GUI_Stream);
85  le_url->setObjectName(QStringLiteral("le_url"));
86  le_url->setFocusPolicy(Qt::ClickFocus);
87 
88  gridLayout->addWidget(le_url, 2, 2, 1, 1);
89 
90  label_2 = new QLabel(GUI_Stream);
91  label_2->setObjectName(QStringLiteral("label_2"));
92  label_2->setFocusPolicy(Qt::StrongFocus);
93 
94  gridLayout->addWidget(label_2, 2, 1, 1, 1);
95 
96  label = new QLabel(GUI_Stream);
97  label->setObjectName(QStringLiteral("label"));
98  label->setFocusPolicy(Qt::StrongFocus);
99 
100  gridLayout->addWidget(label, 1, 1, 1, 1);
101 
102  combo_stream = new QComboBox(GUI_Stream);
103  combo_stream->setObjectName(QStringLiteral("combo_stream"));
104  combo_stream->setFocusPolicy(Qt::StrongFocus);
105  combo_stream->setEditable(true);
106 
107  gridLayout->addWidget(combo_stream, 1, 2, 1, 1);
108 
109 
110  retranslateUi(GUI_Stream);
111 
112  QMetaObject::connectSlotsByName(GUI_Stream);
113  } // setupUi
114 
115  void retranslateUi(PlayerPluginInterface *GUI_Stream)
116  {
117  btn_tool->setText(QApplication::translate("GUI_Stream", "Menu", 0));
118 #ifndef QT_NO_TOOLTIP
119  btn_play->setToolTip(QApplication::translate("GUI_Stream", "Start stream", 0));
120 #endif // QT_NO_TOOLTIP
121  btn_play->setText(QString());
122  lab_listen->setText(QApplication::translate("GUI_Stream", "Listen", 0));
123 #ifndef QT_NO_TOOLTIP
124  le_url->setToolTip(QApplication::translate("GUI_Stream", "Enter stream url", 0));
125 #endif // QT_NO_TOOLTIP
126  label_2->setText(QApplication::translate("GUI_Stream", "Url", 0));
127  label->setText(QApplication::translate("GUI_Stream", "Name", 0));
128 #ifndef QT_NO_TOOLTIP
129  combo_stream->setToolTip(QApplication::translate("GUI_Stream", "Type name you want to save the stream as", 0));
130 #endif // QT_NO_TOOLTIP
131  Q_UNUSED(GUI_Stream);
132  } // retranslateUi
133 
134 };
135 
136 namespace Ui {
137  class GUI_Stream: public Ui_GUI_Stream {};
138 } // namespace Ui
139 
140 QT_END_NAMESPACE
141 
142 #endif // UI_GUI_STREAM_H
Definition: ui_GUI_SomaFM.h:217
Definition: GUI_Stream.h:32
Interface for PlayerPlugin classes. get_name() and language_changed() must be overwritten.
Definition: PlayerPlugin.h:49
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:41
Definition: ui_GUI_Stream.h:137
Definition: ui_GUI_Stream.h:29