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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 488 - (hide annotations) (download)
Thu Mar 31 16:26:40 2005 UTC (19 years ago) by capela
File size: 19316 byte(s)
Device setup is now also accessible from the sampler channel dialog (fix).

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 430 Copyright (C) 2005, 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     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 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 468 <width>556</width>
32     <height>345</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     <string>Devices</string>
45     </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 463 <cstring>layout4</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     <cstring>layout5</cstring>
185     </property>
186     <vbox>
187 capela 427 <property name="name">
188 capela 463 <cstring>unnamed</cstring>
189 capela 430 </property>
190 capela 463 <widget class="QComboBox">
191     <property name="name">
192     <cstring>DevicePortComboBox</cstring>
193     </property>
194     <property name="toolTip" stdset="0">
195     <string>Device port/channel</string>
196     </property>
197     </widget>
198     <widget class="qsamplerDeviceParamTable">
199     <property name="name">
200     <cstring>DevicePortParamTable</cstring>
201     </property>
202     <property name="sizePolicy">
203     <sizepolicy>
204     <hsizetype>7</hsizetype>
205     <vsizetype>7</vsizetype>
206     <horstretch>0</horstretch>
207     <verstretch>0</verstretch>
208     </sizepolicy>
209     </property>
210     <property name="minimumSize">
211     <size>
212 capela 468 <width>380</width>
213 capela 463 <height>80</height>
214     </size>
215     </property>
216     <property name="focusPolicy">
217     <enum>StrongFocus</enum>
218     </property>
219     <property name="toolTip" stdset="0">
220     <string>Device port/channel parameters</string>
221     </property>
222     </widget>
223     </vbox>
224     </widget>
225 capela 427 </widget>
226     </widget>
227 capela 433 <widget class="QLayoutWidget">
228     <property name="name">
229     <cstring>layout6</cstring>
230     </property>
231     <hbox>
232     <property name="name">
233     <cstring>unnamed</cstring>
234     </property>
235     <widget class="QPushButton">
236     <property name="name">
237     <cstring>RefreshDevicesPushButton</cstring>
238     </property>
239     <property name="text">
240     <string>&amp;Refresh</string>
241     </property>
242     <property name="accel">
243     <string>Alt+R</string>
244     </property>
245 capela 452 <property name="iconSet">
246     <iconset>formRefresh.png</iconset>
247     </property>
248 capela 433 <property name="toolTip" stdset="0">
249 capela 471 <string>Refresh device list view</string>
250 capela 433 </property>
251     </widget>
252     <spacer>
253     <property name="name">
254     <cstring>spacer1</cstring>
255     </property>
256     <property name="orientation">
257     <enum>Horizontal</enum>
258     </property>
259     <property name="sizeType">
260     <enum>Expanding</enum>
261     </property>
262     <property name="sizeHint">
263     <size>
264     <width>180</width>
265     <height>20</height>
266     </size>
267     </property>
268     </spacer>
269     <widget class="QPushButton">
270     <property name="name">
271     <cstring>CreateDevicePushButton</cstring>
272     </property>
273     <property name="text">
274     <string>&amp;Create</string>
275     </property>
276     <property name="accel">
277     <string>Alt+C</string>
278     </property>
279 capela 452 <property name="iconSet">
280     <iconset>deviceCreate.png</iconset>
281     </property>
282 capela 433 <property name="toolTip" stdset="0">
283 capela 471 <string>Create device</string>
284 capela 433 </property>
285     </widget>
286     <widget class="QPushButton">
287     <property name="name">
288     <cstring>DeleteDevicePushButton</cstring>
289     </property>
290     <property name="text">
291     <string>&amp;Delete</string>
292     </property>
293     <property name="accel">
294     <string>Alt+D</string>
295     </property>
296 capela 452 <property name="iconSet">
297     <iconset>deviceDelete.png</iconset>
298     </property>
299 capela 433 <property name="toolTip" stdset="0">
300 capela 471 <string>Delete device</string>
301 capela 433 </property>
302     </widget>
303     <widget class="QPushButton">
304     <property name="name">
305     <cstring>ClosePushButton</cstring>
306     </property>
307     <property name="text">
308     <string>Close</string>
309     </property>
310     <property name="accel">
311     <string></string>
312     </property>
313 capela 452 <property name="iconSet">
314     <iconset>formReject.png</iconset>
315     </property>
316 capela 433 <property name="toolTip" stdset="0">
317     <string>Close this dialog</string>
318     </property>
319     </widget>
320     </hbox>
321     </widget>
322     </vbox>
323 capela 427 </widget>
324     <customwidgets>
325     <customwidget>
326 capela 429 <class>qsamplerDeviceParamTable</class>
327 capela 427 <header location="global">qsamplerDevice.h</header>
328     <sizehint>
329     <width>-1</width>
330     <height>-1</height>
331     </sizehint>
332     <container>0</container>
333     <sizepolicy>
334     <hordata>7</hordata>
335     <verdata>7</verdata>
336     <horstretch>0</horstretch>
337     <verstretch>0</verstretch>
338     </sizepolicy>
339     <pixmap>image0</pixmap>
340     </customwidget>
341     </customwidgets>
342 capela 430 <images>
343     <image name="image0">
344 capela 463 <data format="XPM.GZ" length="45">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523250004143a55a6b2e0026630c4f</data>
345 capela 430 </image>
346     </images>
347 capela 428 <connections>
348     <connection>
349 capela 430 <sender>DeviceListView</sender>
350     <signal>selectionChanged()</signal>
351     <receiver>qsamplerDeviceForm</receiver>
352     <slot>selectDevice()</slot>
353     </connection>
354     <connection>
355 capela 452 <sender>DeviceListView</sender>
356     <signal>contextMenuRequested(QListViewItem*,const QPoint&amp;,int)</signal>
357     <receiver>qsamplerDeviceForm</receiver>
358     <slot>contextMenu(QListViewItem*,const QPoint&amp;,int)</slot>
359     </connection>
360     <connection>
361 capela 433 <sender>RefreshDevicesPushButton</sender>
362 capela 428 <signal>clicked()</signal>
363     <receiver>qsamplerDeviceForm</receiver>
364 capela 433 <slot>refreshDevices()</slot>
365 capela 428 </connection>
366     <connection>
367 capela 430 <sender>DriverNameComboBox</sender>
368     <signal>activated(const QString&amp;)</signal>
369     <receiver>qsamplerDeviceForm</receiver>
370     <slot>selectDriver(const QString&amp;)</slot>
371     </connection>
372     <connection>
373 capela 463 <sender>DevicePortComboBox</sender>
374     <signal>activated(int)</signal>
375     <receiver>qsamplerDeviceForm</receiver>
376     <slot>selectDevicePort(int)</slot>
377     </connection>
378     <connection>
379 capela 428 <sender>CreateDevicePushButton</sender>
380     <signal>clicked()</signal>
381     <receiver>qsamplerDeviceForm</receiver>
382     <slot>createDevice()</slot>
383     </connection>
384     <connection>
385     <sender>DeleteDevicePushButton</sender>
386     <signal>clicked()</signal>
387     <receiver>qsamplerDeviceForm</receiver>
388     <slot>deleteDevice()</slot>
389     </connection>
390     <connection>
391     <sender>ClosePushButton</sender>
392     <signal>clicked()</signal>
393     <receiver>qsamplerDeviceForm</receiver>
394     <slot>close()</slot>
395     </connection>
396     </connections>
397     <tabstops>
398     <tabstop>DeviceListView</tabstop>
399 capela 433 <tabstop>RefreshDevicesPushButton</tabstop>
400     <tabstop>DriverNameComboBox</tabstop>
401 capela 430 <tabstop>DeviceParamTable</tabstop>
402 capela 463 <tabstop>DevicePortComboBox</tabstop>
403     <tabstop>DevicePortParamTable</tabstop>
404 capela 428 <tabstop>CreateDevicePushButton</tabstop>
405     <tabstop>DeleteDevicePushButton</tabstop>
406     <tabstop>ClosePushButton</tabstop>
407     </tabstops>
408 capela 427 <includes>
409     <include location="local" impldecl="in declaration">qsamplerDevice.h</include>
410     <include location="local" impldecl="in implementation">qsamplerDeviceForm.ui.h</include>
411     </includes>
412     <forwards>
413     <forward>class qsamplerMainForm;</forward>
414     </forwards>
415     <variables>
416     <variable access="private">qsamplerMainForm *m_pMainForm;</variable>
417 capela 487 <variable access="private">lscp_client_t *m_pClient;</variable>
418 capela 427 <variable access="private">int m_iDirtySetup;</variable>
419 capela 488 <variable access="private">int m_iDirtyCount;</variable>
420 capela 430 <variable access="private">bool m_bNewDevice;</variable>
421 capela 436 <variable access="private">qsamplerDevice::qsamplerDeviceType m_deviceType;</variable>
422 capela 442 <variable access="private">qsamplerDeviceItem *m_pAudioItems;</variable>
423     <variable access="private">qsamplerDeviceItem *m_pMidiItems;</variable>
424 capela 427 </variables>
425 capela 488 <signals>
426     <signal>devicesChanged()</signal>
427     </signals>
428 capela 427 <slots>
429 capela 428 <slot specifier="non virtual">createDevice()</slot>
430     <slot specifier="non virtual">deleteDevice()</slot>
431     <slot specifier="non virtual">refreshDevices()</slot>
432 capela 430 <slot specifier="non virtual">selectDriver( const QString &amp; sDriverName )</slot>
433     <slot specifier="non virtual">selectDevice()</slot>
434 capela 463 <slot specifier="non virtual">selectDevicePort( int iPort )</slot>
435     <slot specifier="non virtual">changeDeviceParam( int iRow, int iCol )</slot>
436     <slot specifier="non virtual">changeDevicePortParam( int iRow, int iCol )</slot>
437     <slot specifier="non virtual">contextMenu(QListViewItem *, const QPoint&amp;, int)</slot>
438 capela 427 <slot specifier="non virtual">stabilizeForm()</slot>
439     </slots>
440     <functions>
441     <function access="private" specifier="non virtual">init()</function>
442     <function access="private" specifier="non virtual">destroy()</function>
443 capela 428 <function access="private" specifier="non virtual">showEvent( QShowEvent * pShowEvent )</function>
444     <function access="private" specifier="non virtual">hideEvent( QHideEvent * pHideEvent )</function>
445 capela 487 <function specifier="non virtual">setMainForm( qsamplerMainForm *pMainForm )</function>
446 capela 428 <function specifier="non virtual">setClient( lscp_client_t *pClient )</function>
447 capela 487 <function specifier="non virtual">setDevice( qsamplerDevice::qsamplerDeviceType deviceType, int iDeviceID )</function>
448 capela 427 </functions>
449     <pixmapinproject/>
450     <layoutdefaults spacing="4" margin="4"/>
451     <includehints>
452 capela 429 <includehint>qsamplerdeviceparamtable.h</includehint>
453 capela 463 <includehint>qsamplerdeviceparamtable.h</includehint>
454 capela 427 </includehints>
455     </UI>

  ViewVC Help
Powered by ViewVC