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->setWindowModality(Qt::NonModal);
44  Playlist_Window->resize(392, 459);
45  QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
46  sizePolicy.setHorizontalStretch(0);
47  sizePolicy.setVerticalStretch(0);
48  sizePolicy.setHeightForWidth(Playlist_Window->sizePolicy().hasHeightForWidth());
49  Playlist_Window->setSizePolicy(sizePolicy);
50  Playlist_Window->setMinimumSize(QSize(0, 0));
51  Playlist_Window->setMaximumSize(QSize(16516, 16777215));
52  QFont font;
53  font.setPointSize(8);
54  Playlist_Window->setFont(font);
55  gridLayout = new QGridLayout(Playlist_Window);
56  gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
57  gridLayout->setSizeConstraint(QLayout::SetDefaultConstraint);
58  gridLayout->setHorizontalSpacing(0);
59  gridLayout->setVerticalSpacing(4);
60  gridLayout->setContentsMargins(0, 3, 0, 0);
61  bottom_bar = new Playlist::BottomBar(Playlist_Window);
62  bottom_bar->setObjectName(QString::fromUtf8("bottom_bar"));
63  QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::Maximum);
64  sizePolicy1.setHorizontalStretch(0);
65  sizePolicy1.setVerticalStretch(0);
66  sizePolicy1.setHeightForWidth(bottom_bar->sizePolicy().hasHeightForWidth());
67  bottom_bar->setSizePolicy(sizePolicy1);
68 
69  gridLayout->addWidget(bottom_bar, 4, 0, 1, 1);
70 
71  horizontalLayout = new QHBoxLayout();
72  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
73  lab_totalTime = new QLabel(Playlist_Window);
74  lab_totalTime->setObjectName(QString::fromUtf8("lab_totalTime"));
75  QSizePolicy sizePolicy2(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
76  sizePolicy2.setHorizontalStretch(0);
77  sizePolicy2.setVerticalStretch(0);
78  sizePolicy2.setHeightForWidth(lab_totalTime->sizePolicy().hasHeightForWidth());
79  lab_totalTime->setSizePolicy(sizePolicy2);
80  QFont font1;
81  font1.setBold(true);
82  font1.setWeight(75);
83  lab_totalTime->setFont(font1);
84  lab_totalTime->setFocusPolicy(Qt::NoFocus);
85  lab_totalTime->setText(QString::fromUtf8("0m 0s"));
86  lab_totalTime->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
87 
88  horizontalLayout->addWidget(lab_totalTime);
89 
90  btn_clear = new QPushButton(Playlist_Window);
91  btn_clear->setObjectName(QString::fromUtf8("btn_clear"));
92  QIcon icon;
93  icon.addFile(QString::fromUtf8(":/Icons/broom.png"), QSize(), QIcon::Normal, QIcon::Off);
94  btn_clear->setIcon(icon);
95  btn_clear->setFlat(true);
96 
97  horizontalLayout->addWidget(btn_clear);
98 
99  btn_tool = new QToolButton(Playlist_Window);
100  btn_tool->setObjectName(QString::fromUtf8("btn_tool"));
101  btn_tool->setText(QString::fromUtf8("\342\211\241"));
102  btn_tool->setPopupMode(QToolButton::InstantPopup);
103 
104  horizontalLayout->addWidget(btn_tool);
105 
106 
107  gridLayout->addLayout(horizontalLayout, 0, 0, 1, 1);
108 
109  tw_playlists = new Playlist::TabWidget(Playlist_Window);
110  tw_playlists->setObjectName(QString::fromUtf8("tw_playlists"));
111  tw_playlists->setFocusPolicy(Qt::NoFocus);
112  tw_playlists->setTabShape(QTabWidget::Rounded);
113  tw_playlists->setTabsClosable(true);
114  tab_pl1 = new QWidget();
115  tab_pl1->setObjectName(QString::fromUtf8("tab_pl1"));
116  gridLayout_2 = new QGridLayout(tab_pl1);
117  gridLayout_2->setSpacing(0);
118  gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
119  tw_playlists->addTab(tab_pl1, QString());
120  tw_playlists->setTabText(tw_playlists->indexOf(tab_pl1), QString::fromUtf8("+"));
121 
122  gridLayout->addWidget(tw_playlists, 1, 0, 1, 2);
123 
124 
125  retranslateUi(Playlist_Window);
126 
127  QMetaObject::connectSlotsByName(Playlist_Window);
128  } // setupUi
129 
130  void retranslateUi(QWidget *Playlist_Window)
131  {
132 #ifndef QT_NO_TOOLTIP
133  Playlist_Window->setToolTip(QString());
134 #endif // QT_NO_TOOLTIP
135  btn_clear->setText(QString());
136  } // retranslateUi
137 
138 };
139 
140 namespace Ui {
142 } // namespace Ui
143 
144 QT_END_NAMESPACE
145 
146 #endif // UI_GUI_PLAYLIST_H
Definition: ui_GUI_Playlist.h:141
The PlaylistTabWidget class.
Definition: PlaylistTabWidget.h:35
The GUI_PlaylistBottomBar class.
Definition: PlaylistBottomBar.h:41
QIcon icon(const QString &icon_name, IconTheme theme_name)
fetch a icon from resources
Definition: ui_GUI_Playlist.h:26