20 |
|
|
21 |
</comment> |
</comment> |
22 |
<author>rncbc aka Rui Nuno Capela</author> |
<author>rncbc aka Rui Nuno Capela</author> |
23 |
<widget class="QDialog"> |
<widget class="QWidget"> |
24 |
<property name="name"> |
<property name="name"> |
25 |
<cstring>qsamplerDeviceForm</cstring> |
<cstring>qsamplerDeviceForm</cstring> |
26 |
</property> |
</property> |
28 |
<rect> |
<rect> |
29 |
<x>0</x> |
<x>0</x> |
30 |
<y>0</y> |
<y>0</y> |
31 |
<width>544</width> |
<width>570</width> |
32 |
<height>343</height> |
<height>361</height> |
33 |
</rect> |
</rect> |
34 |
</property> |
</property> |
35 |
<property name="sizePolicy"> |
<property name="sizePolicy"> |
41 |
</sizepolicy> |
</sizepolicy> |
42 |
</property> |
</property> |
43 |
<property name="caption"> |
<property name="caption"> |
44 |
<string>Devices</string> |
<string>Qsampler: Devices</string> |
45 |
</property> |
</property> |
46 |
<property name="icon"> |
<property name="icon"> |
47 |
<pixmap>qsamplerDevice.png</pixmap> |
<pixmap>qsamplerDevice.png</pixmap> |
55 |
</property> |
</property> |
56 |
<widget class="QSplitter"> |
<widget class="QSplitter"> |
57 |
<property name="name"> |
<property name="name"> |
58 |
<cstring>splitter3</cstring> |
<cstring>splitter1</cstring> |
59 |
</property> |
</property> |
60 |
<property name="orientation"> |
<property name="orientation"> |
61 |
<enum>Horizontal</enum> |
<enum>Horizontal</enum> |
91 |
<string>Device list</string> |
<string>Device list</string> |
92 |
</property> |
</property> |
93 |
</widget> |
</widget> |
94 |
<widget class="QLayoutWidget"> |
<widget class="QSplitter"> |
95 |
<property name="name"> |
<property name="name"> |
96 |
<cstring>layout5</cstring> |
<cstring>splitter2</cstring> |
97 |
</property> |
</property> |
98 |
<grid> |
<property name="orientation"> |
99 |
|
<enum>Vertical</enum> |
100 |
|
</property> |
101 |
|
<widget class="QLayoutWidget"> |
102 |
<property name="name"> |
<property name="name"> |
103 |
<cstring>unnamed</cstring> |
<cstring>layout2</cstring> |
104 |
</property> |
</property> |
105 |
<widget class="QLabel" row="0" column="0"> |
<grid> |
|
<property name="name"> |
|
|
<cstring>DeviceNameTextLabel</cstring> |
|
|
</property> |
|
|
<property name="sizePolicy"> |
|
|
<sizepolicy> |
|
|
<hsizetype>7</hsizetype> |
|
|
<vsizetype>5</vsizetype> |
|
|
<horstretch>0</horstretch> |
|
|
<verstretch>0</verstretch> |
|
|
</sizepolicy> |
|
|
</property> |
|
|
<property name="font"> |
|
|
<font> |
|
|
<bold>1</bold> |
|
|
</font> |
|
|
</property> |
|
|
<property name="indent"> |
|
|
<number>4</number> |
|
|
</property> |
|
|
<property name="toolTip" stdset="0"> |
|
|
<string>Device name</string> |
|
|
</property> |
|
|
</widget> |
|
|
<widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="3"> |
|
106 |
<property name="name"> |
<property name="name"> |
107 |
<cstring>DeviceParamTable</cstring> |
<cstring>unnamed</cstring> |
|
</property> |
|
|
<property name="sizePolicy"> |
|
|
<sizepolicy> |
|
|
<hsizetype>7</hsizetype> |
|
|
<vsizetype>7</vsizetype> |
|
|
<horstretch>0</horstretch> |
|
|
<verstretch>0</verstretch> |
|
|
</sizepolicy> |
|
|
</property> |
|
|
<property name="minimumSize"> |
|
|
<size> |
|
|
<width>360</width> |
|
|
<height>260</height> |
|
|
</size> |
|
|
</property> |
|
|
<property name="focusPolicy"> |
|
|
<enum>StrongFocus</enum> |
|
|
</property> |
|
|
<property name="toolTip" stdset="0"> |
|
|
<string>Device parameters</string> |
|
|
</property> |
|
|
</widget> |
|
|
<widget class="QComboBox" row="0" column="2"> |
|
|
<property name="name"> |
|
|
<cstring>DriverNameComboBox</cstring> |
|
|
</property> |
|
|
<property name="toolTip" stdset="0"> |
|
|
<string>Driver type name</string> |
|
108 |
</property> |
</property> |
109 |
</widget> |
<widget class="QLabel" row="0" column="0"> |
110 |
<widget class="QLabel" row="0" column="1"> |
<property name="name"> |
111 |
|
<cstring>DeviceNameTextLabel</cstring> |
112 |
|
</property> |
113 |
|
<property name="sizePolicy"> |
114 |
|
<sizepolicy> |
115 |
|
<hsizetype>7</hsizetype> |
116 |
|
<vsizetype>5</vsizetype> |
117 |
|
<horstretch>0</horstretch> |
118 |
|
<verstretch>0</verstretch> |
119 |
|
</sizepolicy> |
120 |
|
</property> |
121 |
|
<property name="font"> |
122 |
|
<font> |
123 |
|
<bold>1</bold> |
124 |
|
</font> |
125 |
|
</property> |
126 |
|
<property name="indent"> |
127 |
|
<number>4</number> |
128 |
|
</property> |
129 |
|
<property name="toolTip" stdset="0"> |
130 |
|
<string>Device name</string> |
131 |
|
</property> |
132 |
|
</widget> |
133 |
|
<widget class="QLabel" row="0" column="1"> |
134 |
|
<property name="name"> |
135 |
|
<cstring>DriverNameTextLabel</cstring> |
136 |
|
</property> |
137 |
|
<property name="text"> |
138 |
|
<string>Dri&ver:</string> |
139 |
|
</property> |
140 |
|
<property name="alignment"> |
141 |
|
<set>AlignVCenter|AlignRight</set> |
142 |
|
</property> |
143 |
|
<property name="buddy" stdset="0"> |
144 |
|
<cstring>DriverNameComboBox</cstring> |
145 |
|
</property> |
146 |
|
</widget> |
147 |
|
<widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="3"> |
148 |
|
<property name="name"> |
149 |
|
<cstring>DeviceParamTable</cstring> |
150 |
|
</property> |
151 |
|
<property name="sizePolicy"> |
152 |
|
<sizepolicy> |
153 |
|
<hsizetype>7</hsizetype> |
154 |
|
<vsizetype>7</vsizetype> |
155 |
|
<horstretch>0</horstretch> |
156 |
|
<verstretch>0</verstretch> |
157 |
|
</sizepolicy> |
158 |
|
</property> |
159 |
|
<property name="minimumSize"> |
160 |
|
<size> |
161 |
|
<width>380</width> |
162 |
|
<height>160</height> |
163 |
|
</size> |
164 |
|
</property> |
165 |
|
<property name="focusPolicy"> |
166 |
|
<enum>StrongFocus</enum> |
167 |
|
</property> |
168 |
|
<property name="toolTip" stdset="0"> |
169 |
|
<string>Device parameters</string> |
170 |
|
</property> |
171 |
|
</widget> |
172 |
|
<widget class="QComboBox" row="0" column="2"> |
173 |
|
<property name="name"> |
174 |
|
<cstring>DriverNameComboBox</cstring> |
175 |
|
</property> |
176 |
|
<property name="toolTip" stdset="0"> |
177 |
|
<string>Driver type name</string> |
178 |
|
</property> |
179 |
|
</widget> |
180 |
|
</grid> |
181 |
|
</widget> |
182 |
|
<widget class="QLayoutWidget"> |
183 |
|
<property name="name"> |
184 |
|
<cstring>layout3</cstring> |
185 |
|
</property> |
186 |
|
<grid> |
187 |
<property name="name"> |
<property name="name"> |
188 |
<cstring>DriverNameTextLabel</cstring> |
<cstring>unnamed</cstring> |
|
</property> |
|
|
<property name="text"> |
|
|
<string>Dri&ver:</string> |
|
189 |
</property> |
</property> |
190 |
<property name="alignment"> |
<widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="2"> |
191 |
<set>AlignVCenter|AlignRight</set> |
<property name="name"> |
192 |
</property> |
<cstring>DevicePortParamTable</cstring> |
193 |
<property name="buddy" stdset="0"> |
</property> |
194 |
<cstring>DriverNameComboBox</cstring> |
<property name="sizePolicy"> |
195 |
</property> |
<sizepolicy> |
196 |
</widget> |
<hsizetype>7</hsizetype> |
197 |
</grid> |
<vsizetype>7</vsizetype> |
198 |
|
<horstretch>0</horstretch> |
199 |
|
<verstretch>0</verstretch> |
200 |
|
</sizepolicy> |
201 |
|
</property> |
202 |
|
<property name="minimumSize"> |
203 |
|
<size> |
204 |
|
<width>380</width> |
205 |
|
<height>80</height> |
206 |
|
</size> |
207 |
|
</property> |
208 |
|
<property name="focusPolicy"> |
209 |
|
<enum>StrongFocus</enum> |
210 |
|
</property> |
211 |
|
<property name="toolTip" stdset="0"> |
212 |
|
<string>Device port/channel parameters</string> |
213 |
|
</property> |
214 |
|
</widget> |
215 |
|
<widget class="QLabel" row="0" column="0"> |
216 |
|
<property name="name"> |
217 |
|
<cstring>DevicePortTextLabel</cstring> |
218 |
|
</property> |
219 |
|
<property name="text"> |
220 |
|
<string>Channel:</string> |
221 |
|
</property> |
222 |
|
<property name="alignment"> |
223 |
|
<set>AlignVCenter|AlignRight</set> |
224 |
|
</property> |
225 |
|
<property name="buddy" stdset="0"> |
226 |
|
<cstring>DevicePortComboBox</cstring> |
227 |
|
</property> |
228 |
|
</widget> |
229 |
|
<widget class="QComboBox" row="0" column="1"> |
230 |
|
<property name="name"> |
231 |
|
<cstring>DevicePortComboBox</cstring> |
232 |
|
</property> |
233 |
|
<property name="sizePolicy"> |
234 |
|
<sizepolicy> |
235 |
|
<hsizetype>7</hsizetype> |
236 |
|
<vsizetype>0</vsizetype> |
237 |
|
<horstretch>0</horstretch> |
238 |
|
<verstretch>0</verstretch> |
239 |
|
</sizepolicy> |
240 |
|
</property> |
241 |
|
<property name="toolTip" stdset="0"> |
242 |
|
<string>Device port/channel</string> |
243 |
|
</property> |
244 |
|
</widget> |
245 |
|
</grid> |
246 |
|
</widget> |
247 |
</widget> |
</widget> |
248 |
</widget> |
</widget> |
249 |
<widget class="QLayoutWidget"> |
<widget class="QLayoutWidget"> |
250 |
<property name="name"> |
<property name="name"> |
251 |
<cstring>layout6</cstring> |
<cstring>layout1</cstring> |
252 |
</property> |
</property> |
253 |
<hbox> |
<hbox> |
254 |
<property name="name"> |
<property name="name"> |
268 |
<iconset>formRefresh.png</iconset> |
<iconset>formRefresh.png</iconset> |
269 |
</property> |
</property> |
270 |
<property name="toolTip" stdset="0"> |
<property name="toolTip" stdset="0"> |
271 |
<string>refresh device list view</string> |
<string>Refresh device list view</string> |
272 |
</property> |
</property> |
273 |
</widget> |
</widget> |
274 |
<spacer> |
<spacer> |
302 |
<iconset>deviceCreate.png</iconset> |
<iconset>deviceCreate.png</iconset> |
303 |
</property> |
</property> |
304 |
<property name="toolTip" stdset="0"> |
<property name="toolTip" stdset="0"> |
305 |
<string>Create current device</string> |
<string>Create device</string> |
306 |
</property> |
</property> |
307 |
</widget> |
</widget> |
308 |
<widget class="QPushButton"> |
<widget class="QPushButton"> |
319 |
<iconset>deviceDelete.png</iconset> |
<iconset>deviceDelete.png</iconset> |
320 |
</property> |
</property> |
321 |
<property name="toolTip" stdset="0"> |
<property name="toolTip" stdset="0"> |
322 |
<string>Delete current device</string> |
<string>Delete device</string> |
323 |
</property> |
</property> |
324 |
</widget> |
</widget> |
325 |
<widget class="QPushButton"> |
<widget class="QPushButton"> |
363 |
</customwidgets> |
</customwidgets> |
364 |
<images> |
<images> |
365 |
<image name="image0"> |
<image name="image0"> |
366 |
<data format="XBM.GZ" length="79">789c534e494dcbcc4b554829cdcdad8c2fcf4c29c95030e0524611cd48cd4ccf28010a1797249664262b2467241641a592324b8aa363156c15aab914146aadb90067111b1f</data> |
<data format="XPM.GZ" length="45">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523250004143a55a6b2e0026630c4f</data> |
367 |
</image> |
</image> |
368 |
</images> |
</images> |
369 |
<connections> |
<connections> |
392 |
<slot>selectDriver(const QString&)</slot> |
<slot>selectDriver(const QString&)</slot> |
393 |
</connection> |
</connection> |
394 |
<connection> |
<connection> |
395 |
|
<sender>DevicePortComboBox</sender> |
396 |
|
<signal>activated(int)</signal> |
397 |
|
<receiver>qsamplerDeviceForm</receiver> |
398 |
|
<slot>selectDevicePort(int)</slot> |
399 |
|
</connection> |
400 |
|
<connection> |
401 |
<sender>CreateDevicePushButton</sender> |
<sender>CreateDevicePushButton</sender> |
402 |
<signal>clicked()</signal> |
<signal>clicked()</signal> |
403 |
<receiver>qsamplerDeviceForm</receiver> |
<receiver>qsamplerDeviceForm</receiver> |
421 |
<tabstop>RefreshDevicesPushButton</tabstop> |
<tabstop>RefreshDevicesPushButton</tabstop> |
422 |
<tabstop>DriverNameComboBox</tabstop> |
<tabstop>DriverNameComboBox</tabstop> |
423 |
<tabstop>DeviceParamTable</tabstop> |
<tabstop>DeviceParamTable</tabstop> |
424 |
|
<tabstop>DevicePortComboBox</tabstop> |
425 |
|
<tabstop>DevicePortParamTable</tabstop> |
426 |
<tabstop>CreateDevicePushButton</tabstop> |
<tabstop>CreateDevicePushButton</tabstop> |
427 |
<tabstop>DeleteDevicePushButton</tabstop> |
<tabstop>DeleteDevicePushButton</tabstop> |
428 |
<tabstop>ClosePushButton</tabstop> |
<tabstop>ClosePushButton</tabstop> |
436 |
</forwards> |
</forwards> |
437 |
<variables> |
<variables> |
438 |
<variable access="private">qsamplerMainForm *m_pMainForm;</variable> |
<variable access="private">qsamplerMainForm *m_pMainForm;</variable> |
|
<variable access="private">int m_iDirtySetup;</variable> |
|
439 |
<variable access="private">lscp_client_t *m_pClient;</variable> |
<variable access="private">lscp_client_t *m_pClient;</variable> |
440 |
|
<variable access="private">int m_iDirtySetup;</variable> |
441 |
|
<variable access="private">int m_iDirtyCount;</variable> |
442 |
<variable access="private">bool m_bNewDevice;</variable> |
<variable access="private">bool m_bNewDevice;</variable> |
443 |
<variable access="private">qsamplerDevice::qsamplerDeviceType m_deviceType;</variable> |
<variable access="private">qsamplerDevice::qsamplerDeviceType m_deviceType;</variable> |
444 |
|
<variable access="private">qsamplerDevice::qsamplerDeviceType m_deviceTypeMode;</variable> |
445 |
<variable access="private">qsamplerDeviceItem *m_pAudioItems;</variable> |
<variable access="private">qsamplerDeviceItem *m_pAudioItems;</variable> |
446 |
<variable access="private">qsamplerDeviceItem *m_pMidiItems;</variable> |
<variable access="private">qsamplerDeviceItem *m_pMidiItems;</variable> |
447 |
</variables> |
</variables> |
448 |
|
<signals> |
449 |
|
<signal>devicesChanged()</signal> |
450 |
|
</signals> |
451 |
<slots> |
<slots> |
|
<slot specifier="non virtual">contextMenu(QListViewItem *, const QPoint&, int)</slot> |
|
452 |
<slot specifier="non virtual">createDevice()</slot> |
<slot specifier="non virtual">createDevice()</slot> |
453 |
<slot specifier="non virtual">deleteDevice()</slot> |
<slot specifier="non virtual">deleteDevice()</slot> |
454 |
<slot specifier="non virtual">refreshDevices()</slot> |
<slot specifier="non virtual">refreshDevices()</slot> |
455 |
<slot specifier="non virtual">selectDriver( const QString & sDriverName )</slot> |
<slot specifier="non virtual">selectDriver( const QString & sDriverName )</slot> |
456 |
<slot specifier="non virtual">selectDevice()</slot> |
<slot specifier="non virtual">selectDevice()</slot> |
457 |
<slot specifier="non virtual">changeValue( int iRow, int iCol )</slot> |
<slot specifier="non virtual">selectDevicePort( int iPort )</slot> |
458 |
|
<slot specifier="non virtual">changeDeviceParam( int iRow, int iCol )</slot> |
459 |
|
<slot specifier="non virtual">changeDevicePortParam( int iRow, int iCol )</slot> |
460 |
|
<slot specifier="non virtual">contextMenu(QListViewItem *, const QPoint&, int)</slot> |
461 |
<slot specifier="non virtual">stabilizeForm()</slot> |
<slot specifier="non virtual">stabilizeForm()</slot> |
462 |
</slots> |
</slots> |
463 |
<functions> |
<functions> |
465 |
<function access="private" specifier="non virtual">destroy()</function> |
<function access="private" specifier="non virtual">destroy()</function> |
466 |
<function access="private" specifier="non virtual">showEvent( QShowEvent * pShowEvent )</function> |
<function access="private" specifier="non virtual">showEvent( QShowEvent * pShowEvent )</function> |
467 |
<function access="private" specifier="non virtual">hideEvent( QHideEvent * pHideEvent )</function> |
<function access="private" specifier="non virtual">hideEvent( QHideEvent * pHideEvent )</function> |
468 |
|
<function specifier="non virtual">setMainForm( qsamplerMainForm *pMainForm )</function> |
469 |
|
<function specifier="non virtual">setDeviceTypeMode( qsamplerDevice::qsamplerDeviceType deviceType )</function> |
470 |
<function specifier="non virtual">setClient( lscp_client_t *pClient )</function> |
<function specifier="non virtual">setClient( lscp_client_t *pClient )</function> |
471 |
|
<function specifier="non virtual">setDriverName( const QString & sDriverName )</function> |
472 |
|
<function specifier="non virtual">setDevice( qsamplerDevice *pDevice )</function> |
473 |
</functions> |
</functions> |
474 |
<pixmapinproject/> |
<pixmapinproject/> |
475 |
<layoutdefaults spacing="4" margin="4"/> |
<layoutdefaults spacing="4" margin="4"/> |
|
<includehints> |
|
|
<includehint>qsamplerdeviceparamtable.h</includehint> |
|
|
</includehints> |
|
476 |
</UI> |
</UI> |