From d779d32c8c32e0e0c22662046498620b11fa46de Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 12 Feb 2017 00:29:01 +0800 Subject: 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. --- qmidiplayer-desktop/qmpefxwindow.hpp | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'qmidiplayer-desktop/qmpefxwindow.hpp') 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 #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 -- cgit v1.2.3