forked from mpc-qt/mpc-qt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlibrarywindow.h
More file actions
45 lines (33 loc) · 756 Bytes
/
Copy pathlibrarywindow.h
File metadata and controls
45 lines (33 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef LIBRARYWINDOW_H
#define LIBRARYWINDOW_H
#include <QUuid>
#include <QWidget>
QT_BEGIN_NAMESPACE
namespace Ui {
class LibraryWindow;
}
QT_END_NAMESPACE
class DrawnPlaylist;
class DrawnCollection;
class LibraryWindow : public QWidget
{
Q_OBJECT
public:
explicit LibraryWindow(QWidget *parent = nullptr);
~LibraryWindow();
public slots:
void refreshLibrary();
signals:
void windowClosed();
void playlistRestored(QUuid playlistUuid);
protected:
void closeEvent(QCloseEvent *event);
private slots:
void on_restorePlaylist_clicked();
void on_removePlaylist_clicked();
private:
Ui::LibraryWindow *ui;
DrawnPlaylist *playlistWidget;
DrawnCollection *collectionWidget;
};
#endif // LIBRARYWINDOW_H