aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer.src.d/qmppresetselect.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmidiplayer.src.d/qmppresetselect.hpp')
-rw-r--r--qmidiplayer.src.d/qmppresetselect.hpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/qmidiplayer.src.d/qmppresetselect.hpp b/qmidiplayer.src.d/qmppresetselect.hpp
new file mode 100644
index 0000000..54f5764
--- /dev/null
+++ b/qmidiplayer.src.d/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