aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmppresetselect.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-12-11 20:22:06 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-12-11 20:22:06 +0800
commit717067493346bd51dc6f13a6f1ea307ca35bcc2c (patch)
tree849f82f41261a4906fb8644254719218272d34d5 /qmidiplayer-desktop/qmppresetselect.hpp
parentec415e53bbe042df084bdb93117b2aef7cb779cd (diff)
downloadQMidiPlayer-717067493346bd51dc6f13a6f1ea307ca35bcc2c.tar.xz
Update the preset selection dialog to improve support for external MIDI devices.
Diffstat (limited to 'qmidiplayer-desktop/qmppresetselect.hpp')
-rw-r--r--qmidiplayer-desktop/qmppresetselect.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/qmidiplayer-desktop/qmppresetselect.hpp b/qmidiplayer-desktop/qmppresetselect.hpp
index 54f5764..0186578 100644
--- a/qmidiplayer-desktop/qmppresetselect.hpp
+++ b/qmidiplayer-desktop/qmppresetselect.hpp
@@ -19,17 +19,20 @@ class qmpPresetSelector:public QDialog
void setupWindow(int chid);
private slots:
- void on_pbCancel_clicked();
-
- void on_pbOk_clicked();
void on_lwBankSelect_currentRowChanged();
void on_lwPresetSelect_itemDoubleClicked();
+ void on_buttonBox_accepted();
+
+ void on_buttonBox_rejected();
+
private:
Ui::qmpPresetSelector *ui;
char presets[129][128][24];
+ void on_pbCancel_clicked();
+ void on_pbOk_clicked();
int ch;
};