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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 432 - (show annotations) (download)
Wed Mar 9 11:33:27 2005 UTC (19 years ago) by capela
File size: 23014 byte(s)
Device configuration table is now editable, but non-applicable yet.

1 <!DOCTYPE UI><UI version="3.1" stdsetdef="1">
2 <class>qsamplerDeviceForm</class>
3 <comment>qsampler - A LinuxSampler Qt GUI Interface.
4
5 Copyright (C) 2005, 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
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
21 </comment>
22 <author>rncbc aka Rui Nuno Capela</author>
23 <widget class="QDialog">
24 <property name="name">
25 <cstring>qsamplerDeviceForm</cstring>
26 </property>
27 <property name="geometry">
28 <rect>
29 <x>0</x>
30 <y>0</y>
31 <width>604</width>
32 <height>329</height>
33 </rect>
34 </property>
35 <property name="sizePolicy">
36 <sizepolicy>
37 <hsizetype>7</hsizetype>
38 <vsizetype>1</vsizetype>
39 <horstretch>0</horstretch>
40 <verstretch>0</verstretch>
41 </sizepolicy>
42 </property>
43 <property name="caption">
44 <string>Devices</string>
45 </property>
46 <property name="icon">
47 <pixmap>qsamplerChannel.png</pixmap>
48 </property>
49 <property name="focusPolicy">
50 <enum>StrongFocus</enum>
51 </property>
52 <hbox>
53 <property name="name">
54 <cstring>unnamed</cstring>
55 </property>
56 <widget class="QSplitter">
57 <property name="name">
58 <cstring>DeviceSplitter</cstring>
59 </property>
60 <property name="orientation">
61 <enum>Horizontal</enum>
62 </property>
63 <widget class="QLayoutWidget">
64 <property name="name">
65 <cstring>layout1</cstring>
66 </property>
67 <grid>
68 <property name="name">
69 <cstring>unnamed</cstring>
70 </property>
71 <widget class="QPushButton" row="1" column="1">
72 <property name="name">
73 <cstring>SaveDevicesPushButton</cstring>
74 </property>
75 <property name="minimumSize">
76 <size>
77 <width>0</width>
78 <height>28</height>
79 </size>
80 </property>
81 <property name="maximumSize">
82 <size>
83 <width>32767</width>
84 <height>28</height>
85 </size>
86 </property>
87 <property name="text">
88 <string>&amp;Save...</string>
89 </property>
90 <property name="accel">
91 <string>Alt+S</string>
92 </property>
93 <property name="iconSet">
94 <iconset>fileSave.png</iconset>
95 </property>
96 <property name="toolTip" stdset="0">
97 <string>Save device configuration to file</string>
98 </property>
99 </widget>
100 <spacer row="1" column="2">
101 <property name="name">
102 <cstring>spacer1</cstring>
103 </property>
104 <property name="orientation">
105 <enum>Horizontal</enum>
106 </property>
107 <property name="sizeType">
108 <enum>Expanding</enum>
109 </property>
110 <property name="sizeHint">
111 <size>
112 <width>24</width>
113 <height>16</height>
114 </size>
115 </property>
116 </spacer>
117 <widget class="QPushButton" row="1" column="0">
118 <property name="name">
119 <cstring>LoadDevicesPushButton</cstring>
120 </property>
121 <property name="minimumSize">
122 <size>
123 <width>0</width>
124 <height>28</height>
125 </size>
126 </property>
127 <property name="maximumSize">
128 <size>
129 <width>32767</width>
130 <height>28</height>
131 </size>
132 </property>
133 <property name="text">
134 <string>&amp;Load...</string>
135 </property>
136 <property name="accel">
137 <string>Alt+L</string>
138 </property>
139 <property name="iconSet">
140 <iconset>fileOpen.png</iconset>
141 </property>
142 <property name="toolTip" stdset="0">
143 <string>Load device configuration from file</string>
144 </property>
145 </widget>
146 <widget class="QListView" row="0" column="0" rowspan="1" colspan="3">
147 <column>
148 <property name="text">
149 <string>Devices</string>
150 </property>
151 <property name="clickable">
152 <bool>true</bool>
153 </property>
154 <property name="resizable">
155 <bool>true</bool>
156 </property>
157 </column>
158 <property name="name">
159 <cstring>DeviceListView</cstring>
160 </property>
161 <property name="rootIsDecorated">
162 <bool>true</bool>
163 </property>
164 <property name="resizeMode">
165 <enum>LastColumn</enum>
166 </property>
167 <property name="toolTip" stdset="0">
168 <string>Device list</string>
169 </property>
170 </widget>
171 </grid>
172 </widget>
173 <widget class="QLayoutWidget">
174 <property name="name">
175 <cstring>layout4</cstring>
176 </property>
177 <grid>
178 <property name="name">
179 <cstring>unnamed</cstring>
180 </property>
181 <widget class="QPushButton" row="2" column="6">
182 <property name="name">
183 <cstring>ClosePushButton</cstring>
184 </property>
185 <property name="minimumSize">
186 <size>
187 <width>0</width>
188 <height>28</height>
189 </size>
190 </property>
191 <property name="maximumSize">
192 <size>
193 <width>32767</width>
194 <height>28</height>
195 </size>
196 </property>
197 <property name="text">
198 <string>Close</string>
199 </property>
200 <property name="accel">
201 <string></string>
202 </property>
203 <property name="toolTip" stdset="0">
204 <string>Close this dialog</string>
205 </property>
206 </widget>
207 <widget class="QPushButton" row="2" column="2">
208 <property name="name">
209 <cstring>UpdateDevicePushButton</cstring>
210 </property>
211 <property name="minimumSize">
212 <size>
213 <width>0</width>
214 <height>28</height>
215 </size>
216 </property>
217 <property name="maximumSize">
218 <size>
219 <width>32767</width>
220 <height>28</height>
221 </size>
222 </property>
223 <property name="text">
224 <string>&amp;Update</string>
225 </property>
226 <property name="accel">
227 <string>Alt+U</string>
228 </property>
229 <property name="toolTip" stdset="0">
230 <string>Update current device</string>
231 </property>
232 </widget>
233 <spacer row="2" column="5">
234 <property name="name">
235 <cstring>spacer3</cstring>
236 </property>
237 <property name="orientation">
238 <enum>Horizontal</enum>
239 </property>
240 <property name="sizeType">
241 <enum>Expanding</enum>
242 </property>
243 <property name="sizeHint">
244 <size>
245 <width>38</width>
246 <height>20</height>
247 </size>
248 </property>
249 </spacer>
250 <spacer row="2" column="0">
251 <property name="name">
252 <cstring>spacer2</cstring>
253 </property>
254 <property name="orientation">
255 <enum>Horizontal</enum>
256 </property>
257 <property name="sizeType">
258 <enum>Minimum</enum>
259 </property>
260 <property name="sizeHint">
261 <size>
262 <width>4</width>
263 <height>20</height>
264 </size>
265 </property>
266 </spacer>
267 <widget class="QPushButton" row="2" column="3" rowspan="1" colspan="2">
268 <property name="name">
269 <cstring>DeleteDevicePushButton</cstring>
270 </property>
271 <property name="minimumSize">
272 <size>
273 <width>0</width>
274 <height>28</height>
275 </size>
276 </property>
277 <property name="maximumSize">
278 <size>
279 <width>32767</width>
280 <height>28</height>
281 </size>
282 </property>
283 <property name="text">
284 <string>&amp;Delete</string>
285 </property>
286 <property name="accel">
287 <string>Alt+D</string>
288 </property>
289 <property name="toolTip" stdset="0">
290 <string>Delete current device</string>
291 </property>
292 </widget>
293 <widget class="QComboBox" row="0" column="6">
294 <property name="name">
295 <cstring>DriverNameComboBox</cstring>
296 </property>
297 <property name="toolTip" stdset="0">
298 <string>Driver type name</string>
299 </property>
300 </widget>
301 <widget class="QPushButton" row="2" column="1">
302 <property name="name">
303 <cstring>CreateDevicePushButton</cstring>
304 </property>
305 <property name="minimumSize">
306 <size>
307 <width>0</width>
308 <height>28</height>
309 </size>
310 </property>
311 <property name="maximumSize">
312 <size>
313 <width>32767</width>
314 <height>28</height>
315 </size>
316 </property>
317 <property name="text">
318 <string>&amp;Create</string>
319 </property>
320 <property name="accel">
321 <string>Alt+C</string>
322 </property>
323 <property name="toolTip" stdset="0">
324 <string>Create current device</string>
325 </property>
326 </widget>
327 <widget class="QLabel" row="0" column="4" rowspan="1" colspan="2">
328 <property name="name">
329 <cstring>DriverNameTextLabel</cstring>
330 </property>
331 <property name="text">
332 <string>&amp;Driver:</string>
333 </property>
334 <property name="alignment">
335 <set>AlignVCenter|AlignRight</set>
336 </property>
337 <property name="buddy" stdset="0">
338 <cstring>DriverNameComboBox</cstring>
339 </property>
340 </widget>
341 <widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="7">
342 <property name="name">
343 <cstring>DeviceParamTable</cstring>
344 </property>
345 <property name="sizePolicy">
346 <sizepolicy>
347 <hsizetype>7</hsizetype>
348 <vsizetype>7</vsizetype>
349 <horstretch>0</horstretch>
350 <verstretch>0</verstretch>
351 </sizepolicy>
352 </property>
353 <property name="minimumSize">
354 <size>
355 <width>0</width>
356 <height>260</height>
357 </size>
358 </property>
359 <property name="focusPolicy">
360 <enum>StrongFocus</enum>
361 </property>
362 <property name="toolTip" stdset="0">
363 <string>Device parameters</string>
364 </property>
365 </widget>
366 <widget class="QLabel" row="0" column="0" rowspan="1" colspan="4">
367 <property name="name">
368 <cstring>DeviceNameTextLabel</cstring>
369 </property>
370 <property name="sizePolicy">
371 <sizepolicy>
372 <hsizetype>7</hsizetype>
373 <vsizetype>5</vsizetype>
374 <horstretch>0</horstretch>
375 <verstretch>0</verstretch>
376 </sizepolicy>
377 </property>
378 <property name="font">
379 <font>
380 <pointsize>10</pointsize>
381 <bold>1</bold>
382 </font>
383 </property>
384 <property name="text">
385 <string></string>
386 </property>
387 <property name="toolTip" stdset="0">
388 <string>Device name</string>
389 </property>
390 </widget>
391 </grid>
392 </widget>
393 </widget>
394 </hbox>
395 </widget>
396 <customwidgets>
397 <customwidget>
398 <class>qsamplerDeviceParamTable</class>
399 <header location="global">qsamplerDevice.h</header>
400 <sizehint>
401 <width>-1</width>
402 <height>-1</height>
403 </sizehint>
404 <container>0</container>
405 <sizepolicy>
406 <hordata>7</hordata>
407 <verdata>7</verdata>
408 <horstretch>0</horstretch>
409 <verstretch>0</verstretch>
410 </sizepolicy>
411 <pixmap>image0</pixmap>
412 </customwidget>
413 </customwidgets>
414 <images>
415 <image name="image0">
416 <data format="XPM.GZ" length="45">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523250004143a55a6b2e0026630c4f</data>
417 </image>
418 </images>
419 <connections>
420 <connection>
421 <sender>DeviceListView</sender>
422 <signal>selectionChanged()</signal>
423 <receiver>qsamplerDeviceForm</receiver>
424 <slot>selectDevice()</slot>
425 </connection>
426 <connection>
427 <sender>LoadDevicesPushButton</sender>
428 <signal>clicked()</signal>
429 <receiver>qsamplerDeviceForm</receiver>
430 <slot>loadDevices()</slot>
431 </connection>
432 <connection>
433 <sender>SaveDevicesPushButton</sender>
434 <signal>clicked()</signal>
435 <receiver>qsamplerDeviceForm</receiver>
436 <slot>saveDevices()</slot>
437 </connection>
438 <connection>
439 <sender>DriverNameComboBox</sender>
440 <signal>activated(const QString&amp;)</signal>
441 <receiver>qsamplerDeviceForm</receiver>
442 <slot>selectDriver(const QString&amp;)</slot>
443 </connection>
444 <connection>
445 <sender>DeviceParamTable</sender>
446 <signal>valueChanged(int,int)</signal>
447 <receiver>qsamplerDeviceForm</receiver>
448 <slot>changeValue(int,int)</slot>
449 </connection>
450 <connection>
451 <sender>CreateDevicePushButton</sender>
452 <signal>clicked()</signal>
453 <receiver>qsamplerDeviceForm</receiver>
454 <slot>createDevice()</slot>
455 </connection>
456 <connection>
457 <sender>UpdateDevicePushButton</sender>
458 <signal>clicked()</signal>
459 <receiver>qsamplerDeviceForm</receiver>
460 <slot>updateDevice()</slot>
461 </connection>
462 <connection>
463 <sender>DeleteDevicePushButton</sender>
464 <signal>clicked()</signal>
465 <receiver>qsamplerDeviceForm</receiver>
466 <slot>deleteDevice()</slot>
467 </connection>
468 <connection>
469 <sender>ClosePushButton</sender>
470 <signal>clicked()</signal>
471 <receiver>qsamplerDeviceForm</receiver>
472 <slot>close()</slot>
473 </connection>
474 </connections>
475 <tabstops>
476 <tabstop>DeviceListView</tabstop>
477 <tabstop>LoadDevicesPushButton</tabstop>
478 <tabstop>SaveDevicesPushButton</tabstop>
479 <tabstop>DeviceParamTable</tabstop>
480 <tabstop>DriverNameComboBox</tabstop>
481 <tabstop>CreateDevicePushButton</tabstop>
482 <tabstop>UpdateDevicePushButton</tabstop>
483 <tabstop>DeleteDevicePushButton</tabstop>
484 <tabstop>ClosePushButton</tabstop>
485 </tabstops>
486 <includes>
487 <include location="local" impldecl="in declaration">qsamplerDevice.h</include>
488 <include location="local" impldecl="in implementation">qsamplerDeviceForm.ui.h</include>
489 </includes>
490 <forwards>
491 <forward>class qsamplerMainForm;</forward>
492 </forwards>
493 <variables>
494 <variable access="private">qsamplerMainForm *m_pMainForm;</variable>
495 <variable access="private">int m_iDirtySetup;</variable>
496 <variable access="private">int m_iDirtyCount;</variable>
497 <variable access="private">int m_iUntitled;</variable>
498 <variable access="private">QString m_sFilename;</variable>
499 <variable access="private">lscp_client_t *m_pClient;</variable>
500 <variable access="private">bool m_bNewDevice;</variable>
501 </variables>
502 <slots>
503 <slot specifier="non virtual">contentsChanged()</slot>
504 <slot specifier="non virtual">loadDevices()</slot>
505 <slot specifier="non virtual">saveDevices()</slot>
506 <slot specifier="non virtual">createDevice()</slot>
507 <slot specifier="non virtual">updateDevice()</slot>
508 <slot specifier="non virtual">deleteDevice()</slot>
509 <slot specifier="non virtual">refreshDevices()</slot>
510 <slot specifier="non virtual">selectDriver( const QString &amp; sDriverName )</slot>
511 <slot specifier="non virtual">selectDevice()</slot>
512 <slot specifier="non virtual">changeValue( int iRow, int iCol )</slot>
513 <slot specifier="non virtual">stabilizeForm()</slot>
514 </slots>
515 <functions>
516 <function access="private" specifier="non virtual">init()</function>
517 <function access="private" specifier="non virtual">destroy()</function>
518 <function access="private" specifier="non virtual">showEvent( QShowEvent * pShowEvent )</function>
519 <function access="private" specifier="non virtual">hideEvent( QHideEvent * pHideEvent )</function>
520 <function specifier="non virtual">setClient( lscp_client_t *pClient )</function>
521 <function specifier="non virtual" returnType="QString">devicesName( const QString &amp; sFilename )</function>
522 <function specifier="non virtual" returnType="bool">queryClose()</function>
523 <function specifier="non virtual">loadDevicesFile( const QString &amp; sFilename )</function>
524 <function specifier="non virtual">saveDevicesFile( const QString &amp; sFilename )</function>
525 </functions>
526 <pixmapinproject/>
527 <layoutdefaults spacing="4" margin="4"/>
528 <includehints>
529 <includehint>qsamplerdeviceparamtable.h</includehint>
530 </includehints>
531 </UI>

  ViewVC Help
Powered by ViewVC