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.0
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/QFrame>
19 #include <QtWidgets/QGridLayout>
20 #include <QtWidgets/QHBoxLayout>
21 #include <QtWidgets/QHeaderView>
22 #include <QtWidgets/QLabel>
23 #include <QtWidgets/QLineEdit>
24 #include <QtWidgets/QPushButton>
25 #include <QtWidgets/QSpacerItem>
26 #include "Interfaces/PlayerPlugin/PlayerPlugin.h"
27 
28 QT_BEGIN_NAMESPACE
29 
31 {
32 public:
33  QGridLayout *gridLayout;
34  QLabel *label_2;
35  QComboBox *combo_stream;
36  QHBoxLayout *horizontalLayout_2;
37  QLabel *lab_title;
38  QPushButton *btn_close;
39  QLabel *label;
40  QHBoxLayout *horizontalLayout;
41  MenuToolButton *btn_tool;
42  QSpacerItem *horizontalSpacer;
43  QPushButton *btn_play;
44  QLabel *lab_listen;
45  QLineEdit *le_url;
46  QFrame *line;
47  QFrame *line_2;
48 
49  void setupUi(PlayerPluginInterface *GUI_Stream)
50  {
51  if (GUI_Stream->objectName().isEmpty())
52  GUI_Stream->setObjectName(QStringLiteral("GUI_Stream"));
53  GUI_Stream->resize(422, 147);
54  GUI_Stream->setMinimumSize(QSize(0, 147));
55  gridLayout = new QGridLayout(GUI_Stream);
56  gridLayout->setObjectName(QStringLiteral("gridLayout"));
57  gridLayout->setVerticalSpacing(6);
58  gridLayout->setContentsMargins(-1, 5, -1, 0);
59  label_2 = new QLabel(GUI_Stream);
60  label_2->setObjectName(QStringLiteral("label_2"));
61  label_2->setFocusPolicy(Qt::StrongFocus);
62 
63  gridLayout->addWidget(label_2, 3, 0, 1, 1);
64 
65  combo_stream = new QComboBox(GUI_Stream);
66  combo_stream->setObjectName(QStringLiteral("combo_stream"));
67  combo_stream->setFocusPolicy(Qt::ClickFocus);
68  combo_stream->setEditable(true);
69  combo_stream->setSizeAdjustPolicy(QComboBox::AdjustToMinimumContentsLength);
70  combo_stream->setMinimumContentsLength(4);
71 
72  gridLayout->addWidget(combo_stream, 2, 1, 1, 2);
73 
74  horizontalLayout_2 = new QHBoxLayout();
75  horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
76  lab_title = new QLabel(GUI_Stream);
77  lab_title->setObjectName(QStringLiteral("lab_title"));
78  QFont font;
79  font.setPointSize(11);
80  font.setBold(true);
81  font.setWeight(75);
82  lab_title->setFont(font);
83  lab_title->setFocusPolicy(Qt::StrongFocus);
84 
85  horizontalLayout_2->addWidget(lab_title);
86 
87  btn_close = new QPushButton(GUI_Stream);
88  btn_close->setObjectName(QStringLiteral("btn_close"));
89  QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
90  sizePolicy.setHorizontalStretch(0);
91  sizePolicy.setVerticalStretch(0);
92  sizePolicy.setHeightForWidth(btn_close->sizePolicy().hasHeightForWidth());
93  btn_close->setSizePolicy(sizePolicy);
94  btn_close->setMinimumSize(QSize(24, 24));
95  btn_close->setMaximumSize(QSize(24, 24));
96  btn_close->setFocusPolicy(Qt::StrongFocus);
97  btn_close->setIconSize(QSize(16, 16));
98  btn_close->setFlat(true);
99 
100  horizontalLayout_2->addWidget(btn_close);
101 
102 
103  gridLayout->addLayout(horizontalLayout_2, 0, 0, 1, 3);
104 
105  label = new QLabel(GUI_Stream);
106  label->setObjectName(QStringLiteral("label"));
107  label->setMaximumSize(QSize(50, 16777215));
108  label->setFocusPolicy(Qt::StrongFocus);
109 
110  gridLayout->addWidget(label, 2, 0, 1, 1);
111 
112  horizontalLayout = new QHBoxLayout();
113  horizontalLayout->setSpacing(6);
114  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
115  btn_tool = new MenuToolButton(GUI_Stream);
116  btn_tool->setObjectName(QStringLiteral("btn_tool"));
117 
118  horizontalLayout->addWidget(btn_tool);
119 
120  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
121 
122  horizontalLayout->addItem(horizontalSpacer);
123 
124  btn_play = new QPushButton(GUI_Stream);
125  btn_play->setObjectName(QStringLiteral("btn_play"));
126  btn_play->setFocusPolicy(Qt::StrongFocus);
127  QIcon icon;
128  icon.addFile(QStringLiteral(":/Icons/play.svg.png"), QSize(), QIcon::Normal, QIcon::Off);
129  btn_play->setIcon(icon);
130  btn_play->setIconSize(QSize(18, 18));
131  btn_play->setFlat(true);
132 
133  horizontalLayout->addWidget(btn_play);
134 
135  lab_listen = new QLabel(GUI_Stream);
136  lab_listen->setObjectName(QStringLiteral("lab_listen"));
137 
138  horizontalLayout->addWidget(lab_listen);
139 
140 
141  gridLayout->addLayout(horizontalLayout, 4, 1, 2, 2);
142 
143  le_url = new QLineEdit(GUI_Stream);
144  le_url->setObjectName(QStringLiteral("le_url"));
145  le_url->setFocusPolicy(Qt::ClickFocus);
146 
147  gridLayout->addWidget(le_url, 3, 1, 1, 2);
148 
149  line = new QFrame(GUI_Stream);
150  line->setObjectName(QStringLiteral("line"));
151  line->setFocusPolicy(Qt::StrongFocus);
152  line->setFrameShape(QFrame::HLine);
153  line->setFrameShadow(QFrame::Sunken);
154 
155  gridLayout->addWidget(line, 6, 0, 1, 3);
156 
157  line_2 = new QFrame(GUI_Stream);
158  line_2->setObjectName(QStringLiteral("line_2"));
159  line_2->setFrameShape(QFrame::HLine);
160  line_2->setFrameShadow(QFrame::Sunken);
161 
162  gridLayout->addWidget(line_2, 1, 0, 1, 3);
163 
164 
165  retranslateUi(GUI_Stream);
166  QObject::connect(btn_close, SIGNAL(clicked()), GUI_Stream, SLOT(close()));
167 
168  QMetaObject::connectSlotsByName(GUI_Stream);
169  } // setupUi
170 
171  void retranslateUi(PlayerPluginInterface *GUI_Stream)
172  {
173  label_2->setText(QApplication::translate("GUI_Stream", "Url", 0));
174 #ifndef QT_NO_TOOLTIP
175  combo_stream->setToolTip(QApplication::translate("GUI_Stream", "Type name you want to save the stream as", 0));
176 #endif // QT_NO_TOOLTIP
177  lab_title->setText(QString());
178  btn_close->setText(QString());
179  label->setText(QApplication::translate("GUI_Stream", "Name", 0));
180  btn_tool->setText(QApplication::translate("GUI_Stream", "Actions", 0));
181 #ifndef QT_NO_TOOLTIP
182  btn_play->setToolTip(QApplication::translate("GUI_Stream", "Start stream", 0));
183 #endif // QT_NO_TOOLTIP
184  btn_play->setText(QString());
185  lab_listen->setText(QApplication::translate("GUI_Stream", "Listen", 0));
186 #ifndef QT_NO_TOOLTIP
187  le_url->setToolTip(QApplication::translate("GUI_Stream", "Enter stream url", 0));
188 #endif // QT_NO_TOOLTIP
189  Q_UNUSED(GUI_Stream);
190  } // retranslateUi
191 
192 };
193 
194 namespace Ui {
195  class GUI_Stream: public Ui_GUI_Stream {};
196 } // namespace Ui
197 
198 QT_END_NAMESPACE
199 
200 #endif // UI_GUI_STREAM_H
Definition: ui_GUI_SomaFM.h:200
Definition: GUI_Stream.h:32
Interface for PlayerPlugin classes. get_name() and language_changed() must be overwritten.
Definition: PlayerPlugin.h:48
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:195
Definition: ui_GUI_Stream.h:30