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>542</width> |
<width>536</width> |
32 |
<height>331</height> |
<height>301</height> |
33 |
</rect> |
</rect> |
34 |
</property> |
</property> |
35 |
<property name="sizePolicy"> |
<property name="sizePolicy"> |
44 |
<string>Devices</string> |
<string>Devices</string> |
45 |
</property> |
</property> |
46 |
<property name="icon"> |
<property name="icon"> |
47 |
<pixmap>qsamplerChannel.png</pixmap> |
<pixmap>qsamplerDevice.png</pixmap> |
48 |
</property> |
</property> |
49 |
<property name="focusPolicy"> |
<property name="focusPolicy"> |
50 |
<enum>StrongFocus</enum> |
<enum>StrongFocus</enum> |
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>layout4</cstring> |
104 |
</property> |
</property> |
105 |
<widget class="QLabel" row="0" column="0"> |
<grid> |
106 |
<property name="name"> |
<property name="name"> |
107 |
<cstring>DeviceNameTextLabel</cstring> |
<cstring>unnamed</cstring> |
|
</property> |
|
|
<property name="sizePolicy"> |
|
|
<sizepolicy> |
|
|
<hsizetype>7</hsizetype> |
|
|
<vsizetype>5</vsizetype> |
|
|
<horstretch>0</horstretch> |
|
|
<verstretch>0</verstretch> |
|
|
</sizepolicy> |
|
|
</property> |
|
|
<property name="font"> |
|
|
<font> |
|
|
<pointsize>10</pointsize> |
|
|
<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"> |
|
|
<property name="name"> |
|
|
<cstring>DeviceParamTable</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> |
|
108 |
</property> |
</property> |
109 |
<property name="focusPolicy"> |
<widget class="QLabel" row="0" column="0"> |
110 |
<enum>StrongFocus</enum> |
<property name="name"> |
111 |
</property> |
<cstring>DeviceNameTextLabel</cstring> |
112 |
<property name="toolTip" stdset="0"> |
</property> |
113 |
<string>Device parameters</string> |
<property name="sizePolicy"> |
114 |
</property> |
<sizepolicy> |
115 |
</widget> |
<hsizetype>7</hsizetype> |
116 |
<widget class="QComboBox" row="0" column="2"> |
<vsizetype>5</vsizetype> |
117 |
<property name="name"> |
<horstretch>0</horstretch> |
118 |
<cstring>DriverNameComboBox</cstring> |
<verstretch>0</verstretch> |
119 |
</property> |
</sizepolicy> |
120 |
<property name="toolTip" stdset="0"> |
</property> |
121 |
<string>Driver type name</string> |
<property name="font"> |
122 |
</property> |
<font> |
123 |
</widget> |
<bold>1</bold> |
124 |
<widget class="QLabel" row="0" column="1"> |
</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>360</width> |
162 |
|
<height>120</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>layout5</cstring> |
185 |
|
</property> |
186 |
|
<vbox> |
187 |
<property name="name"> |
<property name="name"> |
188 |
<cstring>DriverNameTextLabel</cstring> |
<cstring>unnamed</cstring> |
189 |
</property> |
</property> |
190 |
<property name="text"> |
<widget class="QComboBox"> |
191 |
<string>Dri&ver:</string> |
<property name="name"> |
192 |
</property> |
<cstring>DevicePortComboBox</cstring> |
193 |
<property name="alignment"> |
</property> |
194 |
<set>AlignVCenter|AlignRight</set> |
<property name="toolTip" stdset="0"> |
195 |
</property> |
<string>Device port/channel</string> |
196 |
<property name="buddy" stdset="0"> |
</property> |
197 |
<cstring>DriverNameComboBox</cstring> |
</widget> |
198 |
</property> |
<widget class="qsamplerDeviceParamTable"> |
199 |
</widget> |
<property name="name"> |
200 |
</grid> |
<cstring>DevicePortParamTable</cstring> |
201 |
|
</property> |
202 |
|
<property name="sizePolicy"> |
203 |
|
<sizepolicy> |
204 |
|
<hsizetype>7</hsizetype> |
205 |
|
<vsizetype>7</vsizetype> |
206 |
|
<horstretch>0</horstretch> |
207 |
|
<verstretch>0</verstretch> |
208 |
|
</sizepolicy> |
209 |
|
</property> |
210 |
|
<property name="minimumSize"> |
211 |
|
<size> |
212 |
|
<width>360</width> |
213 |
|
<height>80</height> |
214 |
|
</size> |
215 |
|
</property> |
216 |
|
<property name="focusPolicy"> |
217 |
|
<enum>StrongFocus</enum> |
218 |
|
</property> |
219 |
|
<property name="toolTip" stdset="0"> |
220 |
|
<string>Device port/channel parameters</string> |
221 |
|
</property> |
222 |
|
</widget> |
223 |
|
</vbox> |
224 |
|
</widget> |
225 |
</widget> |
</widget> |
226 |
</widget> |
</widget> |
227 |
<widget class="QLayoutWidget"> |
<widget class="QLayoutWidget"> |
242 |
<property name="accel"> |
<property name="accel"> |
243 |
<string>Alt+R</string> |
<string>Alt+R</string> |
244 |
</property> |
</property> |
245 |
|
<property name="iconSet"> |
246 |
|
<iconset>formRefresh.png</iconset> |
247 |
|
</property> |
248 |
<property name="toolTip" stdset="0"> |
<property name="toolTip" stdset="0"> |
249 |
<string>refresh device list view</string> |
<string>refresh device list view</string> |
250 |
</property> |
</property> |
276 |
<property name="accel"> |
<property name="accel"> |
277 |
<string>Alt+C</string> |
<string>Alt+C</string> |
278 |
</property> |
</property> |
279 |
|
<property name="iconSet"> |
280 |
|
<iconset>deviceCreate.png</iconset> |
281 |
|
</property> |
282 |
<property name="toolTip" stdset="0"> |
<property name="toolTip" stdset="0"> |
283 |
<string>Create current device</string> |
<string>Create current device</string> |
284 |
</property> |
</property> |
293 |
<property name="accel"> |
<property name="accel"> |
294 |
<string>Alt+D</string> |
<string>Alt+D</string> |
295 |
</property> |
</property> |
296 |
|
<property name="iconSet"> |
297 |
|
<iconset>deviceDelete.png</iconset> |
298 |
|
</property> |
299 |
<property name="toolTip" stdset="0"> |
<property name="toolTip" stdset="0"> |
300 |
<string>Delete current device</string> |
<string>Delete current device</string> |
301 |
</property> |
</property> |
310 |
<property name="accel"> |
<property name="accel"> |
311 |
<string></string> |
<string></string> |
312 |
</property> |
</property> |
313 |
|
<property name="iconSet"> |
314 |
|
<iconset>formReject.png</iconset> |
315 |
|
</property> |
316 |
<property name="toolTip" stdset="0"> |
<property name="toolTip" stdset="0"> |
317 |
<string>Close this dialog</string> |
<string>Close this dialog</string> |
318 |
</property> |
</property> |
352 |
<slot>selectDevice()</slot> |
<slot>selectDevice()</slot> |
353 |
</connection> |
</connection> |
354 |
<connection> |
<connection> |
355 |
|
<sender>DeviceListView</sender> |
356 |
|
<signal>contextMenuRequested(QListViewItem*,const QPoint&,int)</signal> |
357 |
|
<receiver>qsamplerDeviceForm</receiver> |
358 |
|
<slot>contextMenu(QListViewItem*,const QPoint&,int)</slot> |
359 |
|
</connection> |
360 |
|
<connection> |
361 |
<sender>RefreshDevicesPushButton</sender> |
<sender>RefreshDevicesPushButton</sender> |
362 |
<signal>clicked()</signal> |
<signal>clicked()</signal> |
363 |
<receiver>qsamplerDeviceForm</receiver> |
<receiver>qsamplerDeviceForm</receiver> |
370 |
<slot>selectDriver(const QString&)</slot> |
<slot>selectDriver(const QString&)</slot> |
371 |
</connection> |
</connection> |
372 |
<connection> |
<connection> |
373 |
|
<sender>DevicePortComboBox</sender> |
374 |
|
<signal>activated(int)</signal> |
375 |
|
<receiver>qsamplerDeviceForm</receiver> |
376 |
|
<slot>selectDevicePort(int)</slot> |
377 |
|
</connection> |
378 |
|
<connection> |
379 |
<sender>CreateDevicePushButton</sender> |
<sender>CreateDevicePushButton</sender> |
380 |
<signal>clicked()</signal> |
<signal>clicked()</signal> |
381 |
<receiver>qsamplerDeviceForm</receiver> |
<receiver>qsamplerDeviceForm</receiver> |
399 |
<tabstop>RefreshDevicesPushButton</tabstop> |
<tabstop>RefreshDevicesPushButton</tabstop> |
400 |
<tabstop>DriverNameComboBox</tabstop> |
<tabstop>DriverNameComboBox</tabstop> |
401 |
<tabstop>DeviceParamTable</tabstop> |
<tabstop>DeviceParamTable</tabstop> |
402 |
|
<tabstop>DevicePortComboBox</tabstop> |
403 |
|
<tabstop>DevicePortParamTable</tabstop> |
404 |
<tabstop>CreateDevicePushButton</tabstop> |
<tabstop>CreateDevicePushButton</tabstop> |
405 |
<tabstop>DeleteDevicePushButton</tabstop> |
<tabstop>DeleteDevicePushButton</tabstop> |
406 |
<tabstop>ClosePushButton</tabstop> |
<tabstop>ClosePushButton</tabstop> |
415 |
<variables> |
<variables> |
416 |
<variable access="private">qsamplerMainForm *m_pMainForm;</variable> |
<variable access="private">qsamplerMainForm *m_pMainForm;</variable> |
417 |
<variable access="private">int m_iDirtySetup;</variable> |
<variable access="private">int m_iDirtySetup;</variable> |
|
<variable access="private">int m_iDirtyCount;</variable> |
|
418 |
<variable access="private">lscp_client_t *m_pClient;</variable> |
<variable access="private">lscp_client_t *m_pClient;</variable> |
419 |
<variable access="private">bool m_bNewDevice;</variable> |
<variable access="private">bool m_bNewDevice;</variable> |
420 |
<variable access="private">qsamplerDevice::qsamplerDeviceType m_deviceType;</variable> |
<variable access="private">qsamplerDevice::qsamplerDeviceType m_deviceType;</variable> |
421 |
|
<variable access="private">qsamplerDeviceItem *m_pAudioItems;</variable> |
422 |
|
<variable access="private">qsamplerDeviceItem *m_pMidiItems;</variable> |
423 |
</variables> |
</variables> |
424 |
<slots> |
<slots> |
425 |
<slot specifier="non virtual">createDevice()</slot> |
<slot specifier="non virtual">createDevice()</slot> |
427 |
<slot specifier="non virtual">refreshDevices()</slot> |
<slot specifier="non virtual">refreshDevices()</slot> |
428 |
<slot specifier="non virtual">selectDriver( const QString & sDriverName )</slot> |
<slot specifier="non virtual">selectDriver( const QString & sDriverName )</slot> |
429 |
<slot specifier="non virtual">selectDevice()</slot> |
<slot specifier="non virtual">selectDevice()</slot> |
430 |
<slot specifier="non virtual">changeValue( int iRow, int iCol )</slot> |
<slot specifier="non virtual">selectDevicePort( int iPort )</slot> |
431 |
|
<slot specifier="non virtual">changeDeviceParam( int iRow, int iCol )</slot> |
432 |
|
<slot specifier="non virtual">changeDevicePortParam( int iRow, int iCol )</slot> |
433 |
|
<slot specifier="non virtual">contextMenu(QListViewItem *, const QPoint&, int)</slot> |
434 |
<slot specifier="non virtual">stabilizeForm()</slot> |
<slot specifier="non virtual">stabilizeForm()</slot> |
435 |
</slots> |
</slots> |
436 |
<functions> |
<functions> |
444 |
<layoutdefaults spacing="4" margin="4"/> |
<layoutdefaults spacing="4" margin="4"/> |
445 |
<includehints> |
<includehints> |
446 |
<includehint>qsamplerdeviceparamtable.h</includehint> |
<includehint>qsamplerdeviceparamtable.h</includehint> |
447 |
|
<includehint>qsamplerdeviceparamtable.h</includehint> |
448 |
</includehints> |
</includehints> |
449 |
</UI> |
</UI> |