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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 622 - (show annotations) (download)
Thu Jun 9 09:28:20 2005 UTC (18 years, 10 months ago) by capela
File size: 20690 byte(s)
* Added buddy text label to port/channel combobox on the device dialog.

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="QWidget">
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>570</width>
32 <height>361</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>qsamplerDevice.png</pixmap>
48 </property>
49 <property name="focusPolicy">
50 <enum>StrongFocus</enum>
51 </property>
52 <vbox>
53 <property name="name">
54 <cstring>unnamed</cstring>
55 </property>
56 <widget class="QSplitter">
57 <property name="name">
58 <cstring>splitter1</cstring>
59 </property>
60 <property name="orientation">
61 <enum>Horizontal</enum>
62 </property>
63 <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 <property name="name">
76 <cstring>DeviceListView</cstring>
77 </property>
78 <property name="minimumSize">
79 <size>
80 <width>160</width>
81 <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 </widget>
94 <widget class="QSplitter">
95 <property name="name">
96 <cstring>splitter2</cstring>
97 </property>
98 <property name="orientation">
99 <enum>Vertical</enum>
100 </property>
101 <widget class="QLayoutWidget">
102 <property name="name">
103 <cstring>layout2</cstring>
104 </property>
105 <grid>
106 <property name="name">
107 <cstring>unnamed</cstring>
108 </property>
109 <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 <width>380</width>
162 <height>160</height>
163 </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>layout3</cstring>
185 </property>
186 <grid>
187 <property name="name">
188 <cstring>unnamed</cstring>
189 </property>
190 <widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="2">
191 <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 <width>380</width>
205 <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 <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 </widget>
247 </widget>
248 </widget>
249 <widget class="QLayoutWidget">
250 <property name="name">
251 <cstring>layout1</cstring>
252 </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 <property name="iconSet">
268 <iconset>formRefresh.png</iconset>
269 </property>
270 <property name="toolTip" stdset="0">
271 <string>Refresh device list view</string>
272 </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 <property name="iconSet">
302 <iconset>deviceCreate.png</iconset>
303 </property>
304 <property name="toolTip" stdset="0">
305 <string>Create device</string>
306 </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 <property name="iconSet">
319 <iconset>deviceDelete.png</iconset>
320 </property>
321 <property name="toolTip" stdset="0">
322 <string>Delete device</string>
323 </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 <property name="iconSet">
336 <iconset>formReject.png</iconset>
337 </property>
338 <property name="toolTip" stdset="0">
339 <string>Close this dialog</string>
340 </property>
341 </widget>
342 </hbox>
343 </widget>
344 </vbox>
345 </widget>
346 <customwidgets>
347 <customwidget>
348 <class>qsamplerDeviceParamTable</class>
349 <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 <pixmap>image0</pixmap>
362 </customwidget>
363 </customwidgets>
364 <images>
365 <image name="image0">
366 <data format="XPM.GZ" length="45">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523250004143a55a6b2e0026630c4f</data>
367 </image>
368 </images>
369 <connections>
370 <connection>
371 <sender>DeviceListView</sender>
372 <signal>selectionChanged()</signal>
373 <receiver>qsamplerDeviceForm</receiver>
374 <slot>selectDevice()</slot>
375 </connection>
376 <connection>
377 <sender>DeviceListView</sender>
378 <signal>contextMenuRequested(QListViewItem*,const QPoint&amp;,int)</signal>
379 <receiver>qsamplerDeviceForm</receiver>
380 <slot>contextMenu(QListViewItem*,const QPoint&amp;,int)</slot>
381 </connection>
382 <connection>
383 <sender>RefreshDevicesPushButton</sender>
384 <signal>clicked()</signal>
385 <receiver>qsamplerDeviceForm</receiver>
386 <slot>refreshDevices()</slot>
387 </connection>
388 <connection>
389 <sender>DriverNameComboBox</sender>
390 <signal>activated(const QString&amp;)</signal>
391 <receiver>qsamplerDeviceForm</receiver>
392 <slot>selectDriver(const QString&amp;)</slot>
393 </connection>
394 <connection>
395 <sender>DevicePortComboBox</sender>
396 <signal>activated(int)</signal>
397 <receiver>qsamplerDeviceForm</receiver>
398 <slot>selectDevicePort(int)</slot>
399 </connection>
400 <connection>
401 <sender>CreateDevicePushButton</sender>
402 <signal>clicked()</signal>
403 <receiver>qsamplerDeviceForm</receiver>
404 <slot>createDevice()</slot>
405 </connection>
406 <connection>
407 <sender>DeleteDevicePushButton</sender>
408 <signal>clicked()</signal>
409 <receiver>qsamplerDeviceForm</receiver>
410 <slot>deleteDevice()</slot>
411 </connection>
412 <connection>
413 <sender>ClosePushButton</sender>
414 <signal>clicked()</signal>
415 <receiver>qsamplerDeviceForm</receiver>
416 <slot>close()</slot>
417 </connection>
418 </connections>
419 <tabstops>
420 <tabstop>DeviceListView</tabstop>
421 <tabstop>RefreshDevicesPushButton</tabstop>
422 <tabstop>DriverNameComboBox</tabstop>
423 <tabstop>DeviceParamTable</tabstop>
424 <tabstop>DevicePortComboBox</tabstop>
425 <tabstop>DevicePortParamTable</tabstop>
426 <tabstop>CreateDevicePushButton</tabstop>
427 <tabstop>DeleteDevicePushButton</tabstop>
428 <tabstop>ClosePushButton</tabstop>
429 </tabstops>
430 <includes>
431 <include location="local" impldecl="in declaration">qsamplerDevice.h</include>
432 <include location="local" impldecl="in implementation">qsamplerDeviceForm.ui.h</include>
433 </includes>
434 <forwards>
435 <forward>class qsamplerMainForm;</forward>
436 </forwards>
437 <variables>
438 <variable access="private">qsamplerMainForm *m_pMainForm;</variable>
439 <variable access="private">lscp_client_t *m_pClient;</variable>
440 <variable access="private">int m_iDirtySetup;</variable>
441 <variable access="private">int m_iDirtyCount;</variable>
442 <variable access="private">bool m_bNewDevice;</variable>
443 <variable access="private">qsamplerDevice::qsamplerDeviceType m_deviceType;</variable>
444 <variable access="private">qsamplerDevice::qsamplerDeviceType m_deviceTypeMode;</variable>
445 <variable access="private">qsamplerDeviceItem *m_pAudioItems;</variable>
446 <variable access="private">qsamplerDeviceItem *m_pMidiItems;</variable>
447 </variables>
448 <signals>
449 <signal>devicesChanged()</signal>
450 </signals>
451 <slots>
452 <slot specifier="non virtual">createDevice()</slot>
453 <slot specifier="non virtual">deleteDevice()</slot>
454 <slot specifier="non virtual">refreshDevices()</slot>
455 <slot specifier="non virtual">selectDriver( const QString &amp; sDriverName )</slot>
456 <slot specifier="non virtual">selectDevice()</slot>
457 <slot specifier="non virtual">selectDevicePort( int iPort )</slot>
458 <slot specifier="non virtual">changeDeviceParam( int iRow, int iCol )</slot>
459 <slot specifier="non virtual">changeDevicePortParam( int iRow, int iCol )</slot>
460 <slot specifier="non virtual">contextMenu(QListViewItem *, const QPoint&amp;, int)</slot>
461 <slot specifier="non virtual">stabilizeForm()</slot>
462 </slots>
463 <functions>
464 <function access="private" specifier="non virtual">init()</function>
465 <function access="private" specifier="non virtual">destroy()</function>
466 <function access="private" specifier="non virtual">showEvent( QShowEvent * pShowEvent )</function>
467 <function access="private" specifier="non virtual">hideEvent( QHideEvent * pHideEvent )</function>
468 <function specifier="non virtual">setMainForm( qsamplerMainForm *pMainForm )</function>
469 <function specifier="non virtual">setDeviceTypeMode( qsamplerDevice::qsamplerDeviceType deviceType )</function>
470 <function specifier="non virtual">setClient( lscp_client_t *pClient )</function>
471 <function specifier="non virtual">setDriverName( const QString &amp; sDriverName )</function>
472 <function specifier="non virtual">setDevice( qsamplerDevice *pDevice )</function>
473 </functions>
474 <pixmapinproject/>
475 <layoutdefaults spacing="4" margin="4"/>
476 </UI>

  ViewVC Help
Powered by ViewVC