/[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 119 by capela, Wed Jun 9 20:24:48 2004 UTC revision 255 by capela, Tue Sep 28 16:17:43 2004 UTC
# Line 29  Line 29 
29              <x>0</x>              <x>0</x>
30              <y>0</y>              <y>0</y>
31              <width>694</width>              <width>694</width>
32              <height>49</height>              <height>47</height>
33          </rect>          </rect>
34      </property>      </property>
35      <property name="sizePolicy">      <property name="sizePolicy">
# Line 126  Line 126 
126                  <property name="margin">                  <property name="margin">
127                      <number>2</number>                      <number>2</number>
128                  </property>                  </property>
129                  <widget class="QLabel" row="1" column="0" rowspan="1" colspan="2">                  <widget class="QLabel" row="0" column="0">
130                        <property name="name">
131                            <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="indent">
161                            <number>4</number>
162                        </property>
163                        <property name="toolTip" stdset="0">
164                            <string>Engine name</string>
165                        </property>
166                    </widget>
167                    <widget class="QLabel" row="1" column="0">
168                      <property name="name">                      <property name="name">
169                          <cstring>InstrumentNameTextLabel</cstring>                          <cstring>InstrumentNameTextLabel</cstring>
170                      </property>                      </property>
# Line 146  Line 184 
184                      <property name="text">                      <property name="text">
185                          <string>--</string>                          <string>--</string>
186                      </property>                      </property>
187                        <property name="indent">
188                            <number>4</number>
189                        </property>
190                      <property name="toolTip" stdset="0">                      <property name="toolTip" stdset="0">
191                          <string>Instrument file [index]</string>                          <string>Instrument file [index]</string>
192                      </property>                      </property>
193                  </widget>                  </widget>
194                  <widget class="QLabel" row="0" column="0">                  <widget class="QLabel" row="0" column="1">
195                      <property name="name">                      <property name="name">
196                          <cstring>EngineNameTextLabel</cstring>                          <cstring>MidiPortChannelTextLabel</cstring>
197                      </property>                      </property>
198                      <property name="sizePolicy">                      <property name="minimumSize">
199                          <sizepolicy>                          <size>
200                              <hsizetype>7</hsizetype>                              <width>20</width>
201                              <vsizetype>5</vsizetype>                              <height>0</height>
202                              <horstretch>0</horstretch>                          </size>
                             <verstretch>0</verstretch>  
                         </sizepolicy>  
203                      </property>                      </property>
204                      <property name="paletteForegroundColor">                      <property name="paletteForegroundColor">
205                          <color>                          <color>
# Line 176  Line 215 
215                          <enum>ParentOrigin</enum>                          <enum>ParentOrigin</enum>
216                      </property>                      </property>
217                      <property name="text">                      <property name="text">
218                          <string>--</string>                          <string>--/--</string>
219                      </property>                      </property>
220                      <property name="alignment">                      <property name="alignment">
221                          <set>AlignTop</set>                          <set>AlignTop|AlignHCenter</set>
222                      </property>                      </property>
223                      <property name="toolTip" stdset="0">                      <property name="toolTip" stdset="0">
224                          <string>Engine name</string>                          <string>MIDI Port/Channel</string>
225                      </property>                      </property>
226                  </widget>                  </widget>
227                  <widget class="QLabel" row="0" column="1">                  <widget class="QLabel" row="1" column="1">
228                      <property name="name">                      <property name="name">
229                          <cstring>MidiPortChannelTextLabel</cstring>                          <cstring>InstrumentStatusTextLabel</cstring>
230                      </property>                      </property>
231                      <property name="minimumSize">                      <property name="minimumSize">
232                          <size>                          <size>
# Line 197  Line 236 
236                      </property>                      </property>
237                      <property name="paletteForegroundColor">                      <property name="paletteForegroundColor">
238                          <color>                          <color>
239                              <red>255</red>                              <red>0</red>
240                              <green>255</green>                              <green>255</green>
241                              <blue>127</blue>                              <blue>0</blue>
242                          </color>                          </color>
243                      </property>                      </property>
244                      <property name="paletteBackgroundPixmap">                      <property name="paletteBackgroundPixmap">
# Line 209  Line 248 
248                          <enum>ParentOrigin</enum>                          <enum>ParentOrigin</enum>
249                      </property>                      </property>
250                      <property name="text">                      <property name="text">
251                          <string>--/--</string>                          <string>--</string>
252                      </property>                      </property>
253                      <property name="alignment">                      <property name="alignment">
254                          <set>AlignTop</set>                          <set>AlignCenter</set>
255                      </property>                      </property>
256                      <property name="toolTip" stdset="0">                      <property name="toolTip" stdset="0">
257                          <string>MIDI Port/Channel</string>                          <string>IInstrument load status</string>
258                      </property>                      </property>
259                  </widget>                  </widget>
260              </grid>              </grid>
# Line 353  Line 392 
392  </widget>  </widget>
393  <connections>  <connections>
394      <connection>      <connection>
         <sender>ChannelSetupPushButton</sender>  
         <signal>clicked()</signal>  
         <receiver>qsamplerChannelStrip</receiver>  
         <slot>channelSetup()</slot>  
     </connection>  
     <connection>  
395          <sender>VolumeSlider</sender>          <sender>VolumeSlider</sender>
396          <signal>valueChanged(int)</signal>          <signal>valueChanged(int)</signal>
397          <receiver>qsamplerChannelStrip</receiver>          <receiver>qsamplerChannelStrip</receiver>
# Line 378  Line 411 
411  </tabstops>  </tabstops>
412  <includes>  <includes>
413      <include location="global" impldecl="in declaration">lscp/client.h</include>      <include location="global" impldecl="in declaration">lscp/client.h</include>
414        <include location="global" impldecl="in declaration">lscp/device.h</include>
415      <include location="local" impldecl="in implementation">qsamplerChannelStrip.ui.h</include>      <include location="local" impldecl="in implementation">qsamplerChannelStrip.ui.h</include>
416  </includes>  </includes>
417  <forwards>  <forwards>
# Line 390  Line 424 
424      <variable access="private">QString m_sEngineName;</variable>      <variable access="private">QString m_sEngineName;</variable>
425      <variable access="private">QString m_sInstrumentFile;</variable>      <variable access="private">QString m_sInstrumentFile;</variable>
426      <variable access="private">int m_iInstrumentNr;</variable>      <variable access="private">int m_iInstrumentNr;</variable>
427        <variable access="private">int m_iInstrumentStatus;</variable>
428      <variable access="private">QString m_sMidiDriver;</variable>      <variable access="private">QString m_sMidiDriver;</variable>
429      <variable access="private">int m_iMidiDevice;</variable>      <variable access="private">int m_iMidiDevice;</variable>
430      <variable access="private">int m_iMidiPort;</variable>      <variable access="private">int m_iMidiPort;</variable>
# Line 403  Line 438 
438      <signal>channelChanged( qsamplerChannelStrip * )</signal>      <signal>channelChanged( qsamplerChannelStrip * )</signal>
439  </signals>  </signals>
440  <slots>  <slots>
     <slot specifier="non virtual">channelSetup()</slot>  
441      <slot specifier="non virtual">volumeChanged(int)</slot>      <slot specifier="non virtual">volumeChanged(int)</slot>
442        <slot specifier="non virtual">channelSetup(bool bNew = false)</slot>
443  </slots>  </slots>
444  <functions>  <functions>
445      <function access="private" specifier="non virtual">init()</function>      <function access="private" specifier="non virtual">init()</function>
# Line 418  Line 453 
453      <function specifier="non virtual" returnType="bool">loadEngine( const QString&amp; sEngineName )</function>      <function specifier="non virtual" returnType="bool">loadEngine( const QString&amp; sEngineName )</function>
454      <function specifier="non virtual" returnType="QString&amp;">instrumentFile( void )</function>      <function specifier="non virtual" returnType="QString&amp;">instrumentFile( void )</function>
455      <function specifier="non virtual" returnType="int">instrumentNr( void )</function>      <function specifier="non virtual" returnType="int">instrumentNr( void )</function>
456        <function specifier="non virtual" returnType="int">instrumentStatus( void )</function>
457      <function specifier="non virtual" returnType="bool">loadInstrument( const QString&amp; sInstrumentFile, int iInstrumentNr )</function>      <function specifier="non virtual" returnType="bool">loadInstrument( const QString&amp; sInstrumentFile, int iInstrumentNr )</function>
458      <function specifier="non virtual" returnType="QString&amp;">midiDriver( void )</function>      <function specifier="non virtual" returnType="QString&amp;">midiDriver( void )</function>
459      <function specifier="non virtual" returnType="bool">setMidiDriver( const QString&amp; sMidiDriver )</function>      <function specifier="non virtual" returnType="bool">setMidiDriver( const QString&amp; sMidiDriver )</function>

Legend:
Removed from v.119  
changed lines
  Added in v.255

  ViewVC Help
Powered by ViewVC