aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmppresetselect.hpp
blob: 01865783c30ca78fae4a9e8aed76f1dda1c3b85c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#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_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;
};

#endif // QMPPRESETSELECT_H