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

  ViewVC Help
Powered by ViewVC