27 |
|
|
28 |
#include "qsamplerInstrumentList.h" |
#include "qsamplerInstrumentList.h" |
29 |
|
|
30 |
#include <QComboBox> |
class QComboBox; |
31 |
|
|
32 |
|
|
33 |
namespace QSampler { |
namespace QSampler { |
34 |
|
|
35 |
class InstrumentListForm : public QMainWindow { |
class InstrumentListForm : public QMainWindow |
36 |
Q_OBJECT |
{ |
37 |
|
Q_OBJECT |
38 |
|
|
39 |
public: |
public: |
40 |
MidiInstrumentsModel model; |
MidiInstrumentsModel model; |
41 |
MidiInstrumentsDelegate delegate; |
MidiInstrumentsDelegate delegate; |
42 |
|
|
43 |
InstrumentListForm(QWidget* parent = 0, Qt::WindowFlags flags = 0); |
InstrumentListForm(QWidget* pParent = NULL, Qt::WindowFlags wflags = 0); |
44 |
~InstrumentListForm(); |
~InstrumentListForm(); |
45 |
|
|
46 |
public slots: |
public slots: |
48 |
void activateMap(int); |
void activateMap(int); |
49 |
|
|
50 |
protected: |
protected: |
51 |
QComboBox* m_pMapComboBox; |
void showEvent(QShowEvent *); |
52 |
|
void hideEvent(QHideEvent *); |
53 |
void showEvent(QShowEvent* pShowEvent); |
void closeEvent(QCloseEvent *); |
|
void hideEvent(QHideEvent* pHideEvent); |
|
54 |
|
|
55 |
protected slots: |
protected slots: |
56 |
void editInstrument(); |
void editInstrument(); |
60 |
|
|
61 |
private: |
private: |
62 |
Ui::qsamplerInstrumentListForm ui; |
Ui::qsamplerInstrumentListForm ui; |
63 |
|
|
64 |
|
QComboBox* m_pMapComboBox; |
65 |
}; |
}; |
66 |
|
|
67 |
} // namespace QSampler |
} // namespace QSampler |