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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 920 - (hide annotations) (download)
Sun Sep 24 12:47:51 2006 UTC (17 years, 6 months ago) by capela
File size: 20468 byte(s)
GPL address update.

1 capela 434 <!DOCTYPE UI><UI version="3.1" stdsetdef="1">
2 capela 427 <class>qsamplerDeviceForm</class>
3     <comment>qsampler - A LinuxSampler Qt GUI Interface.
4    
5 capela 920 Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved.
6 capela 427
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 capela 920 You should have received a copy of the GNU General Public License along
18     with this program; if not, write to the Free Software Foundation, Inc.,
19     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 capela 427
21     </comment>
22     <author>rncbc aka Rui Nuno Capela</author>
23 capela 462 <widget class="QWidget">
24 capela 427 <property name="name">
25     <cstring>qsamplerDeviceForm</cstring>
26     </property>
27     <property name="geometry">
28     <rect>
29     <x>0</x>
30     <y>0</y>
31 capela 622 <width>570</width>
32     <height>361</height>
33 capela 427 </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 capela 757 <string>Qsampler: Devices</string>
45 capela 427 </property>
46     <property name="icon">
47 capela 452 <pixmap>qsamplerDevice.png</pixmap>
48 capela 427 </property>
49     <property name="focusPolicy">
50     <enum>StrongFocus</enum>
51     </property>
52 capela 433 <vbox>
53 capela 427 <property name="name">
54     <cstring>unnamed</cstring>
55     </property>
56     <widget class="QSplitter">
57     <property name="name">
58 capela 463 <cstring>splitter1</cstring>
59 capela 427 </property>
60     <property name="orientation">
61     <enum>Horizontal</enum>
62     </property>
63 capela 433 <widget class="QListView">
64     <column>
65     <property name="text">
66     <string>Devices</string>
67     </property>
68     <property name="clickable">
69     <bool>true</bool>
70     </property>
71     <property name="resizable">
72     <bool>true</bool>
73     </property>
74     </column>
75 capela 427 <property name="name">
76 capela 433 <cstring>DeviceListView</cstring>
77 capela 427 </property>
78 capela 433 <property name="minimumSize">
79     <size>
80 capela 434 <width>160</width>
81 capela 433 <height>0</height>
82     </size>
83     </property>
84     <property name="rootIsDecorated">
85     <bool>true</bool>
86     </property>
87     <property name="resizeMode">
88     <enum>LastColumn</enum>
89     </property>
90     <property name="toolTip" stdset="0">
91     <string>Device list</string>
92     </property>
93 capela 427 </widget>
94 capela 463 <widget class="QSplitter">
95 capela 427 <property name="name">
96 capela 463 <cstring>splitter2</cstring>
97 capela 427 </property>
98 capela 463 <property name="orientation">
99     <enum>Vertical</enum>
100     </property>
101     <widget class="QLayoutWidget">
102 capela 427 <property name="name">
103 capela 622 <cstring>layout2</cstring>
104 capela 427 </property>
105 capela 463 <grid>
106 capela 427 <property name="name">
107 capela 463 <cstring>unnamed</cstring>
108 capela 427 </property>
109 capela 463 <widget class="QLabel" row="0" column="0">
110     <property name="name">
111     <cstring>DeviceNameTextLabel</cstring>
112     </property>
113     <property name="sizePolicy">
114     <sizepolicy>
115     <hsizetype>7</hsizetype>
116     <vsizetype>5</vsizetype>
117     <horstretch>0</horstretch>
118     <verstretch>0</verstretch>
119     </sizepolicy>
120     </property>
121     <property name="font">
122     <font>
123     <bold>1</bold>
124     </font>
125     </property>
126     <property name="indent">
127     <number>4</number>
128     </property>
129     <property name="toolTip" stdset="0">
130     <string>Device name</string>
131     </property>
132     </widget>
133     <widget class="QLabel" row="0" column="1">
134     <property name="name">
135     <cstring>DriverNameTextLabel</cstring>
136     </property>
137     <property name="text">
138     <string>Dri&amp;ver:</string>
139     </property>
140     <property name="alignment">
141     <set>AlignVCenter|AlignRight</set>
142     </property>
143     <property name="buddy" stdset="0">
144     <cstring>DriverNameComboBox</cstring>
145     </property>
146     </widget>
147     <widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="3">
148     <property name="name">
149     <cstring>DeviceParamTable</cstring>
150     </property>
151     <property name="sizePolicy">
152     <sizepolicy>
153     <hsizetype>7</hsizetype>
154     <vsizetype>7</vsizetype>
155     <horstretch>0</horstretch>
156     <verstretch>0</verstretch>
157     </sizepolicy>
158     </property>
159     <property name="minimumSize">
160     <size>
161 capela 468 <width>380</width>
162     <height>160</height>
163 capela 463 </size>
164     </property>
165     <property name="focusPolicy">
166     <enum>StrongFocus</enum>
167     </property>
168     <property name="toolTip" stdset="0">
169     <string>Device parameters</string>
170     </property>
171     </widget>
172     <widget class="QComboBox" row="0" column="2">
173     <property name="name">
174     <cstring>DriverNameComboBox</cstring>
175     </property>
176     <property name="toolTip" stdset="0">
177     <string>Driver type name</string>
178     </property>
179     </widget>
180     </grid>
181     </widget>
182     <widget class="QLayoutWidget">
183     <property name="name">
184 capela 622 <cstring>layout3</cstring>
185 capela 463 </property>
186 capela 622 <grid>
187 capela 427 <property name="name">
188 capela 463 <cstring>unnamed</cstring>
189 capela 430 </property>
190 capela 622 <widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="2">
191 capela 463 <property name="name">
192     <cstring>DevicePortParamTable</cstring>
193     </property>
194     <property name="sizePolicy">
195     <sizepolicy>
196     <hsizetype>7</hsizetype>
197     <vsizetype>7</vsizetype>
198     <horstretch>0</horstretch>
199     <verstretch>0</verstretch>
200     </sizepolicy>
201     </property>
202     <property name="minimumSize">
203     <size>
204 capela 468 <width>380</width>
205 capela 463 <height>80</height>
206     </size>
207     </property>
208     <property name="focusPolicy">
209     <enum>StrongFocus</enum>
210     </property>
211     <property name="toolTip" stdset="0">
212     <string>Device port/channel parameters</string>
213     </property>
214     </widget>
215 capela 622 <widget class="QLabel" row="0" column="0">
216     <property name="name">
217     <cstring>DevicePortTextLabel</cstring>
218     </property>
219     <property name="text">
220     <string>Channel:</string>
221     </property>
222     <property name="alignment">
223     <set>AlignVCenter|AlignRight</set>
224     </property>
225     <property name="buddy" stdset="0">
226     <cstring>DevicePortComboBox</cstring>
227     </property>
228     </widget>
229     <widget class="QComboBox" row="0" column="1">
230     <property name="name">
231     <cstring>DevicePortComboBox</cstring>
232     </property>
233     <property name="sizePolicy">
234     <sizepolicy>
235     <hsizetype>7</hsizetype>
236     <vsizetype>0</vsizetype>
237     <horstretch>0</horstretch>
238     <verstretch>0</verstretch>
239     </sizepolicy>
240     </property>
241     <property name="toolTip" stdset="0">
242     <string>Device port/channel</string>
243     </property>
244     </widget>
245     </grid>
246 capela 463 </widget>
247 capela 427 </widget>
248     </widget>
249 capela 433 <widget class="QLayoutWidget">
250     <property name="name">
251 capela 622 <cstring>layout1</cstring>
252 capela 433 </property>
253     <hbox>
254     <property name="name">
255     <cstring>unnamed</cstring>
256     </property>
257     <widget class="QPushButton">
258     <property name="name">
259     <cstring>RefreshDevicesPushButton</cstring>
260     </property>
261     <property name="text">
262     <string>&amp;Refresh</string>
263     </property>
264     <property name="accel">
265     <string>Alt+R</string>
266     </property>
267 capela 452 <property name="iconSet">
268     <iconset>formRefresh.png</iconset>
269     </property>
270 capela 433 <property name="toolTip" stdset="0">
271 capela 471 <string>Refresh device list view</string>
272 capela 433 </property>
273     </widget>
274     <spacer>
275     <property name="name">
276     <cstring>spacer1</cstring>
277     </property>
278     <property name="orientation">
279     <enum>Horizontal</enum>
280     </property>
281     <property name="sizeType">
282     <enum>Expanding</enum>
283     </property>
284     <property name="sizeHint">
285     <size>
286     <width>180</width>
287     <height>20</height>
288     </size>
289     </property>
290     </spacer>
291     <widget class="QPushButton">
292     <property name="name">
293     <cstring>CreateDevicePushButton</cstring>
294     </property>
295     <property name="text">
296     <string>&amp;Create</string>
297     </property>
298     <property name="accel">
299     <string>Alt+C</string>
300     </property>
301 capela 452 <property name="iconSet">
302     <iconset>deviceCreate.png</iconset>
303     </property>
304 capela 433 <property name="toolTip" stdset="0">
305 capela 471 <string>Create device</string>
306 capela 433 </property>
307     </widget>
308     <widget class="QPushButton">
309     <property name="name">
310     <cstring>DeleteDevicePushButton</cstring>
311     </property>
312     <property name="text">
313     <string>&amp;Delete</string>
314     </property>
315     <property name="accel">
316     <string>Alt+D</string>
317     </property>
318 capela 452 <property name="iconSet">
319     <iconset>deviceDelete.png</iconset>
320     </property>
321 capela 433 <property name="toolTip" stdset="0">
322 capela 471 <string>Delete device</string>
323 capela 433 </property>
324     </widget>
325     <widget class="QPushButton">
326     <property name="name">
327     <cstring>ClosePushButton</cstring>
328     </property>
329     <property name="text">
330     <string>Close</string>
331     </property>
332     <property name="accel">
333     <string></string>
334     </property>
335 capela 452 <property name="iconSet">
336     <iconset>formReject.png</iconset>
337     </property>
338 capela 433 <property name="toolTip" stdset="0">
339     <string>Close this dialog</string>
340     </property>
341     </widget>
342     </hbox>
343     </widget>
344     </vbox>
345 capela 427 </widget>
346     <customwidgets>
347     <customwidget>
348 capela 429 <class>qsamplerDeviceParamTable</class>
349 capela 427 <header location="global">qsamplerDevice.h</header>
350     <sizehint>
351     <width>-1</width>
352     <height>-1</height>
353     </sizehint>
354     <container>0</container>
355     <sizepolicy>
356     <hordata>7</hordata>
357     <verdata>7</verdata>
358     <horstretch>0</horstretch>
359     <verstretch>0</verstretch>
360     </sizepolicy>
361     </customwidget>
362     </customwidgets>
363 capela 428 <connections>
364     <connection>
365 capela 430 <sender>DeviceListView</sender>
366     <signal>selectionChanged()</signal>
367     <receiver>qsamplerDeviceForm</receiver>
368     <slot>selectDevice()</slot>
369     </connection>
370     <connection>
371 capela 452 <sender>DeviceListView</sender>
372     <signal>contextMenuRequested(QListViewItem*,const QPoint&amp;,int)</signal>
373     <receiver>qsamplerDeviceForm</receiver>
374     <slot>contextMenu(QListViewItem*,const QPoint&amp;,int)</slot>
375     </connection>
376     <connection>
377 capela 433 <sender>RefreshDevicesPushButton</sender>
378 capela 428 <signal>clicked()</signal>
379     <receiver>qsamplerDeviceForm</receiver>
380 capela 433 <slot>refreshDevices()</slot>
381 capela 428 </connection>
382     <connection>
383 capela 430 <sender>DriverNameComboBox</sender>
384     <signal>activated(const QString&amp;)</signal>
385     <receiver>qsamplerDeviceForm</receiver>
386     <slot>selectDriver(const QString&amp;)</slot>
387     </connection>
388     <connection>
389 capela 463 <sender>DevicePortComboBox</sender>
390     <signal>activated(int)</signal>
391     <receiver>qsamplerDeviceForm</receiver>
392     <slot>selectDevicePort(int)</slot>
393     </connection>
394     <connection>
395 capela 428 <sender>CreateDevicePushButton</sender>
396     <signal>clicked()</signal>
397     <receiver>qsamplerDeviceForm</receiver>
398     <slot>createDevice()</slot>
399     </connection>
400     <connection>
401     <sender>DeleteDevicePushButton</sender>
402     <signal>clicked()</signal>
403     <receiver>qsamplerDeviceForm</receiver>
404     <slot>deleteDevice()</slot>
405     </connection>
406     <connection>
407     <sender>ClosePushButton</sender>
408     <signal>clicked()</signal>
409     <receiver>qsamplerDeviceForm</receiver>
410     <slot>close()</slot>
411     </connection>
412     </connections>
413     <tabstops>
414     <tabstop>DeviceListView</tabstop>
415 capela 433 <tabstop>RefreshDevicesPushButton</tabstop>
416     <tabstop>DriverNameComboBox</tabstop>
417 capela 430 <tabstop>DeviceParamTable</tabstop>
418 capela 463 <tabstop>DevicePortComboBox</tabstop>
419     <tabstop>DevicePortParamTable</tabstop>
420 capela 428 <tabstop>CreateDevicePushButton</tabstop>
421     <tabstop>DeleteDevicePushButton</tabstop>
422     <tabstop>ClosePushButton</tabstop>
423     </tabstops>
424 capela 427 <includes>
425     <include location="local" impldecl="in declaration">qsamplerDevice.h</include>
426     <include location="local" impldecl="in implementation">qsamplerDeviceForm.ui.h</include>
427     </includes>
428     <forwards>
429     <forward>class qsamplerMainForm;</forward>
430     </forwards>
431     <variables>
432     <variable access="private">qsamplerMainForm *m_pMainForm;</variable>
433 capela 487 <variable access="private">lscp_client_t *m_pClient;</variable>
434 capela 427 <variable access="private">int m_iDirtySetup;</variable>
435 capela 488 <variable access="private">int m_iDirtyCount;</variable>
436 capela 430 <variable access="private">bool m_bNewDevice;</variable>
437 capela 436 <variable access="private">qsamplerDevice::qsamplerDeviceType m_deviceType;</variable>
438 capela 622 <variable access="private">qsamplerDevice::qsamplerDeviceType m_deviceTypeMode;</variable>
439 capela 442 <variable access="private">qsamplerDeviceItem *m_pAudioItems;</variable>
440     <variable access="private">qsamplerDeviceItem *m_pMidiItems;</variable>
441 capela 427 </variables>
442 capela 488 <signals>
443 capela 622 <signal>devicesChanged()</signal>
444 capela 488 </signals>
445 capela 427 <slots>
446 capela 428 <slot specifier="non virtual">createDevice()</slot>
447     <slot specifier="non virtual">deleteDevice()</slot>
448     <slot specifier="non virtual">refreshDevices()</slot>
449 capela 430 <slot specifier="non virtual">selectDriver( const QString &amp; sDriverName )</slot>
450     <slot specifier="non virtual">selectDevice()</slot>
451 capela 463 <slot specifier="non virtual">selectDevicePort( int iPort )</slot>
452     <slot specifier="non virtual">changeDeviceParam( int iRow, int iCol )</slot>
453     <slot specifier="non virtual">changeDevicePortParam( int iRow, int iCol )</slot>
454     <slot specifier="non virtual">contextMenu(QListViewItem *, const QPoint&amp;, int)</slot>
455 capela 427 <slot specifier="non virtual">stabilizeForm()</slot>
456     </slots>
457     <functions>
458     <function access="private" specifier="non virtual">init()</function>
459     <function access="private" specifier="non virtual">destroy()</function>
460 capela 428 <function access="private" specifier="non virtual">showEvent( QShowEvent * pShowEvent )</function>
461     <function access="private" specifier="non virtual">hideEvent( QHideEvent * pHideEvent )</function>
462 capela 487 <function specifier="non virtual">setMainForm( qsamplerMainForm *pMainForm )</function>
463 capela 490 <function specifier="non virtual">setDeviceTypeMode( qsamplerDevice::qsamplerDeviceType deviceType )</function>
464 capela 622 <function specifier="non virtual">setClient( lscp_client_t *pClient )</function>
465 capela 490 <function specifier="non virtual">setDriverName( const QString &amp; sDriverName )</function>
466     <function specifier="non virtual">setDevice( qsamplerDevice *pDevice )</function>
467 capela 427 </functions>
468     <pixmapinproject/>
469     <layoutdefaults spacing="4" margin="4"/>
470     </UI>

  ViewVC Help
Powered by ViewVC