35 |
Q_OBJECT |
Q_OBJECT |
36 |
public: |
public: |
37 |
MidiInstrumentsModel model; |
MidiInstrumentsModel model; |
38 |
|
MidiInstrumentsDelegate delegate; |
39 |
|
|
40 |
InstrumentListForm(QWidget* parent = 0, Qt::WindowFlags flags = 0); |
InstrumentListForm(QWidget* parent = 0, Qt::WindowFlags flags = 0); |
41 |
~InstrumentListForm(); |
~InstrumentListForm(); |
50 |
void showEvent(QShowEvent* pShowEvent); |
void showEvent(QShowEvent* pShowEvent); |
51 |
void hideEvent(QHideEvent* pHideEvent); |
void hideEvent(QHideEvent* pHideEvent); |
52 |
|
|
53 |
|
protected slots: |
54 |
|
void editInstrument(); |
55 |
|
void editInstrument(const QModelIndex& index); |
56 |
|
void newInstrument(); |
57 |
|
void deleteInstrument(); |
58 |
|
|
59 |
private: |
private: |
60 |
Ui::qsamplerInstrumentListForm ui; |
Ui::qsamplerInstrumentListForm ui; |
61 |
}; |
}; |