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.14.2
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/QWidget>
20 #include "Gui/Playlist/PlaylistBottomBar.h"
21 #include "Gui/Playlist/PlaylistTabWidget.h"
22 #include "Gui/Utils/MenuTool/MenuToolButton.h"
23 
24 QT_BEGIN_NAMESPACE
25 
27 {
28 public:
29  QGridLayout *gridLayout;
30  Playlist::BottomBar *bottomBar;
31  QHBoxLayout *horizontalLayout;
32  QLabel *labTotalTime;
33  QPushButton *btnClear;
34  Gui::MenuToolButton *toolButton;
35  Playlist::TabWidget *twPlaylists;
36  QWidget *tab_pl1;
37  QGridLayout *gridLayout_2;
38 
39  void setupUi(QWidget *PlaylistWindow)
40  {
41  if (PlaylistWindow->objectName().isEmpty())
42  PlaylistWindow->setObjectName(QString::fromUtf8("PlaylistWindow"));
43  PlaylistWindow->resize(478, 554);
44  gridLayout = new QGridLayout(PlaylistWindow);
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  bottomBar = new Playlist::BottomBar(PlaylistWindow);
51  bottomBar->setObjectName(QString::fromUtf8("bottomBar"));
52  QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Maximum);
53  sizePolicy.setHorizontalStretch(0);
54  sizePolicy.setVerticalStretch(0);
55  sizePolicy.setHeightForWidth(bottomBar->sizePolicy().hasHeightForWidth());
56  bottomBar->setSizePolicy(sizePolicy);
57 
58  gridLayout->addWidget(bottomBar, 4, 0, 1, 1);
59 
60  horizontalLayout = new QHBoxLayout();
61  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
62  labTotalTime = new QLabel(PlaylistWindow);
63  labTotalTime->setObjectName(QString::fromUtf8("labTotalTime"));
64  QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
65  sizePolicy1.setHorizontalStretch(0);
66  sizePolicy1.setVerticalStretch(0);
67  sizePolicy1.setHeightForWidth(labTotalTime->sizePolicy().hasHeightForWidth());
68  labTotalTime->setSizePolicy(sizePolicy1);
69  QFont font;
70  font.setBold(true);
71  font.setWeight(75);
72  labTotalTime->setFont(font);
73  labTotalTime->setFocusPolicy(Qt::NoFocus);
74  labTotalTime->setText(QString::fromUtf8("0m 0s"));
75  labTotalTime->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
76 
77  horizontalLayout->addWidget(labTotalTime);
78 
79  btnClear = new QPushButton(PlaylistWindow);
80  btnClear->setObjectName(QString::fromUtf8("btnClear"));
81  QIcon icon;
82  icon.addFile(QString::fromUtf8(":/Icons/broom.png"), QSize(), QIcon::Normal, QIcon::Off);
83  btnClear->setIcon(icon);
84  btnClear->setIconSize(QSize(22, 22));
85  btnClear->setFlat(true);
86 
87  horizontalLayout->addWidget(btnClear);
88 
89  toolButton = new Gui::MenuToolButton(PlaylistWindow);
90  toolButton->setObjectName(QString::fromUtf8("toolButton"));
91  toolButton->setText(QString::fromUtf8(""));
92 
93  horizontalLayout->addWidget(toolButton);
94 
95 
96  gridLayout->addLayout(horizontalLayout, 0, 0, 1, 1);
97 
98  twPlaylists = new Playlist::TabWidget(PlaylistWindow);
99  twPlaylists->setObjectName(QString::fromUtf8("twPlaylists"));
100  twPlaylists->setFocusPolicy(Qt::NoFocus);
101  twPlaylists->setTabShape(QTabWidget::Rounded);
102  twPlaylists->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  twPlaylists->addTab(tab_pl1, QString());
109  twPlaylists->setTabText(twPlaylists->indexOf(tab_pl1), QString::fromUtf8("+"));
110 
111  gridLayout->addWidget(twPlaylists, 1, 0, 1, 2);
112 
113 
114  retranslateUi(PlaylistWindow);
115 
116  QMetaObject::connectSlotsByName(PlaylistWindow);
117  } // setupUi
118 
119  void retranslateUi(QWidget *PlaylistWindow)
120  {
121  btnClear->setText(QString());
122  (void)PlaylistWindow;
123  } // retranslateUi
124 
125 };
126 
127 namespace Ui {
129 } // namespace Ui
130 
131 QT_END_NAMESPACE
132 
133 #endif // UI_GUI_PLAYLIST_H
Playlist::TabWidget
The PlaylistTabWidget class.
Definition: PlaylistTabWidget.h:37
Playlist::BottomBar
The GUI_PlaylistBottomBar class.
Definition: PlaylistBottomBar.h:43
Gui::MenuToolButton
This is the little button you often see near comboboxes It opens up a menu when clicked....
Definition: MenuToolButton.h:42
Ui_PlaylistWindow
Definition: ui_GUI_Playlist.h:27
Ui::PlaylistWindow
Definition: ui_GUI_Playlist.h:128
Gui::Util::icon
QIcon icon(const QString &iconName, IconTheme themeName)
fetch a icon from resources