1 |
<ui version="4.0" > |
2 |
<author>rncbc aka Rui Nuno Capela</author> |
3 |
<comment>qsampler - A LinuxSampler Qt GUI Interface. |
4 |
|
5 |
Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved. |
6 |
|
7 |
This program is free software; you can redistribute it and/or |
8 |
modify it under the terms of the GNU General Public License |
9 |
as published by the Free Software Foundation; either version 2 |
10 |
of the License, or (at your option) any later version. |
11 |
|
12 |
This program is distributed in the hope that it will be useful, |
13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 |
GNU General Public License for more details. |
16 |
|
17 |
You should have received a copy of the GNU General Public License along |
18 |
with this program; if not, write to the Free Software Foundation, Inc., |
19 |
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
20 |
|
21 |
</comment> |
22 |
<class>qsamplerDeviceForm</class> |
23 |
<widget class="QDialog" name="qsamplerDeviceForm" > |
24 |
<property name="geometry" > |
25 |
<rect> |
26 |
<x>0</x> |
27 |
<y>0</y> |
28 |
<width>601</width> |
29 |
<height>378</height> |
30 |
</rect> |
31 |
</property> |
32 |
<property name="sizePolicy" > |
33 |
<sizepolicy> |
34 |
<hsizetype>7</hsizetype> |
35 |
<vsizetype>1</vsizetype> |
36 |
<horstretch>0</horstretch> |
37 |
<verstretch>0</verstretch> |
38 |
</sizepolicy> |
39 |
</property> |
40 |
<property name="focusPolicy" > |
41 |
<enum>Qt::StrongFocus</enum> |
42 |
</property> |
43 |
<property name="windowTitle" > |
44 |
<string>Qsampler: Devices</string> |
45 |
</property> |
46 |
<property name="windowIcon" > |
47 |
<iconset resource="../icons/qsampler.qrc" >:/icons/qsamplerDevice.png</iconset> |
48 |
</property> |
49 |
<layout class="QVBoxLayout" > |
50 |
<property name="margin" > |
51 |
<number>9</number> |
52 |
</property> |
53 |
<property name="spacing" > |
54 |
<number>6</number> |
55 |
</property> |
56 |
<item> |
57 |
<layout class="QHBoxLayout" > |
58 |
<property name="margin" > |
59 |
<number>0</number> |
60 |
</property> |
61 |
<property name="spacing" > |
62 |
<number>6</number> |
63 |
</property> |
64 |
<item> |
65 |
<widget class="QTreeWidget" name="DeviceListView" > |
66 |
<property name="minimumSize" > |
67 |
<size> |
68 |
<width>160</width> |
69 |
<height>0</height> |
70 |
</size> |
71 |
</property> |
72 |
<property name="toolTip" > |
73 |
<string>Device list</string> |
74 |
</property> |
75 |
</widget> |
76 |
</item> |
77 |
<item> |
78 |
<layout class="QVBoxLayout" > |
79 |
<property name="margin" > |
80 |
<number>0</number> |
81 |
</property> |
82 |
<property name="spacing" > |
83 |
<number>6</number> |
84 |
</property> |
85 |
<item> |
86 |
<layout class="QHBoxLayout" > |
87 |
<property name="margin" > |
88 |
<number>0</number> |
89 |
</property> |
90 |
<property name="spacing" > |
91 |
<number>6</number> |
92 |
</property> |
93 |
<item> |
94 |
<widget class="QLabel" name="DeviceNameTextLabel" > |
95 |
<property name="sizePolicy" > |
96 |
<sizepolicy> |
97 |
<hsizetype>7</hsizetype> |
98 |
<vsizetype>5</vsizetype> |
99 |
<horstretch>0</horstretch> |
100 |
<verstretch>0</verstretch> |
101 |
</sizepolicy> |
102 |
</property> |
103 |
<property name="font" > |
104 |
<font> |
105 |
<weight>75</weight> |
106 |
<bold>true</bold> |
107 |
</font> |
108 |
</property> |
109 |
<property name="toolTip" > |
110 |
<string>Device name</string> |
111 |
</property> |
112 |
<property name="wordWrap" > |
113 |
<bool>false</bool> |
114 |
</property> |
115 |
<property name="indent" > |
116 |
<number>4</number> |
117 |
</property> |
118 |
</widget> |
119 |
</item> |
120 |
<item> |
121 |
<widget class="QLabel" name="DriverNameTextLabel" > |
122 |
<property name="text" > |
123 |
<string>Dri&ver:</string> |
124 |
</property> |
125 |
<property name="alignment" > |
126 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
127 |
</property> |
128 |
<property name="wordWrap" > |
129 |
<bool>false</bool> |
130 |
</property> |
131 |
<property name="buddy" > |
132 |
<cstring>DriverNameComboBox</cstring> |
133 |
</property> |
134 |
</widget> |
135 |
</item> |
136 |
<item> |
137 |
<widget class="QComboBox" name="DriverNameComboBox" > |
138 |
<property name="toolTip" > |
139 |
<string>Driver type name</string> |
140 |
</property> |
141 |
</widget> |
142 |
</item> |
143 |
</layout> |
144 |
</item> |
145 |
<item> |
146 |
<widget class="QTableView" name="DeviceParamTable" /> |
147 |
</item> |
148 |
<item> |
149 |
<layout class="QHBoxLayout" > |
150 |
<property name="margin" > |
151 |
<number>0</number> |
152 |
</property> |
153 |
<property name="spacing" > |
154 |
<number>6</number> |
155 |
</property> |
156 |
<item> |
157 |
<spacer> |
158 |
<property name="orientation" > |
159 |
<enum>Qt::Horizontal</enum> |
160 |
</property> |
161 |
<property name="sizeHint" > |
162 |
<size> |
163 |
<width>40</width> |
164 |
<height>20</height> |
165 |
</size> |
166 |
</property> |
167 |
</spacer> |
168 |
</item> |
169 |
<item> |
170 |
<widget class="QLabel" name="DevicePortTextLabel" > |
171 |
<property name="text" > |
172 |
<string>Channel:</string> |
173 |
</property> |
174 |
<property name="alignment" > |
175 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
176 |
</property> |
177 |
<property name="wordWrap" > |
178 |
<bool>false</bool> |
179 |
</property> |
180 |
<property name="buddy" > |
181 |
<cstring>DevicePortComboBox</cstring> |
182 |
</property> |
183 |
</widget> |
184 |
</item> |
185 |
<item> |
186 |
<widget class="QComboBox" name="DevicePortComboBox" > |
187 |
<property name="sizePolicy" > |
188 |
<sizepolicy> |
189 |
<hsizetype>7</hsizetype> |
190 |
<vsizetype>0</vsizetype> |
191 |
<horstretch>0</horstretch> |
192 |
<verstretch>0</verstretch> |
193 |
</sizepolicy> |
194 |
</property> |
195 |
<property name="toolTip" > |
196 |
<string>Device port/channel</string> |
197 |
</property> |
198 |
</widget> |
199 |
</item> |
200 |
</layout> |
201 |
</item> |
202 |
<item> |
203 |
<widget class="QTableView" name="DevicePortParamTable" /> |
204 |
</item> |
205 |
</layout> |
206 |
</item> |
207 |
</layout> |
208 |
</item> |
209 |
<item> |
210 |
<layout class="QHBoxLayout" > |
211 |
<property name="margin" > |
212 |
<number>0</number> |
213 |
</property> |
214 |
<property name="spacing" > |
215 |
<number>4</number> |
216 |
</property> |
217 |
<item> |
218 |
<widget class="QPushButton" name="RefreshDevicesPushButton" > |
219 |
<property name="toolTip" > |
220 |
<string>Refresh device list view</string> |
221 |
</property> |
222 |
<property name="text" > |
223 |
<string>&Refresh</string> |
224 |
</property> |
225 |
<property name="icon" > |
226 |
<iconset resource="../icons/qsampler.qrc" >:/icons/formRefresh.png</iconset> |
227 |
</property> |
228 |
<property name="shortcut" > |
229 |
<string>Alt+R</string> |
230 |
</property> |
231 |
</widget> |
232 |
</item> |
233 |
<item> |
234 |
<spacer> |
235 |
<property name="orientation" > |
236 |
<enum>Qt::Horizontal</enum> |
237 |
</property> |
238 |
<property name="sizeType" > |
239 |
<enum>QSizePolicy::Expanding</enum> |
240 |
</property> |
241 |
<property name="sizeHint" > |
242 |
<size> |
243 |
<width>180</width> |
244 |
<height>20</height> |
245 |
</size> |
246 |
</property> |
247 |
</spacer> |
248 |
</item> |
249 |
<item> |
250 |
<widget class="QPushButton" name="CreateDevicePushButton" > |
251 |
<property name="toolTip" > |
252 |
<string>Create device</string> |
253 |
</property> |
254 |
<property name="text" > |
255 |
<string>&Create</string> |
256 |
</property> |
257 |
<property name="icon" > |
258 |
<iconset resource="../icons/qsampler.qrc" >:/icons/deviceCreate.png</iconset> |
259 |
</property> |
260 |
<property name="shortcut" > |
261 |
<string>Alt+C</string> |
262 |
</property> |
263 |
</widget> |
264 |
</item> |
265 |
<item> |
266 |
<widget class="QPushButton" name="DeleteDevicePushButton" > |
267 |
<property name="toolTip" > |
268 |
<string>Delete device</string> |
269 |
</property> |
270 |
<property name="text" > |
271 |
<string>&Delete</string> |
272 |
</property> |
273 |
<property name="icon" > |
274 |
<iconset resource="../icons/qsampler.qrc" >:/icons/deviceDelete.png</iconset> |
275 |
</property> |
276 |
<property name="shortcut" > |
277 |
<string>Alt+D</string> |
278 |
</property> |
279 |
</widget> |
280 |
</item> |
281 |
<item> |
282 |
<widget class="QPushButton" name="ClosePushButton" > |
283 |
<property name="toolTip" > |
284 |
<string>Close this dialog</string> |
285 |
</property> |
286 |
<property name="text" > |
287 |
<string>Close</string> |
288 |
</property> |
289 |
<property name="icon" > |
290 |
<iconset resource="../icons/qsampler.qrc" >:/icons/formReject.png</iconset> |
291 |
</property> |
292 |
<property name="shortcut" > |
293 |
<string/> |
294 |
</property> |
295 |
</widget> |
296 |
</item> |
297 |
</layout> |
298 |
</item> |
299 |
</layout> |
300 |
</widget> |
301 |
<layoutdefault spacing="4" margin="4" /> |
302 |
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
303 |
<tabstops> |
304 |
<tabstop>DeviceListView</tabstop> |
305 |
<tabstop>RefreshDevicesPushButton</tabstop> |
306 |
<tabstop>DriverNameComboBox</tabstop> |
307 |
<tabstop>DevicePortComboBox</tabstop> |
308 |
<tabstop>CreateDevicePushButton</tabstop> |
309 |
<tabstop>DeleteDevicePushButton</tabstop> |
310 |
<tabstop>ClosePushButton</tabstop> |
311 |
</tabstops> |
312 |
<includes> |
313 |
<include location="local" >qsamplerDevice.h</include> |
314 |
</includes> |
315 |
<resources> |
316 |
<include location="../icons/qsampler.qrc" /> |
317 |
</resources> |
318 |
<connections> |
319 |
<connection> |
320 |
<sender>DeviceListView</sender> |
321 |
<signal>selectionChanged()</signal> |
322 |
<receiver>qsamplerDeviceForm</receiver> |
323 |
<slot>selectDevice()</slot> |
324 |
<hints> |
325 |
<hint type="sourcelabel" > |
326 |
<x>20</x> |
327 |
<y>20</y> |
328 |
</hint> |
329 |
<hint type="destinationlabel" > |
330 |
<x>20</x> |
331 |
<y>20</y> |
332 |
</hint> |
333 |
</hints> |
334 |
</connection> |
335 |
<connection> |
336 |
<sender>RefreshDevicesPushButton</sender> |
337 |
<signal>clicked()</signal> |
338 |
<receiver>qsamplerDeviceForm</receiver> |
339 |
<slot>refreshDevices()</slot> |
340 |
<hints> |
341 |
<hint type="sourcelabel" > |
342 |
<x>20</x> |
343 |
<y>20</y> |
344 |
</hint> |
345 |
<hint type="destinationlabel" > |
346 |
<x>20</x> |
347 |
<y>20</y> |
348 |
</hint> |
349 |
</hints> |
350 |
</connection> |
351 |
<connection> |
352 |
<sender>DriverNameComboBox</sender> |
353 |
<signal>activated(QString)</signal> |
354 |
<receiver>qsamplerDeviceForm</receiver> |
355 |
<slot>selectDriver(QString)</slot> |
356 |
<hints> |
357 |
<hint type="sourcelabel" > |
358 |
<x>20</x> |
359 |
<y>20</y> |
360 |
</hint> |
361 |
<hint type="destinationlabel" > |
362 |
<x>20</x> |
363 |
<y>20</y> |
364 |
</hint> |
365 |
</hints> |
366 |
</connection> |
367 |
<connection> |
368 |
<sender>DevicePortComboBox</sender> |
369 |
<signal>activated(int)</signal> |
370 |
<receiver>qsamplerDeviceForm</receiver> |
371 |
<slot>selectDevicePort(int)</slot> |
372 |
<hints> |
373 |
<hint type="sourcelabel" > |
374 |
<x>20</x> |
375 |
<y>20</y> |
376 |
</hint> |
377 |
<hint type="destinationlabel" > |
378 |
<x>20</x> |
379 |
<y>20</y> |
380 |
</hint> |
381 |
</hints> |
382 |
</connection> |
383 |
<connection> |
384 |
<sender>CreateDevicePushButton</sender> |
385 |
<signal>clicked()</signal> |
386 |
<receiver>qsamplerDeviceForm</receiver> |
387 |
<slot>createDevice()</slot> |
388 |
<hints> |
389 |
<hint type="sourcelabel" > |
390 |
<x>20</x> |
391 |
<y>20</y> |
392 |
</hint> |
393 |
<hint type="destinationlabel" > |
394 |
<x>20</x> |
395 |
<y>20</y> |
396 |
</hint> |
397 |
</hints> |
398 |
</connection> |
399 |
<connection> |
400 |
<sender>DeleteDevicePushButton</sender> |
401 |
<signal>clicked()</signal> |
402 |
<receiver>qsamplerDeviceForm</receiver> |
403 |
<slot>deleteDevice()</slot> |
404 |
<hints> |
405 |
<hint type="sourcelabel" > |
406 |
<x>20</x> |
407 |
<y>20</y> |
408 |
</hint> |
409 |
<hint type="destinationlabel" > |
410 |
<x>20</x> |
411 |
<y>20</y> |
412 |
</hint> |
413 |
</hints> |
414 |
</connection> |
415 |
<connection> |
416 |
<sender>ClosePushButton</sender> |
417 |
<signal>clicked()</signal> |
418 |
<receiver>qsamplerDeviceForm</receiver> |
419 |
<slot>close()</slot> |
420 |
<hints> |
421 |
<hint type="sourcelabel" > |
422 |
<x>20</x> |
423 |
<y>20</y> |
424 |
</hint> |
425 |
<hint type="destinationlabel" > |
426 |
<x>20</x> |
427 |
<y>20</y> |
428 |
</hint> |
429 |
</hints> |
430 |
</connection> |
431 |
</connections> |
432 |
</ui> |