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