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 |
|
|
<sizepolicy> |
35 |
|
|
<hsizetype>7</hsizetype> |
36 |
|
|
<vsizetype>1</vsizetype> |
37 |
|
|
<horstretch>0</horstretch> |
38 |
|
|
<verstretch>0</verstretch> |
39 |
|
|
</sizepolicy> |
40 |
|
|
</property> |
41 |
|
|
<property name="focusPolicy" > |
42 |
|
|
<enum>Qt::StrongFocus</enum> |
43 |
|
|
</property> |
44 |
|
|
<property name="windowTitle" > |
45 |
|
|
<string>Qsampler: Devices</string> |
46 |
|
|
</property> |
47 |
|
|
<property name="windowIcon" > |
48 |
capela |
1463 |
<iconset resource="../icons/qsampler.qrc" >:/icons/qsamplerDevice.png</iconset> |
49 |
schoenebeck |
1461 |
</property> |
50 |
|
|
<layout class="QVBoxLayout" > |
51 |
|
|
<property name="margin" > |
52 |
|
|
<number>9</number> |
53 |
|
|
</property> |
54 |
|
|
<property name="spacing" > |
55 |
|
|
<number>6</number> |
56 |
|
|
</property> |
57 |
|
|
<item> |
58 |
|
|
<layout class="QHBoxLayout" > |
59 |
|
|
<property name="margin" > |
60 |
|
|
<number>0</number> |
61 |
|
|
</property> |
62 |
|
|
<property name="spacing" > |
63 |
|
|
<number>6</number> |
64 |
|
|
</property> |
65 |
|
|
<item> |
66 |
|
|
<widget class="QTreeWidget" name="DeviceListView" > |
67 |
|
|
<property name="minimumSize" > |
68 |
|
|
<size> |
69 |
|
|
<width>160</width> |
70 |
|
|
<height>0</height> |
71 |
|
|
</size> |
72 |
|
|
</property> |
73 |
|
|
<property name="toolTip" > |
74 |
|
|
<string>Device list</string> |
75 |
|
|
</property> |
76 |
|
|
</widget> |
77 |
|
|
</item> |
78 |
|
|
<item> |
79 |
|
|
<layout class="QVBoxLayout" > |
80 |
|
|
<property name="margin" > |
81 |
|
|
<number>0</number> |
82 |
|
|
</property> |
83 |
|
|
<property name="spacing" > |
84 |
|
|
<number>6</number> |
85 |
|
|
</property> |
86 |
|
|
<item> |
87 |
|
|
<layout class="QHBoxLayout" > |
88 |
|
|
<property name="margin" > |
89 |
|
|
<number>0</number> |
90 |
|
|
</property> |
91 |
|
|
<property name="spacing" > |
92 |
|
|
<number>6</number> |
93 |
|
|
</property> |
94 |
|
|
<item> |
95 |
|
|
<widget class="QLabel" name="DeviceNameTextLabel" > |
96 |
|
|
<property name="sizePolicy" > |
97 |
|
|
<sizepolicy> |
98 |
|
|
<hsizetype>7</hsizetype> |
99 |
|
|
<vsizetype>5</vsizetype> |
100 |
|
|
<horstretch>0</horstretch> |
101 |
|
|
<verstretch>0</verstretch> |
102 |
|
|
</sizepolicy> |
103 |
|
|
</property> |
104 |
|
|
<property name="font" > |
105 |
|
|
<font> |
106 |
|
|
<weight>75</weight> |
107 |
|
|
<bold>true</bold> |
108 |
|
|
</font> |
109 |
|
|
</property> |
110 |
|
|
<property name="toolTip" > |
111 |
|
|
<string>Device name</string> |
112 |
|
|
</property> |
113 |
|
|
<property name="wordWrap" > |
114 |
|
|
<bool>false</bool> |
115 |
|
|
</property> |
116 |
|
|
<property name="indent" > |
117 |
|
|
<number>4</number> |
118 |
|
|
</property> |
119 |
|
|
</widget> |
120 |
|
|
</item> |
121 |
|
|
<item> |
122 |
|
|
<widget class="QLabel" name="DriverNameTextLabel" > |
123 |
|
|
<property name="text" > |
124 |
|
|
<string>Dri&ver:</string> |
125 |
|
|
</property> |
126 |
|
|
<property name="alignment" > |
127 |
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
128 |
|
|
</property> |
129 |
|
|
<property name="wordWrap" > |
130 |
|
|
<bool>false</bool> |
131 |
|
|
</property> |
132 |
|
|
<property name="buddy" > |
133 |
|
|
<cstring>DriverNameComboBox</cstring> |
134 |
|
|
</property> |
135 |
|
|
</widget> |
136 |
|
|
</item> |
137 |
|
|
<item> |
138 |
|
|
<widget class="QComboBox" name="DriverNameComboBox" > |
139 |
|
|
<property name="toolTip" > |
140 |
|
|
<string>Driver type name</string> |
141 |
|
|
</property> |
142 |
|
|
</widget> |
143 |
|
|
</item> |
144 |
|
|
</layout> |
145 |
|
|
</item> |
146 |
|
|
<item> |
147 |
schoenebeck |
1486 |
<widget class="QTableView" name="DeviceParamTable" > |
148 |
|
|
<property name="alternatingRowColors" > |
149 |
|
|
<bool>true</bool> |
150 |
|
|
</property> |
151 |
|
|
<property name="showGrid" > |
152 |
|
|
<bool>false</bool> |
153 |
|
|
</property> |
154 |
|
|
</widget> |
155 |
schoenebeck |
1461 |
</item> |
156 |
|
|
<item> |
157 |
|
|
<layout class="QHBoxLayout" > |
158 |
|
|
<property name="margin" > |
159 |
|
|
<number>0</number> |
160 |
|
|
</property> |
161 |
|
|
<property name="spacing" > |
162 |
|
|
<number>6</number> |
163 |
|
|
</property> |
164 |
|
|
<item> |
165 |
|
|
<spacer> |
166 |
|
|
<property name="orientation" > |
167 |
|
|
<enum>Qt::Horizontal</enum> |
168 |
|
|
</property> |
169 |
|
|
<property name="sizeHint" > |
170 |
|
|
<size> |
171 |
|
|
<width>40</width> |
172 |
|
|
<height>20</height> |
173 |
|
|
</size> |
174 |
|
|
</property> |
175 |
|
|
</spacer> |
176 |
|
|
</item> |
177 |
|
|
<item> |
178 |
|
|
<widget class="QLabel" name="DevicePortTextLabel" > |
179 |
|
|
<property name="text" > |
180 |
|
|
<string>Channel:</string> |
181 |
|
|
</property> |
182 |
|
|
<property name="alignment" > |
183 |
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
184 |
|
|
</property> |
185 |
|
|
<property name="wordWrap" > |
186 |
|
|
<bool>false</bool> |
187 |
|
|
</property> |
188 |
|
|
<property name="buddy" > |
189 |
|
|
<cstring>DevicePortComboBox</cstring> |
190 |
|
|
</property> |
191 |
|
|
</widget> |
192 |
|
|
</item> |
193 |
|
|
<item> |
194 |
|
|
<widget class="QComboBox" name="DevicePortComboBox" > |
195 |
|
|
<property name="sizePolicy" > |
196 |
|
|
<sizepolicy> |
197 |
|
|
<hsizetype>7</hsizetype> |
198 |
|
|
<vsizetype>0</vsizetype> |
199 |
|
|
<horstretch>0</horstretch> |
200 |
|
|
<verstretch>0</verstretch> |
201 |
|
|
</sizepolicy> |
202 |
|
|
</property> |
203 |
|
|
<property name="toolTip" > |
204 |
|
|
<string>Device port/channel</string> |
205 |
|
|
</property> |
206 |
|
|
</widget> |
207 |
|
|
</item> |
208 |
|
|
</layout> |
209 |
|
|
</item> |
210 |
|
|
<item> |
211 |
schoenebeck |
1486 |
<widget class="QTableView" name="DevicePortParamTable" > |
212 |
|
|
<property name="alternatingRowColors" > |
213 |
|
|
<bool>true</bool> |
214 |
|
|
</property> |
215 |
|
|
<property name="showGrid" > |
216 |
|
|
<bool>false</bool> |
217 |
|
|
</property> |
218 |
|
|
</widget> |
219 |
schoenebeck |
1461 |
</item> |
220 |
|
|
</layout> |
221 |
|
|
</item> |
222 |
|
|
</layout> |
223 |
|
|
</item> |
224 |
|
|
<item> |
225 |
|
|
<layout class="QHBoxLayout" > |
226 |
|
|
<property name="margin" > |
227 |
|
|
<number>0</number> |
228 |
|
|
</property> |
229 |
|
|
<property name="spacing" > |
230 |
|
|
<number>4</number> |
231 |
|
|
</property> |
232 |
|
|
<item> |
233 |
|
|
<widget class="QPushButton" name="RefreshDevicesPushButton" > |
234 |
|
|
<property name="toolTip" > |
235 |
|
|
<string>Refresh device list view</string> |
236 |
|
|
</property> |
237 |
|
|
<property name="text" > |
238 |
|
|
<string>&Refresh</string> |
239 |
|
|
</property> |
240 |
|
|
<property name="icon" > |
241 |
capela |
1463 |
<iconset resource="../icons/qsampler.qrc" >:/icons/formRefresh.png</iconset> |
242 |
schoenebeck |
1461 |
</property> |
243 |
|
|
<property name="shortcut" > |
244 |
|
|
<string>Alt+R</string> |
245 |
|
|
</property> |
246 |
|
|
</widget> |
247 |
|
|
</item> |
248 |
|
|
<item> |
249 |
|
|
<spacer> |
250 |
|
|
<property name="orientation" > |
251 |
|
|
<enum>Qt::Horizontal</enum> |
252 |
|
|
</property> |
253 |
|
|
<property name="sizeType" > |
254 |
|
|
<enum>QSizePolicy::Expanding</enum> |
255 |
|
|
</property> |
256 |
|
|
<property name="sizeHint" > |
257 |
|
|
<size> |
258 |
|
|
<width>180</width> |
259 |
|
|
<height>20</height> |
260 |
|
|
</size> |
261 |
|
|
</property> |
262 |
|
|
</spacer> |
263 |
|
|
</item> |
264 |
|
|
<item> |
265 |
|
|
<widget class="QPushButton" name="CreateDevicePushButton" > |
266 |
|
|
<property name="toolTip" > |
267 |
|
|
<string>Create device</string> |
268 |
|
|
</property> |
269 |
|
|
<property name="text" > |
270 |
|
|
<string>&Create</string> |
271 |
|
|
</property> |
272 |
|
|
<property name="icon" > |
273 |
capela |
1463 |
<iconset resource="../icons/qsampler.qrc" >:/icons/deviceCreate.png</iconset> |
274 |
schoenebeck |
1461 |
</property> |
275 |
|
|
<property name="shortcut" > |
276 |
|
|
<string>Alt+C</string> |
277 |
|
|
</property> |
278 |
|
|
</widget> |
279 |
|
|
</item> |
280 |
|
|
<item> |
281 |
|
|
<widget class="QPushButton" name="DeleteDevicePushButton" > |
282 |
|
|
<property name="toolTip" > |
283 |
|
|
<string>Delete device</string> |
284 |
|
|
</property> |
285 |
|
|
<property name="text" > |
286 |
|
|
<string>&Delete</string> |
287 |
|
|
</property> |
288 |
|
|
<property name="icon" > |
289 |
capela |
1463 |
<iconset resource="../icons/qsampler.qrc" >:/icons/deviceDelete.png</iconset> |
290 |
schoenebeck |
1461 |
</property> |
291 |
|
|
<property name="shortcut" > |
292 |
|
|
<string>Alt+D</string> |
293 |
|
|
</property> |
294 |
|
|
</widget> |
295 |
|
|
</item> |
296 |
|
|
<item> |
297 |
|
|
<widget class="QPushButton" name="ClosePushButton" > |
298 |
|
|
<property name="toolTip" > |
299 |
|
|
<string>Close this dialog</string> |
300 |
|
|
</property> |
301 |
|
|
<property name="text" > |
302 |
|
|
<string>Close</string> |
303 |
|
|
</property> |
304 |
|
|
<property name="icon" > |
305 |
capela |
1463 |
<iconset resource="../icons/qsampler.qrc" >:/icons/formReject.png</iconset> |
306 |
schoenebeck |
1461 |
</property> |
307 |
|
|
<property name="shortcut" > |
308 |
|
|
<string/> |
309 |
|
|
</property> |
310 |
|
|
</widget> |
311 |
|
|
</item> |
312 |
|
|
</layout> |
313 |
|
|
</item> |
314 |
|
|
</layout> |
315 |
|
|
</widget> |
316 |
|
|
<layoutdefault spacing="4" margin="4" /> |
317 |
|
|
<tabstops> |
318 |
|
|
<tabstop>DeviceListView</tabstop> |
319 |
|
|
<tabstop>RefreshDevicesPushButton</tabstop> |
320 |
|
|
<tabstop>DriverNameComboBox</tabstop> |
321 |
|
|
<tabstop>DevicePortComboBox</tabstop> |
322 |
|
|
<tabstop>CreateDevicePushButton</tabstop> |
323 |
|
|
<tabstop>DeleteDevicePushButton</tabstop> |
324 |
|
|
<tabstop>ClosePushButton</tabstop> |
325 |
|
|
</tabstops> |
326 |
|
|
<resources> |
327 |
capela |
1463 |
<include location="../icons/qsampler.qrc" /> |
328 |
schoenebeck |
1461 |
</resources> |
329 |
|
|
</ui> |