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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 429 - (show annotations) (download)
Tue Mar 8 14:56:05 2005 UTC (19 years ago) by capela
File size: 19253 byte(s)
On-going with new device configuration interface.

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) 2004-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>607</width>
32 <height>323</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>splitter4</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="resizeMode">
162 <enum>LastColumn</enum>
163 </property>
164 <property name="toolTip" stdset="0">
165 <string>Device list view</string>
166 </property>
167 </widget>
168 </grid>
169 </widget>
170 <widget class="QLayoutWidget">
171 <property name="name">
172 <cstring>layout5</cstring>
173 </property>
174 <grid>
175 <property name="name">
176 <cstring>unnamed</cstring>
177 </property>
178 <widget class="QPushButton" row="1" column="5">
179 <property name="name">
180 <cstring>ClosePushButton</cstring>
181 </property>
182 <property name="minimumSize">
183 <size>
184 <width>0</width>
185 <height>28</height>
186 </size>
187 </property>
188 <property name="maximumSize">
189 <size>
190 <width>32767</width>
191 <height>28</height>
192 </size>
193 </property>
194 <property name="text">
195 <string>Close</string>
196 </property>
197 <property name="accel">
198 <string></string>
199 </property>
200 <property name="toolTip" stdset="0">
201 <string>Close this dialog</string>
202 </property>
203 </widget>
204 <spacer row="1" column="4">
205 <property name="name">
206 <cstring>spacer3</cstring>
207 </property>
208 <property name="orientation">
209 <enum>Horizontal</enum>
210 </property>
211 <property name="sizeType">
212 <enum>Expanding</enum>
213 </property>
214 <property name="sizeHint">
215 <size>
216 <width>30</width>
217 <height>20</height>
218 </size>
219 </property>
220 </spacer>
221 <widget class="QPushButton" row="1" column="2">
222 <property name="name">
223 <cstring>UpdateDevicePushButton</cstring>
224 </property>
225 <property name="minimumSize">
226 <size>
227 <width>0</width>
228 <height>28</height>
229 </size>
230 </property>
231 <property name="maximumSize">
232 <size>
233 <width>32767</width>
234 <height>28</height>
235 </size>
236 </property>
237 <property name="text">
238 <string>&amp;Update</string>
239 </property>
240 <property name="accel">
241 <string>Alt+U</string>
242 </property>
243 <property name="toolTip" stdset="0">
244 <string>Update current device</string>
245 </property>
246 </widget>
247 <spacer row="1" column="0">
248 <property name="name">
249 <cstring>spacer2</cstring>
250 </property>
251 <property name="orientation">
252 <enum>Horizontal</enum>
253 </property>
254 <property name="sizeType">
255 <enum>Minimum</enum>
256 </property>
257 <property name="sizeHint">
258 <size>
259 <width>4</width>
260 <height>20</height>
261 </size>
262 </property>
263 </spacer>
264 <widget class="qsamplerDeviceParamTable" row="0" column="0" rowspan="1" colspan="6">
265 <property name="name">
266 <cstring>DeviceParamTable</cstring>
267 </property>
268 <property name="sizePolicy">
269 <sizepolicy>
270 <hsizetype>7</hsizetype>
271 <vsizetype>7</vsizetype>
272 <horstretch>0</horstretch>
273 <verstretch>0</verstretch>
274 </sizepolicy>
275 </property>
276 <property name="minimumSize">
277 <size>
278 <width>0</width>
279 <height>260</height>
280 </size>
281 </property>
282 <property name="focusPolicy">
283 <enum>StrongFocus</enum>
284 </property>
285 </widget>
286 <widget class="QPushButton" row="1" column="1">
287 <property name="name">
288 <cstring>CreateDevicePushButton</cstring>
289 </property>
290 <property name="minimumSize">
291 <size>
292 <width>0</width>
293 <height>28</height>
294 </size>
295 </property>
296 <property name="maximumSize">
297 <size>
298 <width>32767</width>
299 <height>28</height>
300 </size>
301 </property>
302 <property name="text">
303 <string>&amp;Create</string>
304 </property>
305 <property name="accel">
306 <string>Alt+C</string>
307 </property>
308 <property name="toolTip" stdset="0">
309 <string>Create current device</string>
310 </property>
311 </widget>
312 <widget class="QPushButton" row="1" column="3">
313 <property name="name">
314 <cstring>DeleteDevicePushButton</cstring>
315 </property>
316 <property name="minimumSize">
317 <size>
318 <width>0</width>
319 <height>28</height>
320 </size>
321 </property>
322 <property name="maximumSize">
323 <size>
324 <width>32767</width>
325 <height>28</height>
326 </size>
327 </property>
328 <property name="text">
329 <string>&amp;Delete</string>
330 </property>
331 <property name="accel">
332 <string>Alt+D</string>
333 </property>
334 <property name="toolTip" stdset="0">
335 <string>Delete current device</string>
336 </property>
337 </widget>
338 </grid>
339 </widget>
340 </widget>
341 </hbox>
342 </widget>
343 <customwidgets>
344 <customwidget>
345 <class>qsamplerDeviceParamTable</class>
346 <header location="global">qsamplerDevice.h</header>
347 <sizehint>
348 <width>-1</width>
349 <height>-1</height>
350 </sizehint>
351 <container>0</container>
352 <sizepolicy>
353 <hordata>7</hordata>
354 <verdata>7</verdata>
355 <horstretch>0</horstretch>
356 <verstretch>0</verstretch>
357 </sizepolicy>
358 <pixmap>image0</pixmap>
359 </customwidget>
360 </customwidgets>
361 <connections>
362 <connection>
363 <sender>LoadDevicesPushButton</sender>
364 <signal>clicked()</signal>
365 <receiver>qsamplerDeviceForm</receiver>
366 <slot>loadDevices()</slot>
367 </connection>
368 <connection>
369 <sender>SaveDevicesPushButton</sender>
370 <signal>clicked()</signal>
371 <receiver>qsamplerDeviceForm</receiver>
372 <slot>saveDevices()</slot>
373 </connection>
374 <connection>
375 <sender>CreateDevicePushButton</sender>
376 <signal>clicked()</signal>
377 <receiver>qsamplerDeviceForm</receiver>
378 <slot>createDevice()</slot>
379 </connection>
380 <connection>
381 <sender>UpdateDevicePushButton</sender>
382 <signal>clicked()</signal>
383 <receiver>qsamplerDeviceForm</receiver>
384 <slot>updateDevice()</slot>
385 </connection>
386 <connection>
387 <sender>DeleteDevicePushButton</sender>
388 <signal>clicked()</signal>
389 <receiver>qsamplerDeviceForm</receiver>
390 <slot>deleteDevice()</slot>
391 </connection>
392 <connection>
393 <sender>ClosePushButton</sender>
394 <signal>clicked()</signal>
395 <receiver>qsamplerDeviceForm</receiver>
396 <slot>close()</slot>
397 </connection>
398 </connections>
399 <tabstops>
400 <tabstop>DeviceListView</tabstop>
401 <tabstop>DeviceParamTable</tabstop>
402 <tabstop>LoadDevicesPushButton</tabstop>
403 <tabstop>SaveDevicesPushButton</tabstop>
404 <tabstop>CreateDevicePushButton</tabstop>
405 <tabstop>UpdateDevicePushButton</tabstop>
406 <tabstop>DeleteDevicePushButton</tabstop>
407 <tabstop>ClosePushButton</tabstop>
408 </tabstops>
409 <includes>
410 <include location="local" impldecl="in declaration">qsamplerDevice.h</include>
411 <include location="local" impldecl="in implementation">qsamplerDeviceForm.ui.h</include>
412 </includes>
413 <forwards>
414 <forward>class qsamplerMainForm;</forward>
415 </forwards>
416 <variables>
417 <variable access="private">qsamplerMainForm *m_pMainForm;</variable>
418 <variable access="private">int m_iDirtySetup;</variable>
419 <variable access="private">int m_iDirtyCount;</variable>
420 <variable access="private">int m_iUntitled;</variable>
421 <variable access="private">QString m_sFilename;</variable>
422 <variable access="private">lscp_client_t *m_pClient;</variable>
423 </variables>
424 <slots>
425 <slot specifier="non virtual">contentsChanged()</slot>
426 <slot specifier="non virtual">loadDevices()</slot>
427 <slot specifier="non virtual">saveDevices()</slot>
428 <slot specifier="non virtual">createDevice()</slot>
429 <slot specifier="non virtual">updateDevice()</slot>
430 <slot specifier="non virtual">deleteDevice()</slot>
431 <slot specifier="non virtual">selectDevice( QListViewItem * pItem )</slot>
432 <slot specifier="non virtual">refreshDevices()</slot>
433 <slot specifier="non virtual">stabilizeForm()</slot>
434 </slots>
435 <functions>
436 <function access="private" specifier="non virtual">init()</function>
437 <function access="private" specifier="non virtual">destroy()</function>
438 <function access="private" specifier="non virtual">showEvent( QShowEvent * pShowEvent )</function>
439 <function access="private" specifier="non virtual">hideEvent( QHideEvent * pHideEvent )</function>
440 <function specifier="non virtual">setClient( lscp_client_t *pClient )</function>
441 <function specifier="non virtual" returnType="QString">devicesName( const QString &amp; sFilename )</function>
442 <function specifier="non virtual" returnType="bool">queryClose()</function>
443 <function specifier="non virtual">loadDevicesFile( const QString &amp; sFilename )</function>
444 <function specifier="non virtual">saveDevicesFile( const QString &amp; sFilename )</function>
445 </functions>
446 <pixmapinproject/>
447 <layoutdefaults spacing="4" margin="4"/>
448 <includehints>
449 <includehint>qsamplerdeviceparamtable.h</includehint>
450 </includehints>
451 </UI>

  ViewVC Help
Powered by ViewVC