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