/[svn]/qsampler/trunk/src/qsamplerDeviceForm.ui
ViewVC logotype

Contents of /qsampler/trunk/src/qsamplerDeviceForm.ui

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1464 - (show annotations) (download)
Thu Nov 1 17:14:21 2007 UTC (16 years, 5 months ago) by capela
File size: 12056 byte(s)
- Qt4 migration: missing copyright headers update.

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 Copyright (C) 2007, Christian Schoenebeck
7
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 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
22 </comment>
23 <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 <iconset resource="../icons/qsampler.qrc" >:/icons/qsamplerDevice.png</iconset>
49 </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&amp;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 <widget class="QTableView" name="DeviceParamTable" />
148 </item>
149 <item>
150 <layout class="QHBoxLayout" >
151 <property name="margin" >
152 <number>0</number>
153 </property>
154 <property name="spacing" >
155 <number>6</number>
156 </property>
157 <item>
158 <spacer>
159 <property name="orientation" >
160 <enum>Qt::Horizontal</enum>
161 </property>
162 <property name="sizeHint" >
163 <size>
164 <width>40</width>
165 <height>20</height>
166 </size>
167 </property>
168 </spacer>
169 </item>
170 <item>
171 <widget class="QLabel" name="DevicePortTextLabel" >
172 <property name="text" >
173 <string>Channel:</string>
174 </property>
175 <property name="alignment" >
176 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
177 </property>
178 <property name="wordWrap" >
179 <bool>false</bool>
180 </property>
181 <property name="buddy" >
182 <cstring>DevicePortComboBox</cstring>
183 </property>
184 </widget>
185 </item>
186 <item>
187 <widget class="QComboBox" name="DevicePortComboBox" >
188 <property name="sizePolicy" >
189 <sizepolicy>
190 <hsizetype>7</hsizetype>
191 <vsizetype>0</vsizetype>
192 <horstretch>0</horstretch>
193 <verstretch>0</verstretch>
194 </sizepolicy>
195 </property>
196 <property name="toolTip" >
197 <string>Device port/channel</string>
198 </property>
199 </widget>
200 </item>
201 </layout>
202 </item>
203 <item>
204 <widget class="QTableView" name="DevicePortParamTable" />
205 </item>
206 </layout>
207 </item>
208 </layout>
209 </item>
210 <item>
211 <layout class="QHBoxLayout" >
212 <property name="margin" >
213 <number>0</number>
214 </property>
215 <property name="spacing" >
216 <number>4</number>
217 </property>
218 <item>
219 <widget class="QPushButton" name="RefreshDevicesPushButton" >
220 <property name="toolTip" >
221 <string>Refresh device list view</string>
222 </property>
223 <property name="text" >
224 <string>&amp;Refresh</string>
225 </property>
226 <property name="icon" >
227 <iconset resource="../icons/qsampler.qrc" >:/icons/formRefresh.png</iconset>
228 </property>
229 <property name="shortcut" >
230 <string>Alt+R</string>
231 </property>
232 </widget>
233 </item>
234 <item>
235 <spacer>
236 <property name="orientation" >
237 <enum>Qt::Horizontal</enum>
238 </property>
239 <property name="sizeType" >
240 <enum>QSizePolicy::Expanding</enum>
241 </property>
242 <property name="sizeHint" >
243 <size>
244 <width>180</width>
245 <height>20</height>
246 </size>
247 </property>
248 </spacer>
249 </item>
250 <item>
251 <widget class="QPushButton" name="CreateDevicePushButton" >
252 <property name="toolTip" >
253 <string>Create device</string>
254 </property>
255 <property name="text" >
256 <string>&amp;Create</string>
257 </property>
258 <property name="icon" >
259 <iconset resource="../icons/qsampler.qrc" >:/icons/deviceCreate.png</iconset>
260 </property>
261 <property name="shortcut" >
262 <string>Alt+C</string>
263 </property>
264 </widget>
265 </item>
266 <item>
267 <widget class="QPushButton" name="DeleteDevicePushButton" >
268 <property name="toolTip" >
269 <string>Delete device</string>
270 </property>
271 <property name="text" >
272 <string>&amp;Delete</string>
273 </property>
274 <property name="icon" >
275 <iconset resource="../icons/qsampler.qrc" >:/icons/deviceDelete.png</iconset>
276 </property>
277 <property name="shortcut" >
278 <string>Alt+D</string>
279 </property>
280 </widget>
281 </item>
282 <item>
283 <widget class="QPushButton" name="ClosePushButton" >
284 <property name="toolTip" >
285 <string>Close this dialog</string>
286 </property>
287 <property name="text" >
288 <string>Close</string>
289 </property>
290 <property name="icon" >
291 <iconset resource="../icons/qsampler.qrc" >:/icons/formReject.png</iconset>
292 </property>
293 <property name="shortcut" >
294 <string/>
295 </property>
296 </widget>
297 </item>
298 </layout>
299 </item>
300 </layout>
301 </widget>
302 <layoutdefault spacing="4" margin="4" />
303 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
304 <tabstops>
305 <tabstop>DeviceListView</tabstop>
306 <tabstop>RefreshDevicesPushButton</tabstop>
307 <tabstop>DriverNameComboBox</tabstop>
308 <tabstop>DevicePortComboBox</tabstop>
309 <tabstop>CreateDevicePushButton</tabstop>
310 <tabstop>DeleteDevicePushButton</tabstop>
311 <tabstop>ClosePushButton</tabstop>
312 </tabstops>
313 <includes>
314 <include location="local" >qsamplerDevice.h</include>
315 </includes>
316 <resources>
317 <include location="../icons/qsampler.qrc" />
318 </resources>
319 <connections>
320 <connection>
321 <sender>DeviceListView</sender>
322 <signal>selectionChanged()</signal>
323 <receiver>qsamplerDeviceForm</receiver>
324 <slot>selectDevice()</slot>
325 <hints>
326 <hint type="sourcelabel" >
327 <x>20</x>
328 <y>20</y>
329 </hint>
330 <hint type="destinationlabel" >
331 <x>20</x>
332 <y>20</y>
333 </hint>
334 </hints>
335 </connection>
336 <connection>
337 <sender>RefreshDevicesPushButton</sender>
338 <signal>clicked()</signal>
339 <receiver>qsamplerDeviceForm</receiver>
340 <slot>refreshDevices()</slot>
341 <hints>
342 <hint type="sourcelabel" >
343 <x>20</x>
344 <y>20</y>
345 </hint>
346 <hint type="destinationlabel" >
347 <x>20</x>
348 <y>20</y>
349 </hint>
350 </hints>
351 </connection>
352 <connection>
353 <sender>DriverNameComboBox</sender>
354 <signal>activated(QString)</signal>
355 <receiver>qsamplerDeviceForm</receiver>
356 <slot>selectDriver(QString)</slot>
357 <hints>
358 <hint type="sourcelabel" >
359 <x>20</x>
360 <y>20</y>
361 </hint>
362 <hint type="destinationlabel" >
363 <x>20</x>
364 <y>20</y>
365 </hint>
366 </hints>
367 </connection>
368 <connection>
369 <sender>DevicePortComboBox</sender>
370 <signal>activated(int)</signal>
371 <receiver>qsamplerDeviceForm</receiver>
372 <slot>selectDevicePort(int)</slot>
373 <hints>
374 <hint type="sourcelabel" >
375 <x>20</x>
376 <y>20</y>
377 </hint>
378 <hint type="destinationlabel" >
379 <x>20</x>
380 <y>20</y>
381 </hint>
382 </hints>
383 </connection>
384 <connection>
385 <sender>CreateDevicePushButton</sender>
386 <signal>clicked()</signal>
387 <receiver>qsamplerDeviceForm</receiver>
388 <slot>createDevice()</slot>
389 <hints>
390 <hint type="sourcelabel" >
391 <x>20</x>
392 <y>20</y>
393 </hint>
394 <hint type="destinationlabel" >
395 <x>20</x>
396 <y>20</y>
397 </hint>
398 </hints>
399 </connection>
400 <connection>
401 <sender>DeleteDevicePushButton</sender>
402 <signal>clicked()</signal>
403 <receiver>qsamplerDeviceForm</receiver>
404 <slot>deleteDevice()</slot>
405 <hints>
406 <hint type="sourcelabel" >
407 <x>20</x>
408 <y>20</y>
409 </hint>
410 <hint type="destinationlabel" >
411 <x>20</x>
412 <y>20</y>
413 </hint>
414 </hints>
415 </connection>
416 <connection>
417 <sender>ClosePushButton</sender>
418 <signal>clicked()</signal>
419 <receiver>qsamplerDeviceForm</receiver>
420 <slot>close()</slot>
421 <hints>
422 <hint type="sourcelabel" >
423 <x>20</x>
424 <y>20</y>
425 </hint>
426 <hint type="destinationlabel" >
427 <x>20</x>
428 <y>20</y>
429 </hint>
430 </hints>
431 </connection>
432 </connections>
433 </ui>

  ViewVC Help
Powered by ViewVC