aboutsummaryrefslogtreecommitdiff
path: root/qmppresetselect.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2015-12-29 23:54:24 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2015-12-29 23:54:24 +0800
commit8dc90ae27c24aec1851215f2cc28ee24eff01ea5 (patch)
tree13a604bf55804960ced6ec7559f626962a1265bd /qmppresetselect.hpp
parent40ea6580aaf3d19aa77f43551185a55013d216d9 (diff)
downloadQMidiPlayer-8dc90ae27c24aec1851215f2cc28ee24eff01ea5.tar.xz
Master Spark. (WTF)
Diffstat (limited to 'qmppresetselect.hpp')
-rw-r--r--qmppresetselect.hpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/qmppresetselect.hpp b/qmppresetselect.hpp
new file mode 100644
index 0000000..51d0f21
--- /dev/null
+++ b/qmppresetselect.hpp
@@ -0,0 +1,36 @@
+#ifndef QMPPRESETSELECT_H
+#define QMPPRESETSELECT_H
+
+#include <QDialog>
+#include <QShowEvent>
+
+namespace Ui {
+ class qmppresetselect;
+}
+
+class qmppresetselect:public QDialog
+{
+ Q_OBJECT
+
+ public:
+ explicit qmppresetselect(QWidget *parent = 0);
+ ~qmppresetselect();
+ 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::qmppresetselect *ui;
+ char presets[129][128][24];
+ int ch;
+};
+
+#endif // QMPPRESETSELECT_H