--- qsampler/trunk/src/qsamplerDeviceForm.ui 2005/08/28 00:31:34 758 +++ qsampler/trunk/src/qsamplerDeviceForm.ui 2007/11/17 02:02:28 1486 @@ -1,8 +1,9 @@ - -qsamplerDeviceForm -qsampler - A LinuxSampler Qt GUI Interface. + + rncbc aka Rui Nuno Capela + qsampler - A LinuxSampler Qt GUI Interface. - Copyright (C) 2005, rncbc aka Rui Nuno Capela. All rights reserved. + Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved. + Copyright (C) 2007, Christian Schoenebeck This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -14,457 +15,315 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -rncbc aka Rui Nuno Capela - - - qsamplerDeviceForm - - - - 0 - 0 - 570 - 361 - - - - - 7 - 1 - 0 - 0 - - - - Qsampler: Devices - - - qsamplerDevice.png - - - StrongFocus - - - - unnamed - - - - splitter1 - - - Horizontal - - - - - Devices - - - true - - - true - - - - DeviceListView - - - - 160 - 0 - - - - true - - - LastColumn - - - Device list - - - - - splitter2 - - - Vertical - - - - layout2 - - - - unnamed - - - - DeviceNameTextLabel - - - - 7 - 5 - 0 - 0 - - - - - 1 - - - - 4 - - - Device name - - - - - DriverNameTextLabel - - - Dri&ver: - - - AlignVCenter|AlignRight - - - DriverNameComboBox - - - - - DeviceParamTable - - - - 7 - 7 - 0 - 0 - - - - - 380 - 160 - - - - StrongFocus - - - Device parameters - - - - - DriverNameComboBox - - - Driver type name - - - - - - - layout3 - - - - unnamed - - - - DevicePortParamTable - - - - 7 - 7 - 0 - 0 - - - - - 380 - 80 - - - - StrongFocus - - - Device port/channel parameters - - - - - DevicePortTextLabel - - - Channel: - - - AlignVCenter|AlignRight - - - DevicePortComboBox - - - - - DevicePortComboBox - - - - 7 - 0 - 0 - 0 - - - - Device port/channel - - - - - + qsamplerDeviceForm + + + + 0 + 0 + 601 + 378 + + + + + 7 + 1 + 0 + 0 + + + + Qt::StrongFocus + + + Qsampler: Devices + + + :/icons/qsamplerDevice.png + + + + 9 + + + 6 + + + + + 0 + + + 6 + + + + + + 160 + 0 + + + + Device list + + + + + + + 0 + + + 6 + + + + + 0 + + + 6 + + + + + + 7 + 5 + 0 + 0 + + + + + 75 + true + + + + Device name + + + false + + + 4 + + + + + + + Dri&ver: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + false + + + DriverNameComboBox + + + + + + + Driver type name + + + + + + + + + true + + + false + - - - layout1 - - - - unnamed - - - - RefreshDevicesPushButton - - - &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 - - - + + + + + 0 + + + 6 + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Channel: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + false + + + DevicePortComboBox + + + + + + + + 7 + 0 + 0 + 0 + + + + Device port/channel + + + + + + + + + true + + + false + - - - - - qsamplerDeviceParamTable -
qsamplerDevice.h
- - -1 - -1 - - 0 - - 7 - 7 - 0 - 0 - -
-
- - - DeviceListView - selectionChanged() - qsamplerDeviceForm - selectDevice() - - - DeviceListView - contextMenuRequested(QListViewItem*,const QPoint&,int) - qsamplerDeviceForm - contextMenu(QListViewItem*,const QPoint&,int) - - - RefreshDevicesPushButton - clicked() - qsamplerDeviceForm - refreshDevices() - - - DriverNameComboBox - activated(const QString&) - qsamplerDeviceForm - selectDriver(const QString&) - - - DevicePortComboBox - activated(int) - qsamplerDeviceForm - selectDevicePort(int) - - - CreateDevicePushButton - clicked() - qsamplerDeviceForm - createDevice() - - - DeleteDevicePushButton - clicked() - qsamplerDeviceForm - deleteDevice() - - - ClosePushButton - clicked() - qsamplerDeviceForm - close() - - - - DeviceListView - RefreshDevicesPushButton - DriverNameComboBox - DeviceParamTable - DevicePortComboBox - DevicePortParamTable - CreateDevicePushButton - DeleteDevicePushButton - ClosePushButton - - - qsamplerDevice.h - qsamplerDeviceForm.ui.h - - - class qsamplerMainForm; - - - qsamplerMainForm *m_pMainForm; - lscp_client_t *m_pClient; - int m_iDirtySetup; - int m_iDirtyCount; - bool m_bNewDevice; - qsamplerDevice::qsamplerDeviceType m_deviceType; - qsamplerDevice::qsamplerDeviceType m_deviceTypeMode; - qsamplerDeviceItem *m_pAudioItems; - qsamplerDeviceItem *m_pMidiItems; - - - devicesChanged() - - - createDevice() - 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() - - - init() - destroy() - showEvent( QShowEvent * pShowEvent ) - hideEvent( QHideEvent * pHideEvent ) - setMainForm( qsamplerMainForm *pMainForm ) - setDeviceTypeMode( qsamplerDevice::qsamplerDeviceType deviceType ) - setClient( lscp_client_t *pClient ) - setDriverName( const QString & sDriverName ) - setDevice( qsamplerDevice *pDevice ) - - - -
+ + + + + + + + + 0 + + + 4 + + + + + Refresh device list view + + + &Refresh + + + :/icons/formRefresh.png + + + Alt+R + + + + + + + Qt::Horizontal + + + QSizePolicy::Expanding + + + + 180 + 20 + + + + + + + + Create device + + + &Create + + + :/icons/deviceCreate.png + + + Alt+C + + + + + + + Delete device + + + &Delete + + + :/icons/deviceDelete.png + + + Alt+D + + + + + + + Close this dialog + + + Close + + + :/icons/formReject.png + + + + + + + + + + + + + DeviceListView + RefreshDevicesPushButton + DriverNameComboBox + DevicePortComboBox + CreateDevicePushButton + DeleteDevicePushButton + ClosePushButton + + + + +