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/qmpefxwindow.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/qmpefxwindow.hpp')
-rw-r--r-- | qmidiplayer-desktop/qmpefxwindow.hpp | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/qmidiplayer-desktop/qmpefxwindow.hpp b/qmidiplayer-desktop/qmpefxwindow.hpp index 2a080f0..1adadd0 100644 --- a/qmidiplayer-desktop/qmpefxwindow.hpp +++ b/qmidiplayer-desktop/qmpefxwindow.hpp @@ -7,11 +7,24 @@ #include <QMoveEvent> #include "qdialskulpturestyle.hpp" +#include "../include/qmpcorepublic.hpp" namespace Ui { class qmpEfxWindow; } +class qmpEfxWindow; + +class qmpEfxFunc:public qmpFuncBaseIntf +{ + private: + qmpEfxWindow *p; + public: + qmpEfxFunc(qmpEfxWindow *par); + void show(); + void close(); +}; + class qmpEfxWindow : public QDialog { Q_OBJECT @@ -24,9 +37,6 @@ class qmpEfxWindow : public QDialog void moveEvent(QMoveEvent *event); void sendEfxChange(); - signals: - void dialogClosing(); - private slots: void on_dRoom_valueChanged(); void on_dDamp_valueChanged(); @@ -57,6 +67,7 @@ class qmpEfxWindow : public QDialog int cfb,ct,initialized; double cl,cr,cd; QCommonStyle* styl; + qmpEfxFunc *efxf; }; #endif // QMPEFXWINDOW_HPP |