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