aboutsummaryrefslogblamecommitdiff
path: root/qmidiplayer-desktop/qmppresetselect.hpp
blob: 01865783c30ca78fae4a9e8aed76f1dda1c3b85c (plain) (tree)
1
2
3
4
5
6
7
8
9
10






                         
                                

 
                                      



                

                                                                


                                              
                      




                                                           



                                             
                
                                          
                                           

                                           



                           
#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