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.11.1
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/Utils/MenuTool/MenuTool.h>
13 #include <QtCore/QVariant>
14 #include <QtGui/QIcon>
15 #include <QtWidgets/QApplication>
16 #include <QtWidgets/QGridLayout>
17 #include <QtWidgets/QHBoxLayout>
18 #include <QtWidgets/QLabel>
19 #include <QtWidgets/QLineEdit>
20 #include <QtWidgets/QPushButton>
21 #include <QtWidgets/QSpacerItem>
22 #include "GUI/Utils/Widgets/ComboBox.h"
23 #include "Interfaces/PlayerPlugin/PlayerPluginBase.h"
24 
25 QT_BEGIN_NAMESPACE
26 
28 {
29 public:
30  QGridLayout *gridLayout;
31  Gui::ComboBox *combo_stream;
32  QLineEdit *le_url;
33  QHBoxLayout *horizontalLayout;
34  MenuToolButton *btn_tool;
35  QSpacerItem *horizontalSpacer;
36  QPushButton *btn_play;
37  QLabel *lab_listen;
38 
39  void setupUi(PlayerPlugin::Base *GUI_Podcasts)
40  {
41  if (GUI_Podcasts->objectName().isEmpty())
42  GUI_Podcasts->setObjectName(QStringLiteral("GUI_Podcasts"));
43  GUI_Podcasts->resize(320, 98);
44  gridLayout = new QGridLayout(GUI_Podcasts);
45  gridLayout->setObjectName(QStringLiteral("gridLayout"));
46  gridLayout->setVerticalSpacing(6);
47  gridLayout->setContentsMargins(-1, 5, -1, 5);
48  combo_stream = new Gui::ComboBox(GUI_Podcasts);
49  combo_stream->setObjectName(QStringLiteral("combo_stream"));
50  combo_stream->setFocusPolicy(Qt::StrongFocus);
51  combo_stream->setEditable(true);
52 
53  gridLayout->addWidget(combo_stream, 1, 0, 1, 2);
54 
55  le_url = new QLineEdit(GUI_Podcasts);
56  le_url->setObjectName(QStringLiteral("le_url"));
57  le_url->setFocusPolicy(Qt::ClickFocus);
58 
59  gridLayout->addWidget(le_url, 2, 0, 1, 2);
60 
61  horizontalLayout = new QHBoxLayout();
62  horizontalLayout->setSpacing(6);
63  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
64  btn_tool = new MenuToolButton(GUI_Podcasts);
65  btn_tool->setObjectName(QStringLiteral("btn_tool"));
66  btn_tool->setText(QStringLiteral("Menu"));
67 
68  horizontalLayout->addWidget(btn_tool);
69 
70  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
71 
72  horizontalLayout->addItem(horizontalSpacer);
73 
74  btn_play = new QPushButton(GUI_Podcasts);
75  btn_play->setObjectName(QStringLiteral("btn_play"));
76  btn_play->setMaximumSize(QSize(20, 16777215));
77  btn_play->setFocusPolicy(Qt::StrongFocus);
78  QIcon icon;
79  icon.addFile(QStringLiteral(":/Icons/play.svg.png"), QSize(), QIcon::Normal, QIcon::Off);
80  btn_play->setIcon(icon);
81  btn_play->setIconSize(QSize(18, 18));
82  btn_play->setFlat(true);
83 
84  horizontalLayout->addWidget(btn_play);
85 
86  lab_listen = new QLabel(GUI_Podcasts);
87  lab_listen->setObjectName(QStringLiteral("lab_listen"));
88  lab_listen->setText(QStringLiteral("Listen"));
89 
90  horizontalLayout->addWidget(lab_listen);
91 
92 
93  gridLayout->addLayout(horizontalLayout, 3, 0, 1, 2);
94 
95 
96  retranslateUi(GUI_Podcasts);
97 
98  QMetaObject::connectSlotsByName(GUI_Podcasts);
99  } // setupUi
100 
101  void retranslateUi(PlayerPlugin::Base *GUI_Podcasts)
102  {
103 #ifndef QT_NO_TOOLTIP
104  btn_play->setToolTip(QApplication::translate("GUI_Podcasts", "Start stream", nullptr));
105 #endif // QT_NO_TOOLTIP
106  btn_play->setText(QString());
107  Q_UNUSED(GUI_Podcasts);
108  } // retranslateUi
109 
110 };
111 
112 namespace Ui {
113  class GUI_Podcasts: public Ui_GUI_Podcasts {};
114 } // namespace Ui
115 
116 QT_END_NAMESPACE
117 
118 #endif // UI_GUI_PODCASTS_H
Definition: PlayerPluginBase.h:40
Definition: ui_GUI_SomaFM.h:206
Definition: ui_GUI_Podcasts.h:27
Definition: GUI_Podcasts.h:28
Definition: ui_GUI_Podcasts.h:113
Definition: ComboBox.h:31
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:36