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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 434 - (show annotations) (download)
Wed Mar 9 17:23:57 2005 UTC (14 years, 10 months ago) by capela
File size: 14683 byte(s)
Device configuration is now partially functional (fix).

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="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>542</width>
32 <height>331</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 <vbox>
53 <property name="name">
54 <cstring>unnamed</cstring>
55 </property>
56 <widget class="QSplitter">
57 <property name="name">
58 <cstring>splitter3</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="QLayoutWidget">
95 <property name="name">
96 <cstring>layout5</cstring>
97 </property>
98 <grid>
99 <property name="name">
100 <cstring>unnamed</cstring>
101 </property>
102 <widget class="QLabel" row="0" column="0">
103 <property name="name">
104 <cstring>DeviceNameTextLabel</cstring>
105 </property>
106 <property name="sizePolicy">
107 <sizepolicy>
108 <hsizetype>7</hsizetype>
109 <vsizetype>5</vsizetype>
110 <horstretch>0</horstretch>
111 <verstretch>0</verstretch>
112 </sizepolicy>
113 </property>
114 <property name="font">
115 <font>
116 <pointsize>10</pointsize>
117 <bold>1</bold>
118 </font>
119 </property>
120 <property name="indent">
121 <number>4</number>
122 </property>
123 <property name="toolTip" stdset="0">
124 <string>Device name</string>
125 </property>
126 </widget>
127 <widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="3">
128 <property name="name">
129 <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 <property name="minimumSize">
140 <size>
141 <width>320</width>
142 <height>260</height>
143 </size>
144 </property>
145 <property name="focusPolicy">
146 <enum>StrongFocus</enum>
147 </property>
148 <property name="toolTip" stdset="0">
149 <string>Device parameters</string>
150 </property>
151 </widget>
152 <widget class="QComboBox" row="0" column="2">
153 <property name="name">
154 <cstring>DriverNameComboBox</cstring>
155 </property>
156 <property name="toolTip" stdset="0">
157 <string>Driver type name</string>
158 </property>
159 </widget>
160 <widget class="QLabel" row="0" column="1">
161 <property name="name">
162 <cstring>DriverNameTextLabel</cstring>
163 </property>
164 <property name="text">
165 <string>Dri&amp;ver:</string>
166 </property>
167 <property name="alignment">
168 <set>AlignVCenter|AlignRight</set>
169 </property>
170 <property name="buddy" stdset="0">
171 <cstring>DriverNameComboBox</cstring>
172 </property>
173 </widget>
174 </grid>
175 </widget>
176 </widget>
177 <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 </widget>
262 <customwidgets>
263 <customwidget>
264 <class>qsamplerDeviceParamTable</class>
265 <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 <images>
281 <image name="image0">
282 <data format="XPM.GZ" length="45">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523250004143a55a6b2e0026630c4f</data>
283 </image>
284 </images>
285 <connections>
286 <connection>
287 <sender>DeviceListView</sender>
288 <signal>selectionChanged()</signal>
289 <receiver>qsamplerDeviceForm</receiver>
290 <slot>selectDevice()</slot>
291 </connection>
292 <connection>
293 <sender>RefreshDevicesPushButton</sender>
294 <signal>clicked()</signal>
295 <receiver>qsamplerDeviceForm</receiver>
296 <slot>refreshDevices()</slot>
297 </connection>
298 <connection>
299 <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 <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 <tabstop>RefreshDevicesPushButton</tabstop>
326 <tabstop>DriverNameComboBox</tabstop>
327 <tabstop>DeviceParamTable</tabstop>
328 <tabstop>CreateDevicePushButton</tabstop>
329 <tabstop>DeleteDevicePushButton</tabstop>
330 <tabstop>ClosePushButton</tabstop>
331 </tabstops>
332 <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 <variable access="private">lscp_client_t *m_pClient;</variable>
344 <variable access="private">bool m_bNewDevice;</variable>
345 </variables>
346 <slots>
347 <slot specifier="non virtual">createDevice()</slot>
348 <slot specifier="non virtual">deleteDevice()</slot>
349 <slot specifier="non virtual">refreshDevices()</slot>
350 <slot specifier="non virtual">selectDriver( const QString &amp; sDriverName )</slot>
351 <slot specifier="non virtual">selectDevice()</slot>
352 <slot specifier="non virtual">changeValue( int iRow, int iCol )</slot>
353 <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 <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 </functions>
362 <pixmapinproject/>
363 <layoutdefaults spacing="4" margin="4"/>
364 <includehints>
365 <includehint>qsamplerdeviceparamtable.h</includehint>
366 </includehints>
367 </UI>

  ViewVC Help
Powered by ViewVC