diff options
author | Chris Xiong <chirs241097@gmail.com> | 2017-02-12 00:29:01 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2017-02-12 00:29:01 +0800 |
commit | d779d32c8c32e0e0c22662046498620b11fa46de (patch) | |
tree | ba63a0d33d1fb6a07bca30d74dd72934b9ef69ce /qmidiplayer-desktop/qmpplistwindow.hpp | |
parent | acf466561f17bf0eb6c19ea0467b27f5392aeb36 (diff) | |
download | QMidiPlayer-d779d32c8c32e0e0c22662046498620b11fa46de.tar.xz |
New functionality API. Port built-in features to the new API.
Start the revamp of the main Window. Credit of the new design goes to @BLumia.
Diffstat (limited to 'qmidiplayer-desktop/qmpplistwindow.hpp')
-rw-r--r-- | qmidiplayer-desktop/qmpplistwindow.hpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/qmidiplayer-desktop/qmpplistwindow.hpp b/qmidiplayer-desktop/qmpplistwindow.hpp index b1deab4..9e78a8a 100644 --- a/qmidiplayer-desktop/qmpplistwindow.hpp +++ b/qmidiplayer-desktop/qmpplistwindow.hpp @@ -8,11 +8,24 @@ #include <QDropEvent> #include <QDragEnterEvent> #include <QListWidgetItem> +#include "../include/qmpcorepublic.hpp" namespace Ui { class qmpPlistWindow; } +class qmpPlistWindow; + +class qmpPlistFunc:public qmpFuncBaseIntf +{ + private: + qmpPlistWindow* p; + public: + qmpPlistFunc(qmpPlistWindow *par); + void show(); + void close(); +}; + class qmpPlistWindow : public QDialog { Q_OBJECT @@ -35,7 +48,6 @@ class qmpPlistWindow : public QDialog void insertItem(QString i); void insertItems(QStringList il); signals: - void dialogClosing(); void selectionChanging(); public slots: @@ -51,6 +63,7 @@ class qmpPlistWindow : public QDialog void on_pbLoad_clicked(); private: + qmpPlistFunc* plistf; Ui::qmpPlistWindow *ui; int shuffle,repeat;//rep 0=off 1=one 2=all }; |