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