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