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





                         


                        

 
                                       
 
            
 




                                                    
 
              
 
                                             
 
                                               
 
                                 
 
                                 
 





                               


                           
#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