Sayonara Player
ui_GUI_Playlist.h
1 /********************************************************************************
2 ** Form generated from reading UI file 'GUI_Playlist.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.12.5
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_GUI_PLAYLIST_H
10 #define UI_GUI_PLAYLIST_H
11 
12 #include <QtCore/QVariant>
13 #include <QtGui/QIcon>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QGridLayout>
16 #include <QtWidgets/QHBoxLayout>
17 #include <QtWidgets/QLabel>
18 #include <QtWidgets/QPushButton>
19 #include <QtWidgets/QToolButton>
20 #include <QtWidgets/QWidget>
21 #include "Gui/Playlist/PlaylistBottomBar.h"
22 #include "Gui/Playlist/PlaylistTabWidget.h"
23 
24 QT_BEGIN_NAMESPACE
25 
27 {
28 public:
29  QGridLayout *gridLayout;
30  Playlist::BottomBar *bottom_bar;
31  QHBoxLayout *horizontalLayout;
32  QLabel *lab_totalTime;
33  QPushButton *btn_clear;
34  QToolButton *btn_tool;
35  Playlist::TabWidget *tw_playlists;
36  QWidget *tab_pl1;
37  QGridLayout *gridLayout_2;
38 
39  void setupUi(QWidget *Playlist_Window)
40  {
41  if (Playlist_Window->objectName().isEmpty())
42  Playlist_Window->setObjectName(QString::fromUtf8("Playlist_Window"));
43  Playlist_Window->resize(478, 554);
44  gridLayout = new QGridLayout(Playlist_Window);
45  gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
46  gridLayout->setSizeConstraint(QLayout::SetDefaultConstraint);
47  gridLayout->setHorizontalSpacing(0);
48  gridLayout->setVerticalSpacing(4);
49  gridLayout->setContentsMargins(0, 3, 0, 0);
50  bottom_bar = new Playlist::BottomBar(Playlist_Window);
51  bottom_bar->setObjectName(QString::fromUtf8("bottom_bar"));
52  QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Maximum);
53  sizePolicy.setHorizontalStretch(0);
54  sizePolicy.setVerticalStretch(0);
55  sizePolicy.setHeightForWidth(bottom_bar->sizePolicy().hasHeightForWidth());
56  bottom_bar->setSizePolicy(sizePolicy);
57 
58  gridLayout->addWidget(bottom_bar, 4, 0, 1, 1);
59 
60  horizontalLayout = new QHBoxLayout();
61  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
62  lab_totalTime = new QLabel(Playlist_Window);
63  lab_totalTime->setObjectName(QString::fromUtf8("lab_totalTime"));
64  QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
65  sizePolicy1.setHorizontalStretch(0);
66  sizePolicy1.setVerticalStretch(0);
67  sizePolicy1.setHeightForWidth(lab_totalTime->sizePolicy().hasHeightForWidth());
68  lab_totalTime->setSizePolicy(sizePolicy1);
69  QFont font;
70  font.setBold(true);
71  font.setWeight(75);
72  lab_totalTime->setFont(font);
73  lab_totalTime->setFocusPolicy(Qt::NoFocus);
74  lab_totalTime->setText(QString::fromUtf8("0m 0s"));
75  lab_totalTime->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
76 
77  horizontalLayout->addWidget(lab_totalTime);
78 
79  btn_clear = new QPushButton(Playlist_Window);
80  btn_clear->setObjectName(QString::fromUtf8("btn_clear"));
81  QIcon icon;
82  icon.addFile(QString::fromUtf8(":/Icons/broom.png"), QSize(), QIcon::Normal, QIcon::Off);
83  btn_clear->setIcon(icon);
84  btn_clear->setFlat(true);
85 
86  horizontalLayout->addWidget(btn_clear);
87 
88  btn_tool = new QToolButton(Playlist_Window);
89  btn_tool->setObjectName(QString::fromUtf8("btn_tool"));
90  btn_tool->setText(QString::fromUtf8("\342\211\241"));
91  btn_tool->setPopupMode(QToolButton::InstantPopup);
92 
93  horizontalLayout->addWidget(btn_tool);
94 
95 
96  gridLayout->addLayout(horizontalLayout, 0, 0, 1, 1);
97 
98  tw_playlists = new Playlist::TabWidget(Playlist_Window);
99  tw_playlists->setObjectName(QString::fromUtf8("tw_playlists"));
100  tw_playlists->setFocusPolicy(Qt::NoFocus);
101  tw_playlists->setTabShape(QTabWidget::Rounded);
102  tw_playlists->setTabsClosable(true);
103  tab_pl1 = new QWidget();
104  tab_pl1->setObjectName(QString::fromUtf8("tab_pl1"));
105  gridLayout_2 = new QGridLayout(tab_pl1);
106  gridLayout_2->setSpacing(0);
107  gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
108  tw_playlists->addTab(tab_pl1, QString());
109  tw_playlists->setTabText(tw_playlists->indexOf(tab_pl1), QString::fromUtf8("+"));
110 
111  gridLayout->addWidget(tw_playlists, 1, 0, 1, 2);
112 
113 
114  retranslateUi(Playlist_Window);
115 
116  QMetaObject::connectSlotsByName(Playlist_Window);
117  } // setupUi
118 
119  void retranslateUi(QWidget *Playlist_Window)
120  {
121  btn_clear->setText(QString());
122  Q_UNUSED(Playlist_Window);
123  } // retranslateUi
124 
125 };
126 
127 namespace Ui {
129 } // namespace Ui
130 
131 QT_END_NAMESPACE
132 
133 #endif // UI_GUI_PLAYLIST_H
Definition: ui_GUI_Playlist.h:128
The PlaylistTabWidget class.
Definition: PlaylistTabWidget.h:35
The GUI_PlaylistBottomBar class.
Definition: PlaylistBottomBar.h:41
QIcon icon(const QString &iconName, IconTheme themeName)
fetch a icon from resources
Definition: ui_GUI_Playlist.h:26