diff options
Diffstat (limited to 'qmpplistwindow.hpp')
-rw-r--r-- | qmpplistwindow.hpp | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/qmpplistwindow.hpp b/qmpplistwindow.hpp new file mode 100644 index 0000000..3c2e712 --- /dev/null +++ b/qmpplistwindow.hpp @@ -0,0 +1,51 @@ +#ifndef QMPPLISTWINDOW_H +#define QMPPLISTWINDOW_H + +#include <QDialog> +#include <QCloseEvent> +#include <QListWidgetItem> + +namespace Ui { + class qmpplistwindow; +} + +class qmpplistwindow : public QDialog +{ + Q_OBJECT + + public: + explicit qmpplistwindow(QWidget *parent=0); + ~qmpplistwindow(); + void closeEvent(QCloseEvent *event); + int getRepeat(); + QString getFirstItem(); + QString getNextItem(); + QString getPrevItem(); + QString getSelectedItem(); + //void loadPList(const char*); + //void savePList(const char*); + signals: + void dialogClosing(); + void selectionChanging(); + + private slots: + void on_pbAdd_clicked(); + + void on_pbAddFolder_clicked(); + + void on_pbRemove_clicked(); + + void on_pbClear_clicked(); + + void on_pbRepeat_clicked(); + + void on_pbShuffle_clicked(); + + void on_lwFiles_itemDoubleClicked(); + + private: + Ui::qmpplistwindow *ui; + int shuffle,repeat;//rep 0=off 1=one 2=all +}; + +#endif // QMPPLISTWINDOW_H |