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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC