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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 303 by capela, Fri Nov 19 10:18:59 2004 UTC revision 2978 by capela, Mon Aug 15 19:10:16 2016 UTC
# Line 1  Line 1 
1  <!DOCTYPE UI><UI version="3.1" stdsetdef="1">  <?xml version="1.0" encoding="UTF-8"?>
2  <class>qsamplerChannelStrip</class>  <ui version="4.0">
3  <comment>qsampler - A LinuxSampler Qt GUI Interface.   <author>rncbc aka Rui Nuno Capela</author>
4     <comment>qsampler - A LinuxSampler Qt GUI Interface.
5    
6     Copyright (C) 2004, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2016, rncbc aka Rui Nuno Capela. All rights reserved.
7       Copyright (C) 2007, 2008, 2014 Christian Schoenebeck
8    
9     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
10     modify it under the terms of the GNU General Public License     modify it under the terms of the GNU General Public License
# Line 14  Line 16 
16     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17     GNU General Public License for more details.     GNU General Public License for more details.
18    
19     You should have received a copy of the GNU General Public License     You should have received a copy of the GNU General Public License along
20     along with this program; if not, write to the Free Software     with this program; if not, write to the Free Software Foundation, Inc.,
21     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22    
23  </comment>  </comment>
24  <author>rncbc aka Rui Nuno Capela</author>   <class>qsamplerChannelStrip</class>
25  <widget class="QWidget">   <widget class="QWidget" name="qsamplerChannelStrip">
26      <property name="name">    <property name="geometry">
27          <cstring>qsamplerChannelStrip</cstring>     <rect>
28      </property>      <x>0</x>
29      <property name="geometry">      <y>0</y>
30          <rect>      <width>640</width>
31              <x>0</x>      <height>64</height>
32              <y>0</y>     </rect>
33              <width>694</width>    </property>
34              <height>47</height>    <property name="sizePolicy">
35          </rect>     <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
36      </property>      <horstretch>0</horstretch>
37      <property name="sizePolicy">      <verstretch>0</verstretch>
38          <sizepolicy>     </sizepolicy>
39              <hsizetype>7</hsizetype>    </property>
40              <vsizetype>1</vsizetype>    <property name="focusPolicy">
41              <horstretch>0</horstretch>     <enum>Qt::StrongFocus</enum>
42              <verstretch>0</verstretch>    </property>
43          </sizepolicy>    <property name="windowTitle">
44      </property>     <string>Qsampler: Channel</string>
45      <property name="caption">    </property>
46          <string>Channel</string>    <property name="windowIcon">
47      </property>     <iconset resource="qsampler.qrc">:/images/qsamplerChannel.png</iconset>
48      <property name="icon">    </property>
49          <pixmap>qsamplerChannel.png</pixmap>    <layout class="QHBoxLayout">
50      </property>     <property name="spacing">
51      <property name="focusPolicy">      <number>4</number>
52          <enum>StrongFocus</enum>     </property>
53      </property>     <property name="margin">
54      <hbox>      <number>4</number>
55          <property name="name">     </property>
56              <cstring>unnamed</cstring>     <item>
57          </property>      <widget class="QPushButton" name="ChannelSetupPushButton">
58          <property name="margin">       <property name="minimumSize">
59              <number>4</number>        <size>
60          </property>         <width>100</width>
61          <property name="spacing">         <height>22</height>
62              <number>4</number>        </size>
63          </property>       </property>
64          <widget class="QPushButton">       <property name="maximumSize">
65              <property name="name">        <size>
66                  <cstring>ChannelSetupPushButton</cstring>         <width>120</width>
67              </property>         <height>32</height>
68              <property name="text">        </size>
69                  <string>&amp;Channel</string>       </property>
70              </property>       <property name="toolTip">
71              <property name="accel">        <string>Channel setup</string>
72                  <string>Alt+C</string>       </property>
73              </property>       <property name="text">
74              <property name="iconSet">        <string>&amp;Channel</string>
75                  <iconset>qsamplerChannel.png</iconset>       </property>
76              </property>       <property name="icon">
77              <property name="flat">        <iconset resource="qsampler.qrc">:/images/qsamplerChannel.png</iconset>
78                  <bool>true</bool>       </property>
79              </property>      </widget>
80              <property name="toolTip" stdset="0">     </item>
81                  <string>Channel setup</string>     <item>
82              </property>      <widget class="QFrame" name="ChannelInfoFrame">
83          </widget>       <property name="sizePolicy">
84          <widget class="QFrame">        <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
85              <property name="name">         <horstretch>0</horstretch>
86                  <cstring>ChannelInfoFrame</cstring>         <verstretch>0</verstretch>
87              </property>        </sizepolicy>
88              <property name="sizePolicy">       </property>
89                  <sizepolicy>       <property name="minimumSize">
90                      <hsizetype>5</hsizetype>        <size>
91                      <vsizetype>5</vsizetype>         <width>180</width>
92                      <horstretch>0</horstretch>         <height>0</height>
93                      <verstretch>0</verstretch>        </size>
94                  </sizepolicy>       </property>
95              </property>       <property name="maximumSize">
96              <property name="minimumSize">        <size>
97                  <size>         <width>320</width>
98                      <width>200</width>         <height>64</height>
99                      <height>0</height>        </size>
100                  </size>       </property>
101              </property>       <property name="autoFillBackground">
102              <property name="maximumSize">        <bool>true</bool>
103                  <size>       </property>
104                      <width>320</width>       <property name="frameShape">
105                      <height>64</height>        <enum>QFrame::StyledPanel</enum>
106                  </size>       </property>
107              </property>       <property name="frameShadow">
108              <property name="paletteBackgroundColor">        <enum>QFrame::Sunken</enum>
109                  <color>       </property>
110                      <red>0</red>       <layout class="QGridLayout">
111                      <green>0</green>        <property name="margin">
112                      <blue>0</blue>         <number>2</number>
113                  </color>        </property>
114              </property>        <property name="spacing">
115              <property name="paletteBackgroundPixmap">         <number>0</number>
116                  <pixmap>displaybg1.png</pixmap>        </property>
117              </property>        <item row="0" column="0">
118              <property name="frameShape">         <widget class="QLabel" name="EngineNameTextLabel">
119                  <enum>Panel</enum>          <property name="text">
120              </property>           <string>--</string>
121              <property name="frameShadow">          </property>
122                  <enum>Sunken</enum>         </widget>
123              </property>        </item>
124              <grid>        <item row="0" column="2">
125                  <property name="name">         <widget class="QLabel" name="MidiPortChannelTextLabel">
126                      <cstring>unnamed</cstring>          <property name="sizePolicy">
127                  </property>           <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
128                  <property name="margin">            <horstretch>0</horstretch>
129                      <number>2</number>            <verstretch>0</verstretch>
130                  </property>           </sizepolicy>
131                  <widget class="QLabel" row="0" column="0">          </property>
132                      <property name="name">          <property name="minimumSize">
133                          <cstring>EngineNameTextLabel</cstring>           <size>
134                      </property>            <width>20</width>
135                      <property name="sizePolicy">            <height>0</height>
136                          <sizepolicy>           </size>
137                              <hsizetype>7</hsizetype>          </property>
138                              <vsizetype>5</vsizetype>          <property name="toolTip">
139                              <horstretch>0</horstretch>           <string>MIDI port / channel</string>
140                              <verstretch>0</verstretch>          </property>
141                          </sizepolicy>          <property name="text">
142                      </property>           <string>-- / --</string>
143                      <property name="paletteForegroundColor">          </property>
144                          <color>          <property name="alignment">
145                              <red>255</red>           <set>Qt::AlignHCenter|Qt::AlignTop</set>
146                              <green>255</green>          </property>
147                              <blue>127</blue>          <property name="wordWrap">
148                          </color>           <bool>false</bool>
149                      </property>          </property>
150                      <property name="paletteBackgroundPixmap">         </widget>
151                          <pixmap>displaybg1.png</pixmap>        </item>
152                      </property>        <item row="1" column="2">
153                      <property name="backgroundOrigin">         <widget class="QLabel" name="InstrumentStatusTextLabel">
154                          <enum>ParentOrigin</enum>          <property name="minimumSize">
155                      </property>           <size>
156                      <property name="text">            <width>20</width>
157                          <string>--</string>            <height>0</height>
158                      </property>           </size>
159                      <property name="alignment">          </property>
160                          <set>AlignTop</set>          <property name="toolTip">
161                      </property>           <string>Instrument load status</string>
162                      <property name="toolTip" stdset="0">          </property>
163                          <string>Engine name</string>          <property name="text">
164                      </property>           <string>--</string>
165                  </widget>          </property>
166                  <widget class="QLabel" row="1" column="0">          <property name="alignment">
167                      <property name="name">           <set>Qt::AlignCenter</set>
168                          <cstring>InstrumentNameTextLabel</cstring>          </property>
169                      </property>          <property name="wordWrap">
170                      <property name="paletteForegroundColor">           <bool>false</bool>
171                          <color>          </property>
172                              <red>0</red>         </widget>
173                              <green>255</green>        </item>
174                              <blue>0</blue>        <item row="0" column="1">
175                          </color>         <widget class="QLabel" name="MidiActivityLabel">
176                      </property>          <property name="sizePolicy">
177                      <property name="paletteBackgroundPixmap">           <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
178                          <pixmap>displaybg1.png</pixmap>            <horstretch>0</horstretch>
179                      </property>            <verstretch>0</verstretch>
180                      <property name="backgroundOrigin">           </sizepolicy>
181                          <enum>ParentOrigin</enum>          </property>
182                      </property>          <property name="minimumSize">
183                      <property name="text">           <size>
184                          <string>--</string>            <width>16</width>
185                      </property>            <height>16</height>
186                      <property name="toolTip" stdset="0">           </size>
187                          <string>Instrument name</string>          </property>
188                      </property>          <property name="maximumSize">
189                  </widget>           <size>
190                  <widget class="QLabel" row="0" column="1">            <width>16</width>
191                      <property name="name">            <height>16</height>
192                          <cstring>MidiPortChannelTextLabel</cstring>           </size>
193                      </property>          </property>
194                      <property name="minimumSize">          <property name="baseSize">
195                          <size>           <size>
196                              <width>20</width>            <width>16</width>
197                              <height>0</height>            <height>16</height>
198                          </size>           </size>
199                      </property>          </property>
200                      <property name="paletteForegroundColor">          <property name="toolTip">
201                          <color>           <string>MIDI activity</string>
202                              <red>255</red>          </property>
203                              <green>255</green>          <property name="frameShape">
204                              <blue>127</blue>           <enum>QFrame::NoFrame</enum>
205                          </color>          </property>
206                      </property>          <property name="frameShadow">
207                      <property name="paletteBackgroundPixmap">           <enum>QFrame::Plain</enum>
208                          <pixmap>displaybg1.png</pixmap>          </property>
209                      </property>          <property name="text">
210                      <property name="backgroundOrigin">           <string/>
211                          <enum>ParentOrigin</enum>          </property>
212                      </property>          <property name="alignment">
213                      <property name="text">           <set>Qt::AlignCenter</set>
214                          <string>--/--</string>          </property>
215                      </property>         </widget>
216                      <property name="alignment">        </item>
217                          <set>AlignTop|AlignHCenter</set>        <item row="1" column="0">
218                      </property>         <widget class="QPushButton" name="InstrumentNamePushButton">
219                      <property name="toolTip" stdset="0">          <property name="toolTip">
220                          <string>MIDI Port/Channel</string>           <string>Instrument name</string>
221                      </property>          </property>
222                  </widget>          <property name="styleSheet">
223                  <widget class="QLabel" row="1" column="1">           <string notr="true">text-align: left; margin: 0px;</string>
224                      <property name="name">          </property>
225                          <cstring>InstrumentStatusTextLabel</cstring>          <property name="text">
226                      </property>           <string>--</string>
227                      <property name="minimumSize">          </property>
228                          <size>          <property name="flat">
229                              <width>20</width>           <bool>true</bool>
230                              <height>0</height>          </property>
231                          </size>         </widget>
232                      </property>        </item>
233                      <property name="paletteForegroundColor">       </layout>
234                          <color>      </widget>
235                              <red>0</red>     </item>
236                              <green>255</green>     <item>
237                              <blue>0</blue>      <widget class="QPushButton" name="ChannelMutePushButton">
238                          </color>       <property name="maximumSize">
239                      </property>        <size>
240                      <property name="paletteBackgroundPixmap">         <width>48</width>
241                          <pixmap>displaybg1.png</pixmap>         <height>32</height>
242                      </property>        </size>
243                      <property name="backgroundOrigin">       </property>
244                          <enum>ParentOrigin</enum>       <property name="toolTip">
245                      </property>        <string>Channel mute</string>
246                      <property name="text">       </property>
247                          <string>--</string>       <property name="text">
248                      </property>        <string>&amp;Mute</string>
249                      <property name="alignment">       </property>
250                          <set>AlignCenter</set>       <property name="checkable">
251                      </property>        <bool>true</bool>
252                      <property name="toolTip" stdset="0">       </property>
253                          <string>IInstrument load status</string>      </widget>
254                      </property>     </item>
255                  </widget>     <item>
256              </grid>      <widget class="QPushButton" name="ChannelSoloPushButton">
257          </widget>       <property name="maximumSize">
258          <widget class="QSlider">        <size>
259              <property name="name">         <width>48</width>
260                  <cstring>VolumeSlider</cstring>         <height>32</height>
261              </property>        </size>
262              <property name="minimumSize">       </property>
263                  <size>       <property name="toolTip">
264                      <width>180</width>        <string>Channel solo</string>
265                      <height>0</height>       </property>
266                  </size>       <property name="text">
267              </property>        <string>&amp;Solo</string>
268              <property name="maxValue">       </property>
269                  <number>100</number>       <property name="checkable">
270              </property>        <bool>true</bool>
271              <property name="orientation">       </property>
272                  <enum>Horizontal</enum>      </widget>
273              </property>     </item>
274              <property name="tickmarks">     <item>
275                  <enum>Both</enum>      <widget class="QSlider" name="ChannelVolumeSlider">
276              </property>       <property name="minimumSize">
277              <property name="tickInterval">        <size>
278                  <number>10</number>         <width>100</width>
279              </property>         <height>0</height>
280              <property name="toolTip" stdset="0">        </size>
281                  <string>Channel volume</string>       </property>
282              </property>       <property name="toolTip">
283          </widget>        <string>Channel volume</string>
284          <widget class="QSpinBox">       </property>
285              <property name="name">       <property name="maximum">
286                  <cstring>VolumeSpinBox</cstring>        <number>100</number>
287              </property>       </property>
288              <property name="minimumSize">       <property name="orientation">
289                  <size>        <enum>Qt::Horizontal</enum>
290                      <width>40</width>       </property>
291                      <height>0</height>       <property name="tickPosition">
292                  </size>        <enum>QSlider::TicksBothSides</enum>
293              </property>       </property>
294              <property name="maximumSize">       <property name="tickInterval">
295                  <size>        <number>10</number>
296                      <width>60</width>       </property>
297                      <height>32767</height>      </widget>
298                  </size>     </item>
299              </property>     <item>
300              <property name="suffix">      <widget class="QSpinBox" name="ChannelVolumeSpinBox">
301                  <string> %</string>       <property name="minimumSize">
302              </property>        <size>
303              <property name="maxValue">         <width>60</width>
304                  <number>100</number>         <height>0</height>
305              </property>        </size>
306              <property name="toolTip" stdset="0">       </property>
307                  <string>Channel volume</string>       <property name="maximumSize">
308              </property>        <size>
309          </widget>         <width>120</width>
310          <widget class="QProgressBar">         <height>24</height>
311              <property name="name">        </size>
312                  <cstring>StreamUsageProgressBar</cstring>       </property>
313              </property>       <property name="toolTip">
314              <property name="sizePolicy">        <string>Channel volume</string>
315                  <sizepolicy>       </property>
316                      <hsizetype>1</hsizetype>       <property name="suffix">
317                      <vsizetype>0</vsizetype>        <string> %</string>
318                      <horstretch>0</horstretch>       </property>
319                      <verstretch>0</verstretch>       <property name="maximum">
320                  </sizepolicy>        <number>100</number>
321              </property>       </property>
322              <property name="minimumSize">      </widget>
323                  <size>     </item>
324                      <width>100</width>     <item>
325                      <height>0</height>      <widget class="QPushButton" name="ChannelFxPushButton">
326                  </size>       <property name="maximumSize">
327              </property>        <size>
328              <property name="maximumSize">         <width>48</width>
329                  <size>         <height>32</height>
330                      <width>32767</width>        </size>
331                      <height>22</height>       </property>
332                  </size>       <property name="toolTip">
333              </property>        <string>Edit Channel's Effect Settings</string>
334              <property name="indicatorFollowsStyle">       </property>
335                  <bool>false</bool>       <property name="text">
336              </property>        <string>&amp;FX</string>
337              <property name="toolTip" stdset="0">       </property>
338                  <string>Least buffer fill stream usage (%)</string>      </widget>
339              </property>     </item>
340          </widget>     <item>
341          <widget class="QLabel">      <widget class="QPushButton" name="ChannelEditPushButton">
342              <property name="name">       <property name="maximumSize">
343                  <cstring>StreamVoiceCountTextLabel</cstring>        <size>
344              </property>         <width>48</width>
345              <property name="minimumSize">         <height>32</height>
346                  <size>        </size>
347                      <width>60</width>       </property>
348                      <height>0</height>       <property name="toolTip">
349                  </size>        <string>Edit channel's instrument</string>
350              </property>       </property>
351              <property name="maximumSize">       <property name="text">
352                  <size>        <string>&amp;Edit</string>
353                      <width>32767</width>       </property>
354                      <height>22</height>      </widget>
355                  </size>     </item>
356              </property>     <item>
357              <property name="paletteForegroundColor">      <widget class="QProgressBar" name="StreamUsageProgressBar">
358                  <color>       <property name="sizePolicy">
359                      <red>0</red>        <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
360                      <green>255</green>         <horstretch>0</horstretch>
361                      <blue>0</blue>         <verstretch>0</verstretch>
362                  </color>        </sizepolicy>
363              </property>       </property>
364              <property name="paletteBackgroundColor">       <property name="minimumSize">
365                  <color>        <size>
366                      <red>0</red>         <width>64</width>
367                      <green>0</green>         <height>0</height>
368                      <blue>0</blue>        </size>
369                  </color>       </property>
370              </property>       <property name="toolTip">
371              <property name="frameShape">        <string>Least buffer fill stream usage (%)</string>
372                  <enum>Panel</enum>       </property>
373              </property>       <property name="orientation">
374              <property name="frameShadow">        <enum>Qt::Horizontal</enum>
375                  <enum>Sunken</enum>       </property>
376              </property>      </widget>
377              <property name="text">     </item>
378                  <string>--/--</string>     <item>
379              </property>      <widget class="QLabel" name="StreamVoiceCountTextLabel">
380              <property name="alignment">       <property name="minimumSize">
381                  <set>AlignCenter</set>        <size>
382              </property>         <width>48</width>
383              <property name="toolTip" stdset="0">         <height>0</height>
384                  <string>Stream / Voice count</string>        </size>
385              </property>       </property>
386          </widget>       <property name="maximumSize">
387      </hbox>        <size>
388  </widget>         <width>64</width>
389  <connections>         <height>48</height>
390      <connection>        </size>
391          <sender>ChannelSetupPushButton</sender>       </property>
392          <signal>clicked()</signal>       <property name="toolTip">
393          <receiver>qsamplerChannelStrip</receiver>        <string>Stream / Voice count</string>
394          <slot>channelSetup()</slot>       </property>
395      </connection>       <property name="autoFillBackground">
396      <connection>        <bool>true</bool>
397          <sender>VolumeSlider</sender>       </property>
398          <signal>valueChanged(int)</signal>       <property name="frameShape">
399          <receiver>qsamplerChannelStrip</receiver>        <enum>QFrame::StyledPanel</enum>
400          <slot>volumeChanged(int)</slot>       </property>
401      </connection>       <property name="frameShadow">
402      <connection>        <enum>QFrame::Sunken</enum>
403          <sender>VolumeSpinBox</sender>       </property>
404          <signal>valueChanged(int)</signal>       <property name="text">
405          <receiver>qsamplerChannelStrip</receiver>        <string>--/--</string>
406          <slot>volumeChanged(int)</slot>       </property>
407      </connection>       <property name="alignment">
408  </connections>        <set>Qt::AlignCenter</set>
409  <tabstops>       </property>
410      <tabstop>ChannelSetupPushButton</tabstop>       <property name="wordWrap">
411      <tabstop>VolumeSlider</tabstop>        <bool>false</bool>
412      <tabstop>VolumeSpinBox</tabstop>       </property>
413  </tabstops>      </widget>
414  <includes>     </item>
415      <include location="local" impldecl="in declaration">qsamplerChannel.h</include>    </layout>
416      <include location="local" impldecl="in implementation">qsamplerChannelStrip.ui.h</include>   </widget>
417  </includes>   <layoutdefault spacing="0" margin="0"/>
418  <variables>   <tabstops>
419      <variable access="private">qsamplerChannel *m_pChannel;</variable>    <tabstop>ChannelSetupPushButton</tabstop>
420      <variable access="private">int m_iDirtyChange;</variable>    <tabstop>ChannelMutePushButton</tabstop>
421  </variables>    <tabstop>ChannelSoloPushButton</tabstop>
422  <signals>    <tabstop>ChannelVolumeSlider</tabstop>
423      <signal>channelChanged( qsamplerChannelStrip * )</signal>    <tabstop>ChannelVolumeSpinBox</tabstop>
424  </signals>    <tabstop>ChannelFxPushButton</tabstop>
425  <slots>    <tabstop>ChannelEditPushButton</tabstop>
426      <slot specifier="non virtual">volumeChanged(int)</slot>   </tabstops>
427      <slot specifier="non virtual" returnType="bool">channelSetup()</slot>   <resources>
428  </slots>    <include location="qsampler.qrc"/>
429  <functions>   </resources>
430      <function access="private" specifier="non virtual">init()</function>   <connections/>
431      <function access="private" specifier="non virtual">destroy()</function>  </ui>
     <function specifier="non virtual">setup( qsamplerChannel *pChannel )</function>  
     <function specifier="non virtual" returnType="qsamplerChannel *">channel ( void )</function>  
     <function specifier="non virtual" returnType="QFont">displayFont( void )</function>  
     <function specifier="non virtual">setDisplayFont( const QFont &amp; font )</function>  
     <function specifier="non virtual">setDisplayEffect( bool bDisplayEffect )</function>  
     <function specifier="non virtual">setDisplayBackground( const QPixmap &amp; pm )</function>  
     <function specifier="non virtual" returnType="bool">updateChannelInfo( void )</function>  
     <function specifier="non virtual" returnType="bool">updateChannelVolume( void )</function>  
     <function specifier="non virtual" returnType="bool">updateChannelUsage( void )</function>  
     <function specifier="non virtual">contextMenuEvent( QContextMenuEvent *pEvent )</function>  
     <function specifier="non virtual">setMaxVolume( int iMaxVolume )</function>  
 </functions>  
 <pixmapinproject/>  
 <layoutdefaults spacing="0" margin="0"/>  
 </UI>  

Legend:
Removed from v.303  
changed lines
  Added in v.2978

  ViewVC Help
Powered by ViewVC