--- qsampler/trunk/src/qsamplerDeviceForm.ui 2005/03/09 11:33:27 432 +++ qsampler/trunk/src/qsamplerDeviceForm.ui 2005/03/09 16:44:04 433 @@ -1,4 +1,4 @@ - + qsamplerDeviceForm qsampler - A LinuxSampler Qt GUI Interface. @@ -28,8 +28,8 @@ 0 0 - 604 - 329 + 542 + 331 @@ -49,296 +49,82 @@ StrongFocus - + unnamed - DeviceSplitter + splitter3 Horizontal - + + + + Devices + + + true + + + true + + - layout1 + DeviceListView + + + + 120 + 0 + + + + true + + + LastColumn + + + Device list - - - unnamed - - - - SaveDevicesPushButton - - - - 0 - 28 - - - - - 32767 - 28 - - - - &Save... - - - Alt+S - - - fileSave.png - - - Save device configuration to file - - - - - spacer1 - - - Horizontal - - - Expanding - - - - 24 - 16 - - - - - - LoadDevicesPushButton - - - - 0 - 28 - - - - - 32767 - 28 - - - - &Load... - - - Alt+L - - - fileOpen.png - - - Load device configuration from file - - - - - - Devices - - - true - - - true - - - - DeviceListView - - - true - - - LastColumn - - - Device list - - - - layout4 + layout5 unnamed - + - 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 - + DeviceNameTextLabel - - - 32767 - 28 - + + + 7 + 5 + 0 + 0 + - - &Create + + + 10 + 1 + - - Alt+C + + 4 - Create current device - - - - - DriverNameTextLabel - - - &Driver: - - - AlignVCenter|AlignRight - - - DriverNameComboBox + Device name - + DeviceParamTable @@ -352,7 +138,7 @@ - 0 + 320 260 @@ -363,35 +149,115 @@ Device parameters - + - DeviceNameTextLabel + DriverNameComboBox - - - 7 - 5 - 0 - 0 - + + Driver type name - - - 10 - 1 - + + + + DriverNameTextLabel - + Dri&ver: - - Device name + + AlignVCenter|AlignRight + + + DriverNameComboBox - + + + layout6 + + + + unnamed + + + + RefreshDevicesPushButton + + + &Refresh + + + Alt+R + + + refresh device list view + + + + + spacer1 + + + Horizontal + + + Expanding + + + + 180 + 20 + + + + + + CreateDevicePushButton + + + &Create + + + Alt+C + + + Create current device + + + + + DeleteDevicePushButton + + + &Delete + + + Alt+D + + + Delete current device + + + + + ClosePushButton + + + Close + + + + + + Close this dialog + + + + + @@ -424,16 +290,10 @@ selectDevice() - LoadDevicesPushButton + RefreshDevicesPushButton clicked() qsamplerDeviceForm - loadDevices() - - - SaveDevicesPushButton - clicked() - qsamplerDeviceForm - saveDevices() + refreshDevices() DriverNameComboBox @@ -442,24 +302,12 @@ selectDriver(const QString&) - DeviceParamTable - valueChanged(int,int) - qsamplerDeviceForm - changeValue(int,int) - - CreateDevicePushButton clicked() qsamplerDeviceForm createDevice() - UpdateDevicePushButton - clicked() - qsamplerDeviceForm - updateDevice() - - DeleteDevicePushButton clicked() qsamplerDeviceForm @@ -474,12 +322,10 @@ DeviceListView - LoadDevicesPushButton - SaveDevicesPushButton - DeviceParamTable + RefreshDevicesPushButton DriverNameComboBox + DeviceParamTable CreateDevicePushButton - UpdateDevicePushButton DeleteDevicePushButton ClosePushButton @@ -494,17 +340,11 @@ qsamplerMainForm *m_pMainForm; int m_iDirtySetup; int m_iDirtyCount; - int m_iUntitled; - QString m_sFilename; lscp_client_t *m_pClient; bool m_bNewDevice; - contentsChanged() - loadDevices() - saveDevices() createDevice() - updateDevice() deleteDevice() refreshDevices() selectDriver( const QString & sDriverName ) @@ -518,10 +358,6 @@ showEvent( QShowEvent * pShowEvent ) hideEvent( QHideEvent * pHideEvent ) setClient( lscp_client_t *pClient ) - devicesName( const QString & sFilename ) - queryClose() - loadDevicesFile( const QString & sFilename ) - saveDevicesFile( const QString & sFilename )