30 |
|
|
31 |
namespace QSampler { |
namespace QSampler { |
32 |
|
|
33 |
class InstrumentForm : public QDialog { |
class InstrumentForm : public QDialog |
34 |
Q_OBJECT |
{ |
35 |
|
Q_OBJECT |
36 |
|
|
37 |
public: |
public: |
|
InstrumentForm(QWidget* pParent = NULL); |
|
|
~InstrumentForm(); |
|
38 |
|
|
39 |
void setup(qsamplerInstrument* pInstrument); |
InstrumentForm(QWidget* pParent = NULL); |
40 |
|
~InstrumentForm(); |
41 |
|
|
42 |
|
void setup(qsamplerInstrument* pInstrument); |
43 |
|
|
44 |
public slots: |
public slots: |
45 |
void nameChanged(const QString& sName); |
|
46 |
void openInstrumentFile(); |
void nameChanged(const QString& sName); |
47 |
void updateInstrumentName(); |
void openInstrumentFile(); |
48 |
void instrumentNrChanged(); |
void updateInstrumentName(); |
49 |
void accept(); |
void instrumentNrChanged(); |
50 |
void reject(); |
void accept(); |
51 |
void changed(); |
void reject(); |
52 |
void stabilizeForm(); |
void changed(); |
53 |
|
void stabilizeForm(); |
54 |
|
|
55 |
private: |
private: |
|
Ui::qsamplerInstrumentForm ui; |
|
56 |
|
|
57 |
qsamplerInstrument* m_pInstrument; |
Ui::qsamplerInstrumentForm m_ui; |
58 |
int m_iDirtySetup; |
|
59 |
int m_iDirtyCount; |
qsamplerInstrument* m_pInstrument; |
60 |
int m_iDirtyName; |
int m_iDirtySetup; |
61 |
|
int m_iDirtyCount; |
62 |
|
int m_iDirtyName; |
63 |
}; |
}; |
64 |
|
|
65 |
} // namespace QSampler |
} // namespace QSampler |