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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 299 - (hide annotations) (download)
Wed Nov 17 15:41:58 2004 UTC (15 years, 4 months ago) by capela
File size: 17079 byte(s)
* Instrument index selection now made via combo box widget;
  actual instrument names are now properly retrieved from
  the instrument file, provided if libgig is available.

1 capela 109 <!DOCTYPE UI><UI version="3.1" stdsetdef="1">
2     <class>qsamplerChannelStrip</class>
3     <comment>qsampler - A LinuxSampler Qt GUI Interface.
4    
5     Copyright (C) 2004, 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>qsamplerChannelStrip</cstring>
26     </property>
27     <property name="geometry">
28     <rect>
29     <x>0</x>
30     <y>0</y>
31 capela 119 <width>694</width>
32 capela 255 <height>47</height>
33 capela 109 </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>Channel</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     <property name="margin">
57     <number>4</number>
58     </property>
59     <property name="spacing">
60     <number>4</number>
61     </property>
62     <widget class="QPushButton">
63     <property name="name">
64     <cstring>ChannelSetupPushButton</cstring>
65     </property>
66     <property name="text">
67     <string>&amp;Channel</string>
68     </property>
69     <property name="accel">
70     <string>Alt+C</string>
71     </property>
72     <property name="iconSet">
73     <iconset>qsamplerChannel.png</iconset>
74     </property>
75     <property name="flat">
76     <bool>true</bool>
77     </property>
78     <property name="toolTip" stdset="0">
79     <string>Channel setup</string>
80     </property>
81     </widget>
82     <widget class="QFrame">
83     <property name="name">
84     <cstring>ChannelInfoFrame</cstring>
85     </property>
86     <property name="sizePolicy">
87     <sizepolicy>
88     <hsizetype>5</hsizetype>
89     <vsizetype>5</vsizetype>
90     <horstretch>0</horstretch>
91     <verstretch>0</verstretch>
92     </sizepolicy>
93     </property>
94     <property name="minimumSize">
95     <size>
96     <width>200</width>
97     <height>0</height>
98     </size>
99     </property>
100     <property name="maximumSize">
101     <size>
102     <width>320</width>
103     <height>64</height>
104     </size>
105     </property>
106     <property name="paletteBackgroundColor">
107     <color>
108     <red>0</red>
109     <green>0</green>
110     <blue>0</blue>
111     </color>
112     </property>
113     <property name="paletteBackgroundPixmap">
114     <pixmap>displaybg1.png</pixmap>
115     </property>
116     <property name="frameShape">
117     <enum>Panel</enum>
118     </property>
119     <property name="frameShadow">
120     <enum>Sunken</enum>
121     </property>
122     <grid>
123     <property name="name">
124     <cstring>unnamed</cstring>
125     </property>
126     <property name="margin">
127     <number>2</number>
128     </property>
129 capela 145 <widget class="QLabel" row="0" column="0">
130 capela 109 <property name="name">
131 capela 145 <cstring>EngineNameTextLabel</cstring>
132     </property>
133     <property name="sizePolicy">
134     <sizepolicy>
135     <hsizetype>7</hsizetype>
136     <vsizetype>5</vsizetype>
137     <horstretch>0</horstretch>
138     <verstretch>0</verstretch>
139     </sizepolicy>
140     </property>
141     <property name="paletteForegroundColor">
142     <color>
143     <red>255</red>
144     <green>255</green>
145     <blue>127</blue>
146     </color>
147     </property>
148     <property name="paletteBackgroundPixmap">
149     <pixmap>displaybg1.png</pixmap>
150     </property>
151     <property name="backgroundOrigin">
152     <enum>ParentOrigin</enum>
153     </property>
154     <property name="text">
155     <string>--</string>
156     </property>
157     <property name="alignment">
158     <set>AlignTop</set>
159     </property>
160     <property name="toolTip" stdset="0">
161     <string>Engine name</string>
162     </property>
163     </widget>
164     <widget class="QLabel" row="1" column="0">
165     <property name="name">
166 capela 109 <cstring>InstrumentNameTextLabel</cstring>
167     </property>
168     <property name="paletteForegroundColor">
169     <color>
170     <red>0</red>
171     <green>255</green>
172     <blue>0</blue>
173     </color>
174     </property>
175     <property name="paletteBackgroundPixmap">
176     <pixmap>displaybg1.png</pixmap>
177     </property>
178     <property name="backgroundOrigin">
179     <enum>ParentOrigin</enum>
180     </property>
181     <property name="text">
182     <string>--</string>
183     </property>
184     <property name="toolTip" stdset="0">
185 capela 299 <string>Instrument name</string>
186 capela 109 </property>
187     </widget>
188 capela 145 <widget class="QLabel" row="0" column="1">
189 capela 109 <property name="name">
190 capela 145 <cstring>MidiPortChannelTextLabel</cstring>
191 capela 109 </property>
192 capela 145 <property name="minimumSize">
193     <size>
194     <width>20</width>
195     <height>0</height>
196     </size>
197 capela 109 </property>
198     <property name="paletteForegroundColor">
199     <color>
200     <red>255</red>
201     <green>255</green>
202     <blue>127</blue>
203     </color>
204     </property>
205     <property name="paletteBackgroundPixmap">
206     <pixmap>displaybg1.png</pixmap>
207     </property>
208     <property name="backgroundOrigin">
209     <enum>ParentOrigin</enum>
210     </property>
211     <property name="text">
212 capela 145 <string>--/--</string>
213 capela 109 </property>
214     <property name="alignment">
215 capela 145 <set>AlignTop|AlignHCenter</set>
216 capela 109 </property>
217     <property name="toolTip" stdset="0">
218 capela 145 <string>MIDI Port/Channel</string>
219 capela 109 </property>
220     </widget>
221 capela 145 <widget class="QLabel" row="1" column="1">
222 capela 109 <property name="name">
223 capela 145 <cstring>InstrumentStatusTextLabel</cstring>
224 capela 109 </property>
225     <property name="minimumSize">
226     <size>
227     <width>20</width>
228     <height>0</height>
229     </size>
230     </property>
231     <property name="paletteForegroundColor">
232     <color>
233 capela 145 <red>0</red>
234 capela 109 <green>255</green>
235 capela 145 <blue>0</blue>
236 capela 109 </color>
237     </property>
238     <property name="paletteBackgroundPixmap">
239     <pixmap>displaybg1.png</pixmap>
240     </property>
241     <property name="backgroundOrigin">
242     <enum>ParentOrigin</enum>
243     </property>
244     <property name="text">
245 capela 145 <string>--</string>
246 capela 109 </property>
247     <property name="alignment">
248 capela 145 <set>AlignCenter</set>
249 capela 109 </property>
250     <property name="toolTip" stdset="0">
251 capela 145 <string>IInstrument load status</string>
252 capela 109 </property>
253     </widget>
254     </grid>
255     </widget>
256     <widget class="QSlider">
257     <property name="name">
258     <cstring>VolumeSlider</cstring>
259     </property>
260     <property name="minimumSize">
261     <size>
262     <width>180</width>
263     <height>0</height>
264     </size>
265     </property>
266     <property name="maxValue">
267     <number>100</number>
268     </property>
269     <property name="orientation">
270     <enum>Horizontal</enum>
271     </property>
272     <property name="tickmarks">
273     <enum>Both</enum>
274     </property>
275     <property name="tickInterval">
276     <number>10</number>
277     </property>
278     <property name="toolTip" stdset="0">
279     <string>Channel volume</string>
280     </property>
281     </widget>
282     <widget class="QSpinBox">
283     <property name="name">
284     <cstring>VolumeSpinBox</cstring>
285     </property>
286     <property name="minimumSize">
287     <size>
288     <width>40</width>
289     <height>0</height>
290     </size>
291     </property>
292     <property name="maximumSize">
293     <size>
294     <width>60</width>
295     <height>32767</height>
296     </size>
297     </property>
298 capela 119 <property name="suffix">
299     <string> %</string>
300     </property>
301 capela 109 <property name="maxValue">
302     <number>100</number>
303     </property>
304     <property name="toolTip" stdset="0">
305     <string>Channel volume</string>
306     </property>
307     </widget>
308     <widget class="QProgressBar">
309     <property name="name">
310     <cstring>StreamUsageProgressBar</cstring>
311     </property>
312     <property name="sizePolicy">
313     <sizepolicy>
314     <hsizetype>1</hsizetype>
315     <vsizetype>0</vsizetype>
316     <horstretch>0</horstretch>
317     <verstretch>0</verstretch>
318     </sizepolicy>
319     </property>
320     <property name="minimumSize">
321     <size>
322     <width>100</width>
323     <height>0</height>
324     </size>
325     </property>
326     <property name="maximumSize">
327     <size>
328     <width>32767</width>
329     <height>22</height>
330     </size>
331     </property>
332     <property name="indicatorFollowsStyle">
333     <bool>false</bool>
334     </property>
335     <property name="toolTip" stdset="0">
336     <string>Least buffer fill stream usage (%)</string>
337     </property>
338     </widget>
339     <widget class="QLabel">
340     <property name="name">
341     <cstring>StreamVoiceCountTextLabel</cstring>
342     </property>
343     <property name="minimumSize">
344     <size>
345     <width>60</width>
346     <height>0</height>
347     </size>
348     </property>
349     <property name="maximumSize">
350     <size>
351     <width>32767</width>
352     <height>22</height>
353     </size>
354     </property>
355     <property name="paletteForegroundColor">
356     <color>
357     <red>0</red>
358     <green>255</green>
359     <blue>0</blue>
360     </color>
361     </property>
362     <property name="paletteBackgroundColor">
363     <color>
364     <red>0</red>
365     <green>0</green>
366     <blue>0</blue>
367     </color>
368     </property>
369     <property name="frameShape">
370     <enum>Panel</enum>
371     </property>
372     <property name="frameShadow">
373     <enum>Sunken</enum>
374     </property>
375     <property name="text">
376     <string>--/--</string>
377     </property>
378     <property name="alignment">
379     <set>AlignCenter</set>
380     </property>
381     <property name="toolTip" stdset="0">
382     <string>Stream / Voice count</string>
383     </property>
384     </widget>
385     </hbox>
386     </widget>
387     <connections>
388     <connection>
389 capela 263 <sender>ChannelSetupPushButton</sender>
390     <signal>clicked()</signal>
391     <receiver>qsamplerChannelStrip</receiver>
392     <slot>channelSetup()</slot>
393     </connection>
394     <connection>
395 capela 109 <sender>VolumeSlider</sender>
396     <signal>valueChanged(int)</signal>
397     <receiver>qsamplerChannelStrip</receiver>
398     <slot>volumeChanged(int)</slot>
399     </connection>
400     <connection>
401     <sender>VolumeSpinBox</sender>
402     <signal>valueChanged(int)</signal>
403     <receiver>qsamplerChannelStrip</receiver>
404     <slot>volumeChanged(int)</slot>
405     </connection>
406     </connections>
407     <tabstops>
408     <tabstop>ChannelSetupPushButton</tabstop>
409     <tabstop>VolumeSlider</tabstop>
410     <tabstop>VolumeSpinBox</tabstop>
411     </tabstops>
412     <includes>
413 capela 264 <include location="local" impldecl="in declaration">qsamplerChannel.h</include>
414 capela 109 <include location="local" impldecl="in implementation">qsamplerChannelStrip.ui.h</include>
415     </includes>
416     <variables>
417     <variable access="private">qsamplerMainForm *m_pMainForm;</variable>
418 capela 264 <variable access="private">qsamplerChannel *m_pChannel;</variable>
419 capela 109 <variable access="private">int m_iDirtyChange;</variable>
420     </variables>
421     <signals>
422     <signal>channelChanged( qsamplerChannelStrip * )</signal>
423     </signals>
424     <slots>
425 capela 255 <slot specifier="non virtual">volumeChanged(int)</slot>
426 capela 295 <slot specifier="non virtual" returnType="bool">channelSetup()</slot>
427 capela 109 </slots>
428     <functions>
429     <function access="private" specifier="non virtual">init()</function>
430     <function access="private" specifier="non virtual">destroy()</function>
431     <function specifier="non virtual">setup( qsamplerMainForm *pMainForm, int iChannelID )</function>
432 capela 264 <function specifier="non virtual" returnType="qsamplerChannel *">channel ( void )</function>
433 capela 109 <function specifier="non virtual" returnType="QFont">displayFont( void )</function>
434     <function specifier="non virtual">setDisplayFont( const QFont &amp; font )</function>
435 capela 267 <function specifier="non virtual">setDisplayEffect( bool bDisplayEffect )</function>
436     <function specifier="non virtual">setDisplayBackground( const QPixmap &amp; pm )</function>
437 capela 297 <function specifier="non virtual" returnType="bool">updateChannelInfo( void )</function>
438     <function specifier="non virtual" returnType="bool">updateChannelVolume( void )</function>
439     <function specifier="non virtual" returnType="bool">updateChannelUsage( void )</function>
440 capela 118 <function specifier="non virtual">contextMenuEvent( QContextMenuEvent *pEvent )</function>
441 capela 119 <function specifier="non virtual">setMaxVolume( int iMaxVolume )</function>
442 capela 109 </functions>
443     <pixmapinproject/>
444     <layoutdefaults spacing="0" margin="0"/>
445     </UI>

  ViewVC Help
Powered by ViewVC