diff options
author | Chris Xiong <chirs241097@gmail.com> | 2015-12-30 23:45:12 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2015-12-30 23:45:12 +0800 |
commit | b1be9e45b5abdf0a03181b9cee8dc208a762fe57 (patch) | |
tree | 1af8db6a9776af748c1d14e330a30ce61e162bea /qmpchanneleditor.hpp | |
parent | 8dc90ae27c24aec1851215f2cc28ee24eff01ea5 (diff) | |
download | QMidiPlayer-b1be9e45b5abdf0a03181b9cee8dc208a762fe57.tar.xz |
Complete Darkness. (WTF)
Diffstat (limited to 'qmpchanneleditor.hpp')
-rw-r--r-- | qmpchanneleditor.hpp | 63 |
1 files changed, 56 insertions, 7 deletions
diff --git a/qmpchanneleditor.hpp b/qmpchanneleditor.hpp index cef3b0b..019cfb4 100644 --- a/qmpchanneleditor.hpp +++ b/qmpchanneleditor.hpp @@ -1,22 +1,71 @@ -#ifndef QMPCHANNELEDITOR_HPP -#define QMPCHANNELEDITOR_HPP +#ifndef QMPCHANNELEDITOR_H +#define QMPCHANNELEDITOR_H #include <QDialog> +#include <QShowEvent> +#include <QCloseEvent> namespace Ui { class qmpchanneleditor; } -class qmpchanneleditor : public QDialog +class qmpchanneleditor:public QDialog { Q_OBJECT public: - explicit qmpchanneleditor(QWidget *parent = 0); - ~qmpchanneleditor(); + explicit qmpchanneleditor(QWidget *parent=0); + ~qmpchanneleditor(); + protected: + void showEvent(QShowEvent *e); + void closeEvent(QCloseEvent *e); + public slots: + void setupWindow(int chid=-1); + + private slots: + void on_pbChLeft_clicked(); + void on_pbChRight_clicked(); + void on_dCut_sliderPressed(); + void on_dReso_sliderPressed(); + void on_dReverb_sliderPressed(); + void on_dChorus_sliderPressed(); + void on_dVol_sliderPressed(); + void on_dPan_sliderPressed(); + void on_dAttack_sliderPressed(); + void on_dDecay_sliderPressed(); + void on_dRelease_sliderPressed(); + void on_dRate_sliderPressed(); + void on_dDepth_sliderPressed(); + void on_dDelay_sliderPressed(); + void on_dAttack_sliderReleased(); + void on_dDecay_sliderReleased(); + void on_dRelease_sliderReleased(); + void on_dRate_sliderReleased(); + void on_dDepth_sliderReleased(); + void on_dDelay_sliderReleased(); + void on_dCut_sliderReleased(); + void on_dReso_sliderReleased(); + void on_dReverb_sliderReleased(); + void on_dChorus_sliderReleased(); + void on_dVol_sliderReleased(); + void on_dPan_sliderReleased(); + void on_dCut_valueChanged(); + void on_dReso_valueChanged(); + void on_dReverb_valueChanged(); + void on_dChorus_valueChanged(); + void on_dVol_valueChanged(); + void on_dPan_valueChanged(); + void on_dAttack_valueChanged(); + void on_dDecay_valueChanged(); + void on_dRelease_valueChanged(); + void on_dRate_valueChanged(); + void on_dDepth_valueChanged(); + void on_dDelay_valueChanged(); private: - Ui::qmpchanneleditor *ui; + Ui::qmpchanneleditor *ui; + int ch; + void sendCC(); }; -#endif // QMPCHANNELEDITOR_HPP +#endif // QMPCHANNELEDITOR_H |