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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 452 - (hide annotations) (download)
Sun Mar 13 22:06:59 2005 UTC (19 years ago) by capela
File size: 15766 byte(s)
* Device managament gets prettier with new icons.
* Channel device selection is now implemented.

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     <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 capela 452 <width>544</width>
32     <height>343</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 433 <cstring>splitter3</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     <widget class="QLayoutWidget">
95     <property name="name">
96 capela 433 <cstring>layout5</cstring>
97 capela 427 </property>
98     <grid>
99     <property name="name">
100     <cstring>unnamed</cstring>
101     </property>
102 capela 433 <widget class="QLabel" row="0" column="0">
103 capela 427 <property name="name">
104 capela 433 <cstring>DeviceNameTextLabel</cstring>
105 capela 427 </property>
106 capela 433 <property name="sizePolicy">
107     <sizepolicy>
108     <hsizetype>7</hsizetype>
109     <vsizetype>5</vsizetype>
110     <horstretch>0</horstretch>
111     <verstretch>0</verstretch>
112     </sizepolicy>
113 capela 427 </property>
114 capela 433 <property name="font">
115     <font>
116     <bold>1</bold>
117     </font>
118 capela 427 </property>
119 capela 433 <property name="indent">
120     <number>4</number>
121 capela 427 </property>
122     <property name="toolTip" stdset="0">
123 capela 433 <string>Device name</string>
124 capela 427 </property>
125     </widget>
126 capela 433 <widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="3">
127 capela 427 <property name="name">
128 capela 430 <cstring>DeviceParamTable</cstring>
129     </property>
130     <property name="sizePolicy">
131     <sizepolicy>
132     <hsizetype>7</hsizetype>
133     <vsizetype>7</vsizetype>
134     <horstretch>0</horstretch>
135     <verstretch>0</verstretch>
136     </sizepolicy>
137     </property>
138 capela 427 <property name="minimumSize">
139     <size>
140 capela 436 <width>360</width>
141 capela 430 <height>260</height>
142 capela 427 </size>
143     </property>
144 capela 430 <property name="focusPolicy">
145     <enum>StrongFocus</enum>
146 capela 427 </property>
147 capela 430 <property name="toolTip" stdset="0">
148     <string>Device parameters</string>
149     </property>
150     </widget>
151 capela 433 <widget class="QComboBox" row="0" column="2">
152 capela 430 <property name="name">
153 capela 433 <cstring>DriverNameComboBox</cstring>
154 capela 430 </property>
155 capela 433 <property name="toolTip" stdset="0">
156     <string>Driver type name</string>
157 capela 430 </property>
158 capela 433 </widget>
159     <widget class="QLabel" row="0" column="1">
160     <property name="name">
161     <cstring>DriverNameTextLabel</cstring>
162 capela 430 </property>
163 capela 427 <property name="text">
164 capela 433 <string>Dri&amp;ver:</string>
165 capela 427 </property>
166 capela 433 <property name="alignment">
167     <set>AlignVCenter|AlignRight</set>
168 capela 427 </property>
169 capela 433 <property name="buddy" stdset="0">
170     <cstring>DriverNameComboBox</cstring>
171     </property>
172 capela 427 </widget>
173     </grid>
174     </widget>
175     </widget>
176 capela 433 <widget class="QLayoutWidget">
177     <property name="name">
178     <cstring>layout6</cstring>
179     </property>
180     <hbox>
181     <property name="name">
182     <cstring>unnamed</cstring>
183     </property>
184     <widget class="QPushButton">
185     <property name="name">
186     <cstring>RefreshDevicesPushButton</cstring>
187     </property>
188     <property name="text">
189     <string>&amp;Refresh</string>
190     </property>
191     <property name="accel">
192     <string>Alt+R</string>
193     </property>
194 capela 452 <property name="iconSet">
195     <iconset>formRefresh.png</iconset>
196     </property>
197 capela 433 <property name="toolTip" stdset="0">
198     <string>refresh device list view</string>
199     </property>
200     </widget>
201     <spacer>
202     <property name="name">
203     <cstring>spacer1</cstring>
204     </property>
205     <property name="orientation">
206     <enum>Horizontal</enum>
207     </property>
208     <property name="sizeType">
209     <enum>Expanding</enum>
210     </property>
211     <property name="sizeHint">
212     <size>
213     <width>180</width>
214     <height>20</height>
215     </size>
216     </property>
217     </spacer>
218     <widget class="QPushButton">
219     <property name="name">
220     <cstring>CreateDevicePushButton</cstring>
221     </property>
222     <property name="text">
223     <string>&amp;Create</string>
224     </property>
225     <property name="accel">
226     <string>Alt+C</string>
227     </property>
228 capela 452 <property name="iconSet">
229     <iconset>deviceCreate.png</iconset>
230     </property>
231 capela 433 <property name="toolTip" stdset="0">
232     <string>Create current device</string>
233     </property>
234     </widget>
235     <widget class="QPushButton">
236     <property name="name">
237     <cstring>DeleteDevicePushButton</cstring>
238     </property>
239     <property name="text">
240     <string>&amp;Delete</string>
241     </property>
242     <property name="accel">
243     <string>Alt+D</string>
244     </property>
245 capela 452 <property name="iconSet">
246     <iconset>deviceDelete.png</iconset>
247     </property>
248 capela 433 <property name="toolTip" stdset="0">
249     <string>Delete current device</string>
250     </property>
251     </widget>
252     <widget class="QPushButton">
253     <property name="name">
254     <cstring>ClosePushButton</cstring>
255     </property>
256     <property name="text">
257     <string>Close</string>
258     </property>
259     <property name="accel">
260     <string></string>
261     </property>
262 capela 452 <property name="iconSet">
263     <iconset>formReject.png</iconset>
264     </property>
265 capela 433 <property name="toolTip" stdset="0">
266     <string>Close this dialog</string>
267     </property>
268     </widget>
269     </hbox>
270     </widget>
271     </vbox>
272 capela 427 </widget>
273     <customwidgets>
274     <customwidget>
275 capela 429 <class>qsamplerDeviceParamTable</class>
276 capela 427 <header location="global">qsamplerDevice.h</header>
277     <sizehint>
278     <width>-1</width>
279     <height>-1</height>
280     </sizehint>
281     <container>0</container>
282     <sizepolicy>
283     <hordata>7</hordata>
284     <verdata>7</verdata>
285     <horstretch>0</horstretch>
286     <verstretch>0</verstretch>
287     </sizepolicy>
288     <pixmap>image0</pixmap>
289     </customwidget>
290     </customwidgets>
291 capela 430 <images>
292     <image name="image0">
293 capela 452 <data format="XBM.GZ" length="79">789c534e494dcbcc4b554829cdcdad8c2fcf4c29c95030e0524611cd48cd4ccf28010a1797249664262b2467241641a592324b8aa363156c15aab914146aadb90067111b1f</data>
294 capela 430 </image>
295     </images>
296 capela 428 <connections>
297     <connection>
298 capela 430 <sender>DeviceListView</sender>
299     <signal>selectionChanged()</signal>
300     <receiver>qsamplerDeviceForm</receiver>
301     <slot>selectDevice()</slot>
302     </connection>
303     <connection>
304 capela 452 <sender>DeviceListView</sender>
305     <signal>contextMenuRequested(QListViewItem*,const QPoint&amp;,int)</signal>
306     <receiver>qsamplerDeviceForm</receiver>
307     <slot>contextMenu(QListViewItem*,const QPoint&amp;,int)</slot>
308     </connection>
309     <connection>
310 capela 433 <sender>RefreshDevicesPushButton</sender>
311 capela 428 <signal>clicked()</signal>
312     <receiver>qsamplerDeviceForm</receiver>
313 capela 433 <slot>refreshDevices()</slot>
314 capela 428 </connection>
315     <connection>
316 capela 430 <sender>DriverNameComboBox</sender>
317     <signal>activated(const QString&amp;)</signal>
318     <receiver>qsamplerDeviceForm</receiver>
319     <slot>selectDriver(const QString&amp;)</slot>
320     </connection>
321     <connection>
322 capela 428 <sender>CreateDevicePushButton</sender>
323     <signal>clicked()</signal>
324     <receiver>qsamplerDeviceForm</receiver>
325     <slot>createDevice()</slot>
326     </connection>
327     <connection>
328     <sender>DeleteDevicePushButton</sender>
329     <signal>clicked()</signal>
330     <receiver>qsamplerDeviceForm</receiver>
331     <slot>deleteDevice()</slot>
332     </connection>
333     <connection>
334     <sender>ClosePushButton</sender>
335     <signal>clicked()</signal>
336     <receiver>qsamplerDeviceForm</receiver>
337     <slot>close()</slot>
338     </connection>
339     </connections>
340     <tabstops>
341     <tabstop>DeviceListView</tabstop>
342 capela 433 <tabstop>RefreshDevicesPushButton</tabstop>
343     <tabstop>DriverNameComboBox</tabstop>
344 capela 430 <tabstop>DeviceParamTable</tabstop>
345 capela 428 <tabstop>CreateDevicePushButton</tabstop>
346     <tabstop>DeleteDevicePushButton</tabstop>
347     <tabstop>ClosePushButton</tabstop>
348     </tabstops>
349 capela 427 <includes>
350     <include location="local" impldecl="in declaration">qsamplerDevice.h</include>
351     <include location="local" impldecl="in implementation">qsamplerDeviceForm.ui.h</include>
352     </includes>
353     <forwards>
354     <forward>class qsamplerMainForm;</forward>
355     </forwards>
356     <variables>
357     <variable access="private">qsamplerMainForm *m_pMainForm;</variable>
358     <variable access="private">int m_iDirtySetup;</variable>
359 capela 428 <variable access="private">lscp_client_t *m_pClient;</variable>
360 capela 430 <variable access="private">bool m_bNewDevice;</variable>
361 capela 436 <variable access="private">qsamplerDevice::qsamplerDeviceType m_deviceType;</variable>
362 capela 442 <variable access="private">qsamplerDeviceItem *m_pAudioItems;</variable>
363     <variable access="private">qsamplerDeviceItem *m_pMidiItems;</variable>
364 capela 427 </variables>
365     <slots>
366 capela 452 <slot specifier="non virtual">contextMenu(QListViewItem *, const QPoint&amp;, int)</slot>
367 capela 428 <slot specifier="non virtual">createDevice()</slot>
368     <slot specifier="non virtual">deleteDevice()</slot>
369     <slot specifier="non virtual">refreshDevices()</slot>
370 capela 430 <slot specifier="non virtual">selectDriver( const QString &amp; sDriverName )</slot>
371     <slot specifier="non virtual">selectDevice()</slot>
372 capela 432 <slot specifier="non virtual">changeValue( int iRow, int iCol )</slot>
373 capela 427 <slot specifier="non virtual">stabilizeForm()</slot>
374     </slots>
375     <functions>
376     <function access="private" specifier="non virtual">init()</function>
377     <function access="private" specifier="non virtual">destroy()</function>
378 capela 428 <function access="private" specifier="non virtual">showEvent( QShowEvent * pShowEvent )</function>
379     <function access="private" specifier="non virtual">hideEvent( QHideEvent * pHideEvent )</function>
380     <function specifier="non virtual">setClient( lscp_client_t *pClient )</function>
381 capela 427 </functions>
382     <pixmapinproject/>
383     <layoutdefaults spacing="4" margin="4"/>
384     <includehints>
385 capela 429 <includehint>qsamplerdeviceparamtable.h</includehint>
386 capela 427 </includehints>
387     </UI>

  ViewVC Help
Powered by ViewVC