aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmppresetselect.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-04-06 16:54:29 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-04-06 16:54:29 +0800
commit70fd2d85c1bd6fb8732e680e8fda9d36c317c732 (patch)
tree4f048e7af294a2d40d3cabb9ea0ff266aa1fc36c /qmidiplayer-desktop/qmppresetselect.hpp
parentcf7eafca1fbc9aae495d7b7d7e1fb4bc92e6819f (diff)
downloadQMidiPlayer-70fd2d85c1bd6fb8732e680e8fda9d36c317c732.tar.xz
Too young too simple.
Diffstat (limited to 'qmidiplayer-desktop/qmppresetselect.hpp')
-rw-r--r--qmidiplayer-desktop/qmppresetselect.hpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/qmppresetselect.hpp b/qmidiplayer-desktop/qmppresetselect.hpp
new file mode 100644
index 0000000..54f5764
--- /dev/null
+++ b/qmidiplayer-desktop/qmppresetselect.hpp
@@ -0,0 +1,36 @@
+#ifndef QMPPRESETSELECT_H
+#define QMPPRESETSELECT_H
+
+#include <QDialog>
+#include <QShowEvent>
+
+namespace Ui {
+ class qmpPresetSelector;
+}
+
+class qmpPresetSelector:public QDialog
+{
+ Q_OBJECT
+
+ public:
+ explicit qmpPresetSelector(QWidget *parent = 0);
+ ~qmpPresetSelector();
+ void showEvent(QShowEvent* e);
+ void setupWindow(int chid);
+
+ private slots:
+ void on_pbCancel_clicked();
+
+ void on_pbOk_clicked();
+
+ void on_lwBankSelect_currentRowChanged();
+
+ void on_lwPresetSelect_itemDoubleClicked();
+
+ private:
+ Ui::qmpPresetSelector *ui;
+ char presets[129][128][24];
+ int ch;
+};
+
+#endif // QMPPRESETSELECT_H