--- qsampler/trunk/src/qsamplerChannelForm.ui 2005/03/14 12:59:27 455
+++ qsampler/trunk/src/qsamplerChannelForm.ui 2005/03/31 14:17:19 487
@@ -28,8 +28,8 @@
0
0
- 455
- 303
+ 435
+ 330
@@ -73,14 +73,6 @@
EngineNameTextLabel
-
-
- 1
- 5
- 0
- 0
-
-
&Engine:
@@ -95,14 +87,6 @@
InstrumentFileTextLabel
-
-
- 1
- 5
- 0
- 0
-
-
&Filename:
@@ -174,7 +158,7 @@
- layout1
+ layout01
@@ -263,7 +247,7 @@
- 1
+ 7
5
0
0
@@ -282,14 +266,6 @@
8
-
-
- MidiDriverComboBox
-
-
- MIDI input driver type
-
-
MidiDriverTextLabel
@@ -304,14 +280,6 @@
MidiDriverComboBox
-
-
- MidiDeviceComboBox
-
-
- MIDI input device
-
-
MidiDeviceTextLabel
@@ -326,151 +294,237 @@
MidiDeviceComboBox
-
-
- MidiPortSpinBox
-
-
- MIDI input port number
-
-
-
- -
-
- 1
-
-
- -
-
- 2
-
-
- -
-
- 3
-
-
- -
-
- 4
-
-
- -
-
- 5
-
-
- -
-
- 6
-
-
- -
-
- 7
-
-
- -
-
- 8
-
-
- -
-
- 9
-
-
- -
-
- 10
-
-
- -
-
- 11
-
-
- -
-
- 12
-
-
- -
-
- 13
-
-
- -
-
- 14
-
-
- -
-
- 15
-
-
- -
-
- 16
-
-
- -
-
- All
-
-
-
- MidiChannelComboBox
-
-
- MIDI input channel
-
-
-
+
- MidiChannelTextLabel
-
-
- &Channel:
-
-
- AlignVCenter|AlignRight
-
-
- MidiChannelComboBox
-
-
-
-
- spacer1
-
-
- Horizontal
-
-
- Expanding
-
-
-
- 16
- 8
-
-
-
-
-
- MidiPortTextLabel
-
-
- &Port:
-
-
- AlignVCenter|AlignRight
-
-
- MidiPortSpinBox
+ layout11
+
+
+ unnamed
+
+
+
+ MidiDriverComboBox
+
+
+
+ 5
+ 0
+ 0
+ 0
+
+
+
+ MIDI input driver type
+
+
+
+
+ spacer1
+
+
+ Horizontal
+
+
+ Expanding
+
+
+
+ 25
+ 16
+
+
+
+
+
+ MidiPortTextLabel
+
+
+ &Port:
+
+
+ AlignVCenter|AlignRight
+
+
+ MidiPortSpinBox
+
+
+
+
+ MidiPortSpinBox
+
+
+ MIDI input port number
+
+
+
+
+ MidiChannelTextLabel
+
+
+ &Channel:
+
+
+ AlignVCenter|AlignRight
+
+
+ MidiChannelComboBox
+
+
+
+ -
+
+ 1
+
+
+ -
+
+ 2
+
+
+ -
+
+ 3
+
+
+ -
+
+ 4
+
+
+ -
+
+ 5
+
+
+ -
+
+ 6
+
+
+ -
+
+ 7
+
+
+ -
+
+ 8
+
+
+ -
+
+ 9
+
+
+ -
+
+ 10
+
+
+ -
+
+ 11
+
+
+ -
+
+ 12
+
+
+ -
+
+ 13
+
+
+ -
+
+ 14
+
+
+ -
+
+ 15
+
+
+ -
+
+ 16
+
+
+ -
+
+ All
+
+
+
+ MidiChannelComboBox
+
+
+ MIDI input channel
+
+
+
+
+
+
+ layout12
+
+
+
+ unnamed
+
+
+
+ MidiDeviceComboBox
+
+
+
+ 7
+ 0
+ 0
+ 0
+
+
+
+ MIDI input device
+
+
+
+
+ MidiDevicePushButton
+
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+
+ 24
+ 24
+
+
+
+
+ 26
+ 26
+
+
+
+
+
+
+ midi1.png
+
+
+ MIDI input device setup
+
+
+
@@ -480,7 +534,7 @@
- 1
+ 7
5
0
0
@@ -502,22 +556,6 @@
8
-
-
- AudioDeviceComboBox
-
-
- Audio output device
-
-
-
-
- AudioDriverComboBox
-
-
- Audio output driver type
-
-
AudioDriverTextLabel
@@ -546,23 +584,109 @@
AudioDeviceComboBox
-
+
- spacer2
-
-
- Horizontal
+ layout21
-
- Expanding
-
-
-
- 210
- 8
-
-
-
+
+
+ unnamed
+
+
+
+ AudioDriverComboBox
+
+
+
+ 5
+ 0
+ 0
+ 0
+
+
+
+ Audio output driver type
+
+
+
+
+ spacer2
+
+
+ Horizontal
+
+
+ Expanding
+
+
+
+ 210
+ 16
+
+
+
+
+
+
+
+ layout22
+
+
+
+ unnamed
+
+
+
+ AudioDeviceComboBox
+
+
+
+ 7
+ 0
+ 0
+ 0
+
+
+
+ Audio output device
+
+
+
+
+ AudioDevicePushButton
+
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+
+ 24
+ 24
+
+
+
+
+ 26
+ 26
+
+
+
+
+
+
+ audio1.png
+
+
+ Audio output device setup
+
+
+
+
@@ -576,7 +700,7 @@
InstrumentFileComboBox
- textChanged(const QString &)
+ activated(const QString&)
qsamplerChannelForm
updateInstrumentName()
@@ -594,7 +718,7 @@
MidiDriverComboBox
- activated(const QString &)
+ activated(const QString&)
qsamplerChannelForm
selectMidiDriver(const QString&)
@@ -618,7 +742,7 @@
AudioDriverComboBox
- activated(const QString &)
+ activated(const QString&)
qsamplerChannelForm
selectAudioDriver(const QString&)
@@ -640,6 +764,18 @@
qsamplerChannelForm
reject()
+
+ MidiDevicePushButton
+ clicked()
+ qsamplerChannelForm
+ setupMidiDevice()
+
+
+ AudioDevicePushButton
+ clicked()
+ qsamplerChannelForm
+ setupAudioDevice()
+
EngineNameComboBox
@@ -650,8 +786,10 @@
MidiPortSpinBox
MidiChannelComboBox
MidiDeviceComboBox
+ MidiDevicePushButton
AudioDriverComboBox
AudioDeviceComboBox
+ AudioDevicePushButton
OkPushButton
CancelPushButton
@@ -660,12 +798,16 @@
qsamplerChannel.h
qsamplerChannelForm.ui.h
+
+ class qsamplerDeviceForm;
+
qsamplerChannel *m_pChannel;
int m_iDirtySetup;
int m_iDirtyCount;
QPtrList < qsamplerDevice > m_audioDevices;
QPtrList < qsamplerDevice > m_midiDevices;
+ qsamplerDeviceForm *m_pDeviceForm;
accept()
@@ -674,8 +816,10 @@
updateInstrumentName()
selectMidiDriver( const QString & sMidiDriver )
selectMidiDevice( int iMidiItem )
+ setupMidiDevice()
selectAudioDriver( const QString & sAudioDriver )
selectAudioDevice( int iAudioItem )
+ setupAudioDevice()
optionsChanged()
stabilizeForm()
@@ -683,6 +827,7 @@
init()
destroy()
setup( qsamplerChannel *pChannel )
+ setupDevice( qsamplerDevice *pDevice )