diff options
author | Chris Xiong <chirs241097@gmail.com> | 2015-12-31 23:49:04 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2015-12-31 23:49:04 +0800 |
commit | 3db127ce64eadb54568e218124744a1de713667e (patch) | |
tree | e360f2cba2afb1c369e28907aa19934cf3c45ca5 /qmpmainwindow.hpp | |
parent | b1be9e45b5abdf0a03181b9cee8dc208a762fe57 (diff) | |
download | QMidiPlayer-3db127ce64eadb54568e218124744a1de713667e.tar.xz |
Inanimate Dream. (WTF)
Diffstat (limited to 'qmpmainwindow.hpp')
-rw-r--r-- | qmpmainwindow.hpp | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/qmpmainwindow.hpp b/qmpmainwindow.hpp index ae62bb4..b123feb 100644 --- a/qmpmainwindow.hpp +++ b/qmpmainwindow.hpp @@ -4,11 +4,15 @@ #include <QMainWindow> #include <QTimer> #include <QCloseEvent> +#include <QAction> +#include <QMenu> #include <thread> #include <chrono> #include "qmpmidiplay.hpp" #include "qmpplistwindow.hpp" #include "qmpchannelswindow.hpp" +#include "qmpefxwindow.hpp" +#include "qmpinfowindow.hpp" namespace Ui { class qmpMainWindow; @@ -36,6 +40,9 @@ class qmpMainWindow:public QMainWindow void on_pbPrev_clicked(); void on_pbNext_clicked(); void on_pbChannels_clicked(); + void on_pbEfx_clicked(); + void on_lbFileName_customContextMenuRequested(const QPoint &pos); + void onfnA1(); public slots: void dialogClosed(); @@ -49,8 +56,13 @@ class qmpMainWindow:public QMainWindow std::chrono::steady_clock::time_point st; double offset; CMidiPlayer *player; - qmpplistwindow *plistw; - qmpchannelswindow *chnlw; + qmpPlistWindow *plistw; + qmpChannelsWindow *chnlw; + qmpEfxWindow *efxw; + qmpInfoWindow *infow; + QAction *fnA1,*fnA2; + public: + QString getFileName(); static qmpMainWindow* ref; public: static qmpMainWindow* getInstance(){return ref;} |