aboutsummaryrefslogtreecommitdiff
path: root/qmpefxwindow.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2015-12-31 23:49:04 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2015-12-31 23:49:04 +0800
commit3db127ce64eadb54568e218124744a1de713667e (patch)
treee360f2cba2afb1c369e28907aa19934cf3c45ca5 /qmpefxwindow.hpp
parentb1be9e45b5abdf0a03181b9cee8dc208a762fe57 (diff)
downloadQMidiPlayer-3db127ce64eadb54568e218124744a1de713667e.tar.xz
Inanimate Dream. (WTF)
Diffstat (limited to 'qmpefxwindow.hpp')
-rw-r--r--qmpefxwindow.hpp57
1 files changed, 57 insertions, 0 deletions
diff --git a/qmpefxwindow.hpp b/qmpefxwindow.hpp
new file mode 100644
index 0000000..aa56263
--- /dev/null
+++ b/qmpefxwindow.hpp
@@ -0,0 +1,57 @@
+#ifndef QMPEFXWINDOW_HPP
+#define QMPEFXWINDOW_HPP
+
+#include <QDialog>
+#include <QCloseEvent>
+#include <QShowEvent>
+
+namespace Ui {
+ class qmpEfxWindow;
+}
+
+class qmpEfxWindow : public QDialog
+{
+ Q_OBJECT
+
+ public:
+ explicit qmpEfxWindow(QWidget *parent=0);
+ ~qmpEfxWindow();
+ void closeEvent(QCloseEvent *event);
+ void showEvent(QShowEvent *event);
+
+ signals:
+ void dialogClosing();
+
+ private slots:
+ void on_dRoom_valueChanged();
+ void on_dDamp_valueChanged();
+ void on_dWidth_valueChanged();
+ void on_dLevelR_valueChanged();
+ void on_dFeedBack_valueChanged();
+ void on_dRate_valueChanged();
+ void on_dDepth_valueChanged();
+ void on_dLevelC_valueChanged();
+ void on_sbRoom_valueChanged(QString s);
+ void on_sbDamp_valueChanged(QString s);
+ void on_sbWidth_valueChanged(QString s);
+ void on_sbLevelR_valueChanged(QString s);
+ void on_sbFeedBack_valueChanged(QString s);
+ void on_sbRate_valueChanged(QString s);
+ void on_sbDepth_valueChanged(QString s);
+ void on_sbLevelC_valueChanged(QString s);
+ void on_cbEnabledC_stateChanged();
+ void on_cbEnabledR_stateChanged();
+ void on_rbSine_toggled();
+ void on_rbTriangle_toggled();
+
+ private:
+ void dailValueChange();
+ void spinValueChange();
+ void sendEfxChange();
+ Ui::qmpEfxWindow *ui;
+ double rr,rd,rw,rl;
+ int cfb,ct,initialized;
+ double cl,cr,cd;
+};
+
+#endif // QMPEFXWINDOW_HPP