--- qsampler/trunk/src/qsamplerDeviceForm.ui 2005/03/08 17:23:29 430
+++ qsampler/trunk/src/qsamplerDeviceForm.ui 2005/03/31 14:17:19 487
@@ -20,7 +20,7 @@
rncbc aka Rui Nuno Capela
-
+
qsamplerDeviceForm
@@ -28,8 +28,8 @@
0
0
- 604
- 329
+ 556
+ 345
@@ -44,354 +44,282 @@
Devices
- qsamplerChannel.png
+ qsamplerDevice.png
StrongFocus
-
+
unnamed
- DeviceSplitter
+ splitter1
Horizontal
-
+
+
+
+ Devices
+
+
+ true
+
+
+ true
+
+
+
+ DeviceListView
+
+
+
+ 160
+ 0
+
+
+
+ true
+
+
+ LastColumn
+
+
+ Device list
+
+
+
- layout1
+ splitter2
-
+
+ Vertical
+
+
- unnamed
+ layout4
-
-
- SaveDevicesPushButton
-
-
-
- 0
- 28
-
-
-
-
- 32767
- 28
-
-
-
- &Save...
-
-
- Alt+S
-
-
- fileSave.png
-
-
- Save device configuration to file
-
-
-
+
- spacer1
-
-
- Horizontal
+ unnamed
-
- Expanding
-
-
-
- 24
- 16
-
-
-
-
-
- LoadDevicesPushButton
-
-
-
- 0
- 28
-
-
-
-
- 32767
- 28
-
-
-
- &Load...
-
-
- Alt+L
-
-
- fileOpen.png
-
-
- Load device configuration from file
-
-
-
-
+
+
+ DeviceNameTextLabel
+
+
+
+ 7
+ 5
+ 0
+ 0
+
+
+
+
+ 1
+
+
+
+ 4
+
+
+ Device name
+
+
+
+
+ DriverNameTextLabel
+
- Devices
+ Dri&ver:
+
+
+ AlignVCenter|AlignRight
+
+
+ DriverNameComboBox
+
+
+
+
+ DeviceParamTable
-
- true
+
+
+ 7
+ 7
+ 0
+ 0
+
-
- true
+
+
+ 380
+ 160
+
-
+
+ StrongFocus
+
+
+ Device parameters
+
+
+
+
+ DriverNameComboBox
+
+
+ Driver type name
+
+
+
+
+
+
+ layout5
+
+
- DeviceListView
-
-
- true
-
-
- LastColumn
+ unnamed
-
- Device list
-
-
-
+
+
+ DevicePortComboBox
+
+
+ Device port/channel
+
+
+
+
+ DevicePortParamTable
+
+
+
+ 7
+ 7
+ 0
+ 0
+
+
+
+
+ 380
+ 80
+
+
+
+ StrongFocus
+
+
+ Device port/channel parameters
+
+
+
+
-
+
+
+
+ layout6
+
+
- layout4
+ unnamed
-
+
- unnamed
+ RefreshDevicesPushButton
-
-
- ClosePushButton
-
-
-
- 0
- 28
-
-
-
-
- 32767
- 28
-
-
-
- Close
-
-
-
-
-
- Close this dialog
-
-
-
-
- UpdateDevicePushButton
-
-
-
- 0
- 28
-
-
-
-
- 32767
- 28
-
-
-
- &Update
-
-
- Alt+U
-
-
- Update current device
-
-
-
-
- spacer3
-
-
- Horizontal
-
-
- Expanding
-
-
-
- 38
- 20
-
-
-
-
-
- spacer2
-
-
- Horizontal
-
-
- Minimum
-
-
-
- 4
- 20
-
-
-
-
-
- DeleteDevicePushButton
-
-
-
- 0
- 28
-
-
-
-
- 32767
- 28
-
-
-
- &Delete
-
-
- Alt+D
-
-
- Delete current device
-
-
-
-
- DriverNameComboBox
-
-
- Driver type name
-
-
-
-
- CreateDevicePushButton
-
-
-
- 0
- 28
-
-
-
-
- 32767
- 28
-
-
-
- &Create
-
-
- Alt+C
-
-
- Create current device
-
-
-
-
- DriverNameTextLabel
-
-
- &Driver:
-
-
- AlignVCenter|AlignRight
-
-
- DriverNameComboBox
-
-
-
-
- DeviceParamTable
-
-
-
- 7
- 7
- 0
- 0
-
-
-
-
- 0
- 260
-
-
-
- StrongFocus
-
-
- Device parameters
-
-
-
-
- DeviceNameTextLabel
-
-
-
- 7
- 5
- 0
- 0
-
-
-
-
- 10
- 1
-
-
-
-
-
-
- Device name
-
-
-
-
+
+ &Refresh
+
+
+ Alt+R
+
+
+ formRefresh.png
+
+
+ Refresh device list view
+
+
+
+
+ spacer1
+
+
+ Horizontal
+
+
+ Expanding
+
+
+
+ 180
+ 20
+
+
+
+
+
+ CreateDevicePushButton
+
+
+ &Create
+
+
+ Alt+C
+
+
+ deviceCreate.png
+
+
+ Create device
+
+
+
+
+ DeleteDevicePushButton
+
+
+ &Delete
+
+
+ Alt+D
+
+
+ deviceDelete.png
+
+
+ Delete device
+
+
+
+
+ ClosePushButton
+
+
+ Close
+
+
+
+
+
+ formReject.png
+
+
+ Close this dialog
+
+
+
-
+
@@ -424,16 +352,16 @@
selectDevice()
- LoadDevicesPushButton
- clicked()
+ DeviceListView
+ contextMenuRequested(QListViewItem*,const QPoint&,int)
qsamplerDeviceForm
- loadDevices()
+ contextMenu(QListViewItem*,const QPoint&,int)
- SaveDevicesPushButton
+ RefreshDevicesPushButton
clicked()
qsamplerDeviceForm
- saveDevices()
+ refreshDevices()
DriverNameComboBox
@@ -442,16 +370,16 @@
selectDriver(const QString&)
- CreateDevicePushButton
- clicked()
+ DevicePortComboBox
+ activated(int)
qsamplerDeviceForm
- createDevice()
+ selectDevicePort(int)
- UpdateDevicePushButton
+ CreateDevicePushButton
clicked()
qsamplerDeviceForm
- updateDevice()
+ createDevice()
DeleteDevicePushButton
@@ -468,12 +396,12 @@
DeviceListView
- LoadDevicesPushButton
- SaveDevicesPushButton
- DeviceParamTable
+ RefreshDevicesPushButton
DriverNameComboBox
+ DeviceParamTable
+ DevicePortComboBox
+ DevicePortParamTable
CreateDevicePushButton
- UpdateDevicePushButton
DeleteDevicePushButton
ClosePushButton
@@ -486,23 +414,23 @@
qsamplerMainForm *m_pMainForm;
- int m_iDirtySetup;
- int m_iDirtyCount;
- int m_iUntitled;
- QString m_sFilename;
lscp_client_t *m_pClient;
+ int m_iDirtySetup;
bool m_bNewDevice;
+ qsamplerDevice::qsamplerDeviceType m_deviceType;
+ qsamplerDeviceItem *m_pAudioItems;
+ qsamplerDeviceItem *m_pMidiItems;
- contentsChanged()
- loadDevices()
- saveDevices()
createDevice()
- updateDevice()
deleteDevice()
refreshDevices()
selectDriver( const QString & sDriverName )
selectDevice()
+ selectDevicePort( int iPort )
+ changeDeviceParam( int iRow, int iCol )
+ changeDevicePortParam( int iRow, int iCol )
+ contextMenu(QListViewItem *, const QPoint&, int)
stabilizeForm()
@@ -510,15 +438,14 @@
destroy()
showEvent( QShowEvent * pShowEvent )
hideEvent( QHideEvent * pHideEvent )
+ setMainForm( qsamplerMainForm *pMainForm )
setClient( lscp_client_t *pClient )
- devicesName( const QString & sFilename )
- queryClose()
- loadDevicesFile( const QString & sFilename )
- saveDevicesFile( const QString & sFilename )
+ setDevice( qsamplerDevice::qsamplerDeviceType deviceType, int iDeviceID )
qsamplerdeviceparamtable.h
+ qsamplerdeviceparamtable.h