38 |
|
|
39 |
public: |
public: |
40 |
|
|
41 |
ChannelForm(QWidget* parent = 0); |
ChannelForm(QWidget* pParent = NULL); |
42 |
~ChannelForm(); |
~ChannelForm(); |
43 |
|
|
44 |
void setup(qsamplerChannel* pChannel); |
void setup(qsamplerChannel* pChannel); |
45 |
|
|
46 |
void setupDevice(qsamplerDevice* pDevice, |
void setupDevice(qsamplerDevice* pDevice, |
47 |
qsamplerDevice::DeviceType deviceTypeMode, |
qsamplerDevice::DeviceType deviceTypeMode, |
48 |
const QString& sDriverName); |
const QString& sDriverName); |
49 |
|
|
50 |
void selectMidiDriverItem(const QString& sMidiDriver); |
void selectMidiDriverItem(const QString& sMidiDriver); |
51 |
void selectMidiDeviceItem(int iMidiItem); |
void selectMidiDeviceItem(int iMidiItem); |
52 |
void selectAudioDriverItem(const QString& sAudioDriver); |
void selectAudioDriverItem(const QString& sAudioDriver); |
53 |
void selectAudioDeviceItem(int iAudioItem); |
void selectAudioDeviceItem(int iAudioItem); |
54 |
|
|
55 |
protected slots: |
protected slots: |
56 |
|
|
57 |
void accept(); |
void accept(); |
58 |
void reject(); |
void reject(); |
59 |
void openInstrumentFile(); |
void openInstrumentFile(); |
60 |
void updateInstrumentName(); |
void updateInstrumentName(); |
61 |
void selectMidiDriver(const QString& sMidiDriver); |
void selectMidiDriver(const QString& sMidiDriver); |
62 |
void selectMidiDevice(int iMidiItem); |
void selectMidiDevice(int iMidiItem); |
63 |
void setupMidiDevice(); |
void setupMidiDevice(); |
64 |
void selectAudioDriver(const QString& sAudioDriver); |
void selectAudioDriver(const QString& sAudioDriver); |
65 |
void selectAudioDevice(int iAudioItem); |
void selectAudioDevice(int iAudioItem); |
66 |
void setupAudioDevice(); |
void setupAudioDevice(); |
67 |
void updateDevices(); |
void updateDevices(); |
68 |
void optionsChanged(); |
void optionsChanged(); |
69 |
void stabilizeForm(); |
void stabilizeForm(); |
70 |
|
|
71 |
void updateTableCellRenderers(); |
void updateTableCellRenderers(); |
72 |
void updateTableCellRenderers(const QModelIndex& topLeft, const QModelIndex& bottomRight); |
void updateTableCellRenderers( |
73 |
|
const QModelIndex& topLeft, const QModelIndex& bottomRight); |
74 |
|
|
75 |
private: |
private: |
76 |
|
|
77 |
Ui::qsamplerChannelForm m_ui; |
Ui::qsamplerChannelForm m_ui; |
78 |
|
|
79 |
qsamplerChannel* m_pChannel; |
qsamplerChannel* m_pChannel; |
80 |
int m_iDirtySetup; |
int m_iDirtySetup; |
81 |
int m_iDirtyCount; |
int m_iDirtyCount; |
82 |
QList<qsamplerDevice *> m_audioDevices; |
QList<qsamplerDevice *> m_audioDevices; |
83 |
QList<qsamplerDevice *> m_midiDevices; |
QList<qsamplerDevice *> m_midiDevices; |
84 |
DeviceForm* m_pDeviceForm; |
DeviceForm* m_pDeviceForm; |
85 |
ChannelRoutingModel m_routingModel; |
ChannelRoutingModel m_routingModel; |
86 |
ChannelRoutingDelegate m_routingDelegate; |
ChannelRoutingDelegate m_routingDelegate; |
87 |
}; |
}; |
88 |
|
|
89 |
} // namespace QSampler |
} // namespace QSampler |