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

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

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

revision 264 by capela, Wed Sep 29 13:12:45 2004 UTC revision 452 by capela, Sun Mar 13 22:06:59 2005 UTC
# Line 2  Line 2 
2  <class>qsamplerChannelForm</class>  <class>qsamplerChannelForm</class>
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-2005, rncbc aka Rui Nuno Capela. All rights reserved.
6    
7     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
8     modify it under the terms of the GNU General Public License     modify it under the terms of the GNU General Public License
# Line 28  Line 28 
28          <rect>          <rect>
29              <x>0</x>              <x>0</x>
30              <y>0</y>              <y>0</y>
31              <width>430</width>              <width>455</width>
32              <height>255</height>              <height>303</height>
33          </rect>          </rect>
34      </property>      </property>
35      <property name="sizePolicy">      <property name="sizePolicy">
# Line 93  Line 93 
93          </widget>          </widget>
94          <widget class="QLabel" row="1" column="0">          <widget class="QLabel" row="1" column="0">
95              <property name="name">              <property name="name">
96                  <cstring>InstrumentTextLabel</cstring>                  <cstring>InstrumentFileTextLabel</cstring>
97              </property>              </property>
98              <property name="sizePolicy">              <property name="sizePolicy">
99                  <sizepolicy>                  <sizepolicy>
# Line 104  Line 104 
104                  </sizepolicy>                  </sizepolicy>
105              </property>              </property>
106              <property name="text">              <property name="text">
107                  <string>&amp;Instrument:</string>                  <string>&amp;Filename:</string>
108              </property>              </property>
109              <property name="alignment">              <property name="alignment">
110                  <set>AlignVCenter|AlignRight</set>                  <set>AlignVCenter|AlignRight</set>
# Line 221  Line 221 
221                  </widget>                  </widget>
222              </hbox>              </hbox>
223          </widget>          </widget>
224          <widget class="QSpinBox" row="2" column="1">          <widget class="QComboBox" row="2" column="1" rowspan="1" colspan="3">
225              <property name="name">              <property name="name">
226                  <cstring>InstrumentNrSpinBox</cstring>                  <cstring>InstrumentNrComboBox</cstring>
227              </property>              </property>
228              <property name="maximumSize">              <property name="sizePolicy">
229                    <sizepolicy>
230                        <hsizetype>7</hsizetype>
231                        <vsizetype>0</vsizetype>
232                        <horstretch>0</horstretch>
233                        <verstretch>0</verstretch>
234                    </sizepolicy>
235                </property>
236                <property name="minimumSize">
237                  <size>                  <size>
238                      <width>40</width>                      <width>320</width>
239                      <height>32767</height>                      <height>0</height>
240                  </size>                  </size>
241              </property>              </property>
242              <property name="toolTip" stdset="0">              <property name="toolTip" stdset="0">
243                  <string>Instrument index</string>                  <string>Instrument name</string>
244              </property>              </property>
245          </widget>          </widget>
246          <widget class="QLabel" row="2" column="0">          <widget class="QLabel" row="2" column="0">
# Line 240  Line 248 
248                  <cstring>InstrumentNrTextLabel</cstring>                  <cstring>InstrumentNrTextLabel</cstring>
249              </property>              </property>
250              <property name="text">              <property name="text">
251                  <string>Inde&amp;x:</string>                  <string>&amp;Instrument:</string>
252              </property>              </property>
253              <property name="alignment">              <property name="alignment">
254                  <set>AlignVCenter|AlignRight</set>                  <set>AlignVCenter|AlignRight</set>
255              </property>              </property>
256              <property name="buddy" stdset="0">              <property name="buddy" stdset="0">
257                  <cstring>InstrumentNrSpinBox</cstring>                  <cstring>InstrumentNrComboBox</cstring>
             </property>  
         </widget>  
         <widget class="QLabel" row="2" column="2" rowspan="1" colspan="2">  
             <property name="name">  
                 <cstring>InstrumentNameTextLabel</cstring>  
             </property>  
             <property name="sizePolicy">  
                 <sizepolicy>  
                     <hsizetype>1</hsizetype>  
                     <vsizetype>5</vsizetype>  
                     <horstretch>0</horstretch>  
                     <verstretch>0</verstretch>  
                 </sizepolicy>  
             </property>  
             <property name="toolTip" stdset="0">  
                 <string>Instrument name</string>  
258              </property>              </property>
259          </widget>          </widget>
260          <widget class="QGroupBox" row="3" column="1" rowspan="1" colspan="3">          <widget class="QGroupBox" row="3" column="1" rowspan="1" colspan="3">
# Line 280  Line 272 
272              <property name="title">              <property name="title">
273                  <string>MIDI / Input</string>                  <string>MIDI / Input</string>
274              </property>              </property>
275              <hbox>              <grid>
276                  <property name="name">                  <property name="name">
277                      <cstring>unnamed</cstring>                      <cstring>unnamed</cstring>
278                  </property>                  </property>
# Line 290  Line 282 
282                  <property name="spacing">                  <property name="spacing">
283                      <number>8</number>                      <number>8</number>
284                  </property>                  </property>
285                  <widget class="QLabel">                  <widget class="QComboBox" row="0" column="1">
286                        <property name="name">
287                            <cstring>MidiDriverComboBox</cstring>
288                        </property>
289                        <property name="toolTip" stdset="0">
290                            <string>MIDI input driver type</string>
291                        </property>
292                    </widget>
293                    <widget class="QLabel" row="0" column="0">
294                      <property name="name">                      <property name="name">
295                          <cstring>MidiDriverTextLabel</cstring>                          <cstring>MidiDriverTextLabel</cstring>
296                      </property>                      </property>
# Line 298  Line 298 
298                          <string>&amp;Type:</string>                          <string>&amp;Type:</string>
299                      </property>                      </property>
300                      <property name="alignment">                      <property name="alignment">
301                          <set>AlignVCenter|AlignRight</set>                          <set>AlignVCenter</set>
302                      </property>                      </property>
303                      <property name="buddy" stdset="0">                      <property name="buddy" stdset="0">
304                          <cstring>MidiDriverComboBox</cstring>                          <cstring>MidiDriverComboBox</cstring>
305                      </property>                      </property>
306                  </widget>                  </widget>
307                  <widget class="QComboBox">                  <widget class="QComboBox" row="1" column="1" rowspan="1" colspan="6">
                     <item>  
                         <property name="text">  
                             <string>ALSA</string>  
                         </property>  
                     </item>  
308                      <property name="name">                      <property name="name">
309                          <cstring>MidiDriverComboBox</cstring>                          <cstring>MidiDeviceComboBox</cstring>
310                      </property>                      </property>
311                      <property name="toolTip" stdset="0">                      <property name="toolTip" stdset="0">
312                          <string>MIDI input driver type</string>                          <string>MIDI input device</string>
313                      </property>                      </property>
314                  </widget>                  </widget>
315                  <widget class="QLabel">                  <widget class="QLabel" row="1" column="0">
316                      <property name="name">                      <property name="name">
317                          <cstring>MidiPortTextLabel</cstring>                          <cstring>MidiDeviceTextLabel</cstring>
318                      </property>                      </property>
319                      <property name="text">                      <property name="text">
320                          <string>&amp;Port:</string>                          <string>&amp;Device:</string>
321                      </property>                      </property>
322                      <property name="alignment">                      <property name="alignment">
323                          <set>AlignVCenter|AlignRight</set>                          <set>AlignVCenter</set>
324                      </property>                      </property>
325                      <property name="buddy" stdset="0">                      <property name="buddy" stdset="0">
326                          <cstring>MidiPortSpinBox</cstring>                          <cstring>MidiDeviceComboBox</cstring>
327                      </property>                      </property>
328                  </widget>                  </widget>
329                  <widget class="QSpinBox">                  <widget class="QSpinBox" row="0" column="4">
330                      <property name="name">                      <property name="name">
331                          <cstring>MidiPortSpinBox</cstring>                          <cstring>MidiPortSpinBox</cstring>
332                      </property>                      </property>
# Line 339  Line 334 
334                          <string>MIDI input port number</string>                          <string>MIDI input port number</string>
335                      </property>                      </property>
336                  </widget>                  </widget>
337                  <widget class="QLabel">                  <widget class="QComboBox" row="0" column="6">
                     <property name="name">  
                         <cstring>MidiChannelTextLabel</cstring>  
                     </property>  
                     <property name="text">  
                         <string>&amp;Channel:</string>  
                     </property>  
                     <property name="alignment">  
                         <set>AlignVCenter|AlignRight</set>  
                     </property>  
                     <property name="buddy" stdset="0">  
                         <cstring>MidiChannelComboBox</cstring>  
                     </property>  
                 </widget>  
                 <widget class="QComboBox">  
                     <item>  
                         <property name="text">  
                             <string>All</string>  
                         </property>  
                     </item>  
338                      <item>                      <item>
339                          <property name="text">                          <property name="text">
340                              <string>1</string>                              <string>1</string>
# Line 439  Line 415 
415                              <string>16</string>                              <string>16</string>
416                          </property>                          </property>
417                      </item>                      </item>
418                        <item>
419                            <property name="text">
420                                <string>All</string>
421                            </property>
422                        </item>
423                      <property name="name">                      <property name="name">
424                          <cstring>MidiChannelComboBox</cstring>                          <cstring>MidiChannelComboBox</cstring>
425                      </property>                      </property>
# Line 446  Line 427 
427                          <string>MIDI input channel</string>                          <string>MIDI input channel</string>
428                      </property>                      </property>
429                  </widget>                  </widget>
430                  <spacer>                  <widget class="QLabel" row="0" column="5">
431                      <property name="name">                      <property name="name">
432                          <cstring>spacer2</cstring>                          <cstring>MidiChannelTextLabel</cstring>
433                        </property>
434                        <property name="text">
435                            <string>&amp;Channel:</string>
436                        </property>
437                        <property name="alignment">
438                            <set>AlignVCenter|AlignRight</set>
439                        </property>
440                        <property name="buddy" stdset="0">
441                            <cstring>MidiChannelComboBox</cstring>
442                        </property>
443                    </widget>
444                    <spacer row="0" column="2">
445                        <property name="name">
446                            <cstring>spacer1</cstring>
447                      </property>                      </property>
448                      <property name="orientation">                      <property name="orientation">
449                          <enum>Horizontal</enum>                          <enum>Horizontal</enum>
# Line 458  Line 453 
453                      </property>                      </property>
454                      <property name="sizeHint">                      <property name="sizeHint">
455                          <size>                          <size>
456                              <width>8</width>                              <width>16</width>
457                              <height>8</height>                              <height>8</height>
458                          </size>                          </size>
459                      </property>                      </property>
460                  </spacer>                  </spacer>
461              </hbox>                  <widget class="QLabel" row="0" column="3">
462                        <property name="name">
463                            <cstring>MidiPortTextLabel</cstring>
464                        </property>
465                        <property name="text">
466                            <string>&amp;Port:</string>
467                        </property>
468                        <property name="alignment">
469                            <set>AlignVCenter|AlignRight</set>
470                        </property>
471                        <property name="buddy" stdset="0">
472                            <cstring>MidiPortSpinBox</cstring>
473                        </property>
474                    </widget>
475                </grid>
476          </widget>          </widget>
477          <widget class="QGroupBox" row="4" column="1" rowspan="1" colspan="3">          <widget class="QGroupBox" row="4" column="1" rowspan="1" colspan="3">
478              <property name="name">              <property name="name">
# Line 483  Line 492 
492              <property name="alignment">              <property name="alignment">
493                  <set>AlignAuto</set>                  <set>AlignAuto</set>
494              </property>              </property>
495              <hbox>              <grid>
496                  <property name="name">                  <property name="name">
497                      <cstring>unnamed</cstring>                      <cstring>unnamed</cstring>
498                  </property>                  </property>
# Line 493  Line 502 
502                  <property name="spacing">                  <property name="spacing">
503                      <number>8</number>                      <number>8</number>
504                  </property>                  </property>
505                  <widget class="QLabel">                  <widget class="QComboBox" row="1" column="1" rowspan="1" colspan="2">
506                        <property name="name">
507                            <cstring>AudioDeviceComboBox</cstring>
508                        </property>
509                        <property name="toolTip" stdset="0">
510                            <string>Audio output device</string>
511                        </property>
512                    </widget>
513                    <widget class="QComboBox" row="0" column="1">
514                        <property name="name">
515                            <cstring>AudioDriverComboBox</cstring>
516                        </property>
517                        <property name="toolTip" stdset="0">
518                            <string>Audio output driver type</string>
519                        </property>
520                    </widget>
521                    <widget class="QLabel" row="0" column="0">
522                      <property name="name">                      <property name="name">
523                          <cstring>AudioDriverTextLabel</cstring>                          <cstring>AudioDriverTextLabel</cstring>
524                      </property>                      </property>
# Line 501  Line 526 
526                          <string>&amp;Type:</string>                          <string>&amp;Type:</string>
527                      </property>                      </property>
528                      <property name="alignment">                      <property name="alignment">
529                          <set>AlignVCenter|AlignRight</set>                          <set>AlignVCenter</set>
530                      </property>                      </property>
531                      <property name="buddy" stdset="0">                      <property name="buddy" stdset="0">
532                          <cstring>AudioDriverComboBox</cstring>                          <cstring>AudioDriverComboBox</cstring>
533                      </property>                      </property>
534                  </widget>                  </widget>
535                  <widget class="QComboBox">                  <widget class="QLabel" row="1" column="0">
                     <item>  
                         <property name="text">  
                             <string>ALSA</string>  
                         </property>  
                     </item>  
                     <item>  
                         <property name="text">  
                             <string>JACK</string>  
                         </property>  
                     </item>  
536                      <property name="name">                      <property name="name">
537                          <cstring>AudioDriverComboBox</cstring>                          <cstring>AudioDeviceTextLabel</cstring>
538                      </property>                      </property>
539                      <property name="toolTip" stdset="0">                      <property name="text">
540                          <string>Audio output driver type</string>                          <string>&amp;Device:</string>
541                        </property>
542                        <property name="alignment">
543                            <set>AlignVCenter</set>
544                        </property>
545                        <property name="buddy" stdset="0">
546                            <cstring>AudioDeviceComboBox</cstring>
547                      </property>                      </property>
548                  </widget>                  </widget>
549                  <spacer>                  <spacer row="0" column="2">
550                      <property name="name">                      <property name="name">
551                          <cstring>spacer3</cstring>                          <cstring>spacer2</cstring>
552                      </property>                      </property>
553                      <property name="orientation">                      <property name="orientation">
554                          <enum>Horizontal</enum>                          <enum>Horizontal</enum>
# Line 537  Line 558 
558                      </property>                      </property>
559                      <property name="sizeHint">                      <property name="sizeHint">
560                          <size>                          <size>
561                              <width>8</width>                              <width>210</width>
562                              <height>8</height>                              <height>8</height>
563                          </size>                          </size>
564                      </property>                      </property>
565                  </spacer>                  </spacer>
566              </hbox>              </grid>
567          </widget>          </widget>
568      </grid>      </grid>
569  </widget>  </widget>
# Line 566  Line 587 
587          <slot>openInstrumentFile()</slot>          <slot>openInstrumentFile()</slot>
588      </connection>      </connection>
589      <connection>      <connection>
590          <sender>InstrumentNrSpinBox</sender>          <sender>InstrumentNrComboBox</sender>
591          <signal>valueChanged(int)</signal>          <signal>activated(int)</signal>
592          <receiver>qsamplerChannelForm</receiver>          <receiver>qsamplerChannelForm</receiver>
593          <slot>updateInstrumentName()</slot>          <slot>optionsChanged()</slot>
594      </connection>      </connection>
595      <connection>      <connection>
596          <sender>MidiDriverComboBox</sender>          <sender>MidiDriverComboBox</sender>
597          <signal>activated(int)</signal>          <signal>activated(const QString &amp;)</signal>
598          <receiver>qsamplerChannelForm</receiver>          <receiver>qsamplerChannelForm</receiver>
599          <slot>optionsChanged()</slot>          <slot>selectMidiDriver(const QString&amp;)</slot>
600      </connection>      </connection>
601      <connection>      <connection>
602          <sender>MidiPortSpinBox</sender>          <sender>MidiPortSpinBox</sender>
# Line 591  Line 612 
612      </connection>      </connection>
613      <connection>      <connection>
614          <sender>AudioDriverComboBox</sender>          <sender>AudioDriverComboBox</sender>
615          <signal>activated(int)</signal>          <signal>activated(const QString &amp;)</signal>
616          <receiver>qsamplerChannelForm</receiver>          <receiver>qsamplerChannelForm</receiver>
617          <slot>optionsChanged()</slot>          <slot>selectAudioDriver(const QString&amp;)</slot>
618      </connection>      </connection>
619      <connection>      <connection>
620          <sender>OkPushButton</sender>          <sender>OkPushButton</sender>
# Line 612  Line 633 
633      <tabstop>EngineNameComboBox</tabstop>      <tabstop>EngineNameComboBox</tabstop>
634      <tabstop>InstrumentFileComboBox</tabstop>      <tabstop>InstrumentFileComboBox</tabstop>
635      <tabstop>InstrumentFilePushButton</tabstop>      <tabstop>InstrumentFilePushButton</tabstop>
636      <tabstop>InstrumentNrSpinBox</tabstop>      <tabstop>InstrumentNrComboBox</tabstop>
637      <tabstop>MidiDriverComboBox</tabstop>      <tabstop>MidiDriverComboBox</tabstop>
638      <tabstop>MidiPortSpinBox</tabstop>      <tabstop>MidiPortSpinBox</tabstop>
639      <tabstop>MidiChannelComboBox</tabstop>      <tabstop>MidiChannelComboBox</tabstop>
640        <tabstop>MidiDeviceComboBox</tabstop>
641      <tabstop>AudioDriverComboBox</tabstop>      <tabstop>AudioDriverComboBox</tabstop>
642        <tabstop>AudioDeviceComboBox</tabstop>
643      <tabstop>OkPushButton</tabstop>      <tabstop>OkPushButton</tabstop>
644      <tabstop>CancelPushButton</tabstop>      <tabstop>CancelPushButton</tabstop>
645  </tabstops>  </tabstops>
646  <includes>  <includes>
647        <include location="local" impldecl="in declaration">qsamplerDevice.h</include>
648      <include location="local" impldecl="in declaration">qsamplerChannel.h</include>      <include location="local" impldecl="in declaration">qsamplerChannel.h</include>
649      <include location="local" impldecl="in implementation">qsamplerChannelForm.ui.h</include>      <include location="local" impldecl="in implementation">qsamplerChannelForm.ui.h</include>
650  </includes>  </includes>
# Line 628  Line 652 
652      <variable access="private">qsamplerChannel *m_pChannel;</variable>      <variable access="private">qsamplerChannel *m_pChannel;</variable>
653      <variable access="private">int m_iDirtySetup;</variable>      <variable access="private">int m_iDirtySetup;</variable>
654      <variable access="private">int m_iDirtyCount;</variable>      <variable access="private">int m_iDirtyCount;</variable>
655        <variable access="private">QPtrList &lt; qsamplerDevice &gt; m_audioDevices;</variable>
656        <variable access="private">QPtrList &lt; qsamplerDevice &gt; m_midiDevices;</variable>
657  </variables>  </variables>
658  <slots>  <slots>
659      <slot specifier="non virtual">accept()</slot>      <slot specifier="non virtual">accept()</slot>
660      <slot specifier="non virtual">reject()</slot>      <slot specifier="non virtual">reject()</slot>
661      <slot specifier="non virtual">openInstrumentFile()</slot>      <slot specifier="non virtual">openInstrumentFile()</slot>
662      <slot specifier="non virtual">updateInstrumentName()</slot>      <slot specifier="non virtual">updateInstrumentName()</slot>
663        <slot specifier="non virtual">selectMidiDriver( const QString &amp; sMidiDriver )</slot>
664        <slot specifier="non virtual">selectAudioDriver( const QString &amp; sAudioDriver )</slot>
665      <slot specifier="non virtual">optionsChanged()</slot>      <slot specifier="non virtual">optionsChanged()</slot>
666      <slot specifier="non virtual">stabilizeForm()</slot>      <slot specifier="non virtual">stabilizeForm()</slot>
667  </slots>  </slots>
668  <functions>  <functions>
669      <function access="private" specifier="non virtual">init()</function>      <function access="private" specifier="non virtual">init()</function>
670      <function access="private" specifier="non virtual">destroy()</function>      <function access="private" specifier="non virtual">destroy()</function>
671      <function specifier="non virtual">setup( qsamplerChannel *pChannel, bool bNew )</function>      <function specifier="non virtual">setup( qsamplerChannel *pChannel )</function>
672  </functions>  </functions>
673  <pixmapinproject/>  <pixmapinproject/>
674  <layoutdefaults spacing="8" margin="8"/>  <layoutdefaults spacing="8" margin="8"/>

Legend:
Removed from v.264  
changed lines
  Added in v.452

  ViewVC Help
Powered by ViewVC