diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-04-26 23:16:46 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-04-26 23:16:46 +0800 |
commit | dfcc193d4070c99bf217ac74a492160968dba766 (patch) | |
tree | 444132b8cf98ef3d8bc7b346f6e5bf515e662f1b /qmidiplayer-desktop/qmpmainwindow.hpp | |
parent | 4ffde0ad55d041229793ca4457123bcbcbf8e0c0 (diff) | |
download | QMidiPlayer-dfcc193d4070c99bf217ac74a492160968dba766.tar.xz |
The visualization plugin is usable now...
Diffstat (limited to 'qmidiplayer-desktop/qmpmainwindow.hpp')
-rw-r--r-- | qmidiplayer-desktop/qmpmainwindow.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/qmidiplayer-desktop/qmpmainwindow.hpp b/qmidiplayer-desktop/qmpmainwindow.hpp index b88169b..a981559 100644 --- a/qmidiplayer-desktop/qmpmainwindow.hpp +++ b/qmidiplayer-desktop/qmpmainwindow.hpp @@ -63,6 +63,8 @@ class qmpMainWindow:public QMainWindow bool isFinalizing(){return fin;} QString getFileName(); int pharseArgs(); + int registerVisualizationIntf(qmpVisualizationIntf* intf); + void unregisterVisualizationIntf(int handle); private slots: void on_pbPlayPause_clicked(); @@ -84,7 +86,9 @@ class qmpMainWindow:public QMainWindow void on_pushButton_clicked(); - public slots: + void on_pbVisualization_clicked(); + + public slots: void dialogClosed(); void selectionChanged(); @@ -104,6 +108,7 @@ class qmpMainWindow:public QMainWindow qmpInfoWindow *infow; qmpSettingsWindow *settingsw; qmpHelpWindow *helpw; + qmpVisualizationIntf* VIs[16]; QAction *fnA1,*fnA2,*fnA3; void onfnChanged(); |