/[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 490 by capela, Fri Apr 1 00:34:58 2005 UTC revision 824 by capela, Fri Dec 23 01:40:56 2005 UTC
# Line 28  Line 28 
28          <rect>          <rect>
29              <x>0</x>              <x>0</x>
30              <y>0</y>              <y>0</y>
31              <width>435</width>              <width>491</width>
32              <height>330</height>              <height>417</height>
33          </rect>          </rect>
34      </property>      </property>
35      <property name="sizePolicy">      <property name="sizePolicy">
# Line 41  Line 41 
41          </sizepolicy>          </sizepolicy>
42      </property>      </property>
43      <property name="caption">      <property name="caption">
44          <string>Channel</string>          <string>Qsampler: Channel</string>
45      </property>      </property>
46      <property name="icon">      <property name="icon">
47          <pixmap>qsamplerChannel.png</pixmap>          <pixmap>qsamplerChannel.png</pixmap>
# Line 53  Line 53 
53          <property name="name">          <property name="name">
54              <cstring>unnamed</cstring>              <cstring>unnamed</cstring>
55          </property>          </property>
56          <widget class="QComboBox" row="0" column="1" rowspan="1" colspan="3">          <widget class="QComboBox" row="0" column="1" rowspan="1" colspan="2">
57              <property name="name">              <property name="name">
58                  <cstring>EngineNameComboBox</cstring>                  <cstring>EngineNameComboBox</cstring>
59              </property>              </property>
# Line 97  Line 97 
97                  <cstring>InstrumentFileComboBox</cstring>                  <cstring>InstrumentFileComboBox</cstring>
98              </property>              </property>
99          </widget>          </widget>
100          <widget class="QPushButton" row="1" column="3">          <widget class="QToolButton" row="1" column="2">
101              <property name="name">              <property name="name">
102                  <cstring>InstrumentFilePushButton</cstring>                  <cstring>InstrumentFileToolButton</cstring>
103              </property>              </property>
104              <property name="sizePolicy">              <property name="sizePolicy">
105                  <sizepolicy>                  <sizepolicy>
# Line 121  Line 121 
121                      <height>26</height>                      <height>26</height>
122                  </size>                  </size>
123              </property>              </property>
124                            <property name="focusPolicy">
125                                    <enum>TabFocus</enum>
126                            </property>
127              <property name="text">              <property name="text">
128                  <string></string>                  <string></string>
129              </property>              </property>
# Line 131  Line 134 
134                  <string>Browse for instrument filename</string>                  <string>Browse for instrument filename</string>
135              </property>              </property>
136          </widget>          </widget>
137          <widget class="QComboBox" row="1" column="1" rowspan="1" colspan="2">          <widget class="QComboBox" row="1" column="1">
138              <property name="name">              <property name="name">
139                  <cstring>InstrumentFileComboBox</cstring>                  <cstring>InstrumentFileComboBox</cstring>
140              </property>              </property>
# Line 156  Line 159 
159                  <string>Instrument filename</string>                  <string>Instrument filename</string>
160              </property>              </property>
161          </widget>          </widget>
162          <widget class="QLayoutWidget" row="5" column="0" rowspan="1" colspan="4">          <widget class="QComboBox" row="2" column="1" rowspan="1" colspan="2">
             <property name="name">  
                 <cstring>layout01</cstring>  
             </property>  
             <hbox>  
                 <property name="name">  
                     <cstring>unnamed</cstring>  
                 </property>  
                 <spacer>  
                     <property name="name">  
                         <cstring>spacer3</cstring>  
                     </property>  
                     <property name="orientation">  
                         <enum>Horizontal</enum>  
                     </property>  
                     <property name="sizeType">  
                         <enum>Expanding</enum>  
                     </property>  
                     <property name="sizeHint">  
                         <size>  
                             <width>8</width>  
                             <height>8</height>  
                         </size>  
                     </property>  
                 </spacer>  
                 <widget class="QPushButton">  
                     <property name="name">  
                         <cstring>OkPushButton</cstring>  
                     </property>  
                     <property name="text">  
                         <string>OK</string>  
                     </property>  
                     <property name="iconSet">  
                         <iconset>formAccept.png</iconset>  
                     </property>  
                 </widget>  
                 <widget class="QPushButton">  
                     <property name="name">  
                         <cstring>CancelPushButton</cstring>  
                     </property>  
                     <property name="text">  
                         <string>Cancel</string>  
                     </property>  
                     <property name="iconSet">  
                         <iconset>formReject.png</iconset>  
                     </property>  
                 </widget>  
             </hbox>  
         </widget>  
         <widget class="QComboBox" row="2" column="1" rowspan="1" colspan="3">  
163              <property name="name">              <property name="name">
164                  <cstring>InstrumentNrComboBox</cstring>                  <cstring>InstrumentNrComboBox</cstring>
165              </property>              </property>
# Line 241  Line 195 
195                  <cstring>InstrumentNrComboBox</cstring>                  <cstring>InstrumentNrComboBox</cstring>
196              </property>              </property>
197          </widget>          </widget>
198          <widget class="QGroupBox" row="3" column="1" rowspan="1" colspan="3">          <widget class="QGroupBox" row="3" column="1" rowspan="1" colspan="2">
199              <property name="name">              <property name="name">
200                  <cstring>MidiGroupBox</cstring>                  <cstring>MidiGroupBox</cstring>
201              </property>              </property>
# Line 330  Line 284 
284                              </property>                              </property>
285                              <property name="sizeHint">                              <property name="sizeHint">
286                                  <size>                                  <size>
287                                      <width>25</width>                                      <width>20</width>
288                                      <height>16</height>                                      <height>20</height>
289                                  </size>                                  </size>
290                              </property>                              </property>
291                          </spacer>                          </spacer>
# Line 490  Line 444 
444                                  <string>MIDI input device</string>                                  <string>MIDI input device</string>
445                              </property>                              </property>
446                          </widget>                          </widget>
447                          <widget class="QPushButton">                          <widget class="QToolButton">
448                              <property name="name">                              <property name="name">
449                                  <cstring>MidiDevicePushButton</cstring>                                  <cstring>MidiDeviceToolButton</cstring>
450                              </property>                              </property>
451                              <property name="sizePolicy">                              <property name="sizePolicy">
452                                  <sizepolicy>                                  <sizepolicy>
# Line 514  Line 468 
468                                      <height>26</height>                                      <height>26</height>
469                                  </size>                                  </size>
470                              </property>                              </property>
471                                                            <property name="focusPolicy">
472                                                                    <enum>TabFocus</enum>
473                                                            </property>
474                              <property name="text">                              <property name="text">
475                                  <string></string>                                  <string></string>
476                              </property>                              </property>
# Line 528  Line 485 
485                  </widget>                  </widget>
486              </grid>              </grid>
487          </widget>          </widget>
488          <widget class="QGroupBox" row="4" column="1" rowspan="1" colspan="3">          <widget class="QLayoutWidget" row="5" column="0" rowspan="1" colspan="3">
489                <property name="name">
490                    <cstring>layout01</cstring>
491                </property>
492                <hbox>
493                    <property name="name">
494                        <cstring>unnamed</cstring>
495                    </property>
496                    <spacer>
497                        <property name="name">
498                            <cstring>spacer3</cstring>
499                        </property>
500                        <property name="orientation">
501                            <enum>Horizontal</enum>
502                        </property>
503                        <property name="sizeType">
504                            <enum>Expanding</enum>
505                        </property>
506                        <property name="sizeHint">
507                            <size>
508                                <width>8</width>
509                                <height>8</height>
510                            </size>
511                        </property>
512                    </spacer>
513                    <widget class="QPushButton">
514                        <property name="name">
515                            <cstring>OkPushButton</cstring>
516                        </property>
517                        <property name="text">
518                            <string>OK</string>
519                        </property>
520                        <property name="iconSet">
521                            <iconset>formAccept.png</iconset>
522                        </property>
523                    </widget>
524                    <widget class="QPushButton">
525                        <property name="name">
526                            <cstring>CancelPushButton</cstring>
527                        </property>
528                        <property name="text">
529                            <string>Cancel</string>
530                        </property>
531                        <property name="iconSet">
532                            <iconset>formReject.png</iconset>
533                        </property>
534                    </widget>
535                </hbox>
536            </widget>
537            <widget class="QGroupBox" row="4" column="1" rowspan="1" colspan="2">
538              <property name="name">              <property name="name">
539                  <cstring>AudioGroupBox</cstring>                  <cstring>AudioGroupBox</cstring>
540              </property>              </property>
# Line 570  Line 576 
576                          <cstring>AudioDriverComboBox</cstring>                          <cstring>AudioDriverComboBox</cstring>
577                      </property>                      </property>
578                  </widget>                  </widget>
                 <widget class="QLabel" row="1" column="0">  
                     <property name="name">  
                         <cstring>AudioDeviceTextLabel</cstring>  
                     </property>  
                     <property name="text">  
                         <string>&amp;Device:</string>  
                     </property>  
                     <property name="alignment">  
                         <set>AlignVCenter</set>  
                     </property>  
                     <property name="buddy" stdset="0">  
                         <cstring>AudioDeviceComboBox</cstring>  
                     </property>  
                 </widget>  
579                  <widget class="QLayoutWidget" row="0" column="1">                  <widget class="QLayoutWidget" row="0" column="1">
580                      <property name="name">                      <property name="name">
581                          <cstring>layout21</cstring>                          <cstring>layout21</cstring>
# Line 620  Line 612 
612                              </property>                              </property>
613                              <property name="sizeHint">                              <property name="sizeHint">
614                                  <size>                                  <size>
615                                      <width>210</width>                                      <width>20</width>
616                                      <height>16</height>                                      <height>20</height>
617                                  </size>                                  </size>
618                              </property>                              </property>
619                          </spacer>                          </spacer>
# Line 651  Line 643 
643                                  <string>Audio output device</string>                                  <string>Audio output device</string>
644                              </property>                              </property>
645                          </widget>                          </widget>
646                          <widget class="QPushButton">                          <widget class="QToolButton">
647                              <property name="name">                              <property name="name">
648                                  <cstring>AudioDevicePushButton</cstring>                                  <cstring>AudioDeviceToolButton</cstring>
649                              </property>                              </property>
650                              <property name="sizePolicy">                              <property name="sizePolicy">
651                                  <sizepolicy>                                  <sizepolicy>
# Line 675  Line 667 
667                                      <height>26</height>                                      <height>26</height>
668                                  </size>                                  </size>
669                              </property>                              </property>
670                                                            <property name="focusPolicy">
671                                                                    <enum>TabFocus</enum>
672                                                            </property>
673                              <property name="text">                              <property name="text">
674                                  <string></string>                                  <string></string>
675                              </property>                              </property>
# Line 687  Line 682 
682                          </widget>                          </widget>
683                      </hbox>                      </hbox>
684                  </widget>                  </widget>
685                    <widget class="QLabel" row="1" column="0">
686                        <property name="name">
687                            <cstring>AudioDeviceTextLabel</cstring>
688                        </property>
689                        <property name="text">
690                            <string>&amp;Device:</string>
691                        </property>
692                        <property name="alignment">
693                            <set>AlignVCenter</set>
694                        </property>
695                        <property name="buddy" stdset="0">
696                            <cstring>AudioDeviceComboBox</cstring>
697                        </property>
698                    </widget>
699                    <widget class="qsamplerChannelRoutingTable" row="2" column="1">
700                        <property name="name">
701                            <cstring>AudioRoutingTable</cstring>
702                        </property>
703                        <property name="minimumSize">
704                            <size>
705                                <width>0</width>
706                                <height>100</height>
707                            </size>
708                        </property>
709                        <property name="focusPolicy">
710                            <enum>StrongFocus</enum>
711                        </property>
712                        <property name="toolTip" stdset="0">
713                            <string>Audio output channel routing</string>
714                        </property>
715                    </widget>
716              </grid>              </grid>
717          </widget>          </widget>
718      </grid>      </grid>
719  </widget>  </widget>
720    <customwidgets>
721        <customwidget>
722            <class>qsamplerChannelRoutingTable</class>
723            <header location="local">qsamplerChannel.h</header>
724            <sizehint>
725                <width>-1</width>
726                <height>-1</height>
727            </sizehint>
728            <container>0</container>
729            <sizepolicy>
730                <hordata>7</hordata>
731                <verdata>7</verdata>
732                <horstretch>0</horstretch>
733                <verstretch>0</verstretch>
734            </sizepolicy>
735        </customwidget>
736    </customwidgets>
737  <connections>  <connections>
738      <connection>      <connection>
739          <sender>EngineNameComboBox</sender>          <sender>EngineNameComboBox</sender>
# Line 705  Line 748 
748          <slot>updateInstrumentName()</slot>          <slot>updateInstrumentName()</slot>
749      </connection>      </connection>
750      <connection>      <connection>
751          <sender>InstrumentFilePushButton</sender>          <sender>InstrumentFileToolButton</sender>
752          <signal>clicked()</signal>          <signal>clicked()</signal>
753          <receiver>qsamplerChannelForm</receiver>          <receiver>qsamplerChannelForm</receiver>
754          <slot>openInstrumentFile()</slot>          <slot>openInstrumentFile()</slot>
# Line 765  Line 808 
808          <slot>reject()</slot>          <slot>reject()</slot>
809      </connection>      </connection>
810      <connection>      <connection>
811          <sender>MidiDevicePushButton</sender>          <sender>MidiDeviceToolButton</sender>
812          <signal>clicked()</signal>          <signal>clicked()</signal>
813          <receiver>qsamplerChannelForm</receiver>          <receiver>qsamplerChannelForm</receiver>
814          <slot>setupMidiDevice()</slot>          <slot>setupMidiDevice()</slot>
815      </connection>      </connection>
816      <connection>      <connection>
817          <sender>AudioDevicePushButton</sender>          <sender>AudioDeviceToolButton</sender>
818          <signal>clicked()</signal>          <signal>clicked()</signal>
819          <receiver>qsamplerChannelForm</receiver>          <receiver>qsamplerChannelForm</receiver>
820          <slot>setupAudioDevice()</slot>          <slot>setupAudioDevice()</slot>
# Line 780  Line 823 
823  <tabstops>  <tabstops>
824      <tabstop>EngineNameComboBox</tabstop>      <tabstop>EngineNameComboBox</tabstop>
825      <tabstop>InstrumentFileComboBox</tabstop>      <tabstop>InstrumentFileComboBox</tabstop>
826      <tabstop>InstrumentFilePushButton</tabstop>      <tabstop>InstrumentFileToolButton</tabstop>
827      <tabstop>InstrumentNrComboBox</tabstop>      <tabstop>InstrumentNrComboBox</tabstop>
828      <tabstop>MidiDriverComboBox</tabstop>      <tabstop>MidiDriverComboBox</tabstop>
829      <tabstop>MidiPortSpinBox</tabstop>      <tabstop>MidiPortSpinBox</tabstop>
830      <tabstop>MidiChannelComboBox</tabstop>      <tabstop>MidiChannelComboBox</tabstop>
831      <tabstop>MidiDeviceComboBox</tabstop>      <tabstop>MidiDeviceComboBox</tabstop>
832      <tabstop>MidiDevicePushButton</tabstop>      <tabstop>MidiDeviceToolButton</tabstop>
833      <tabstop>AudioDriverComboBox</tabstop>      <tabstop>AudioDriverComboBox</tabstop>
834      <tabstop>AudioDeviceComboBox</tabstop>      <tabstop>AudioDeviceComboBox</tabstop>
835      <tabstop>AudioDevicePushButton</tabstop>      <tabstop>AudioDeviceToolButton</tabstop>
836        <tabstop>AudioRoutingTable</tabstop>
837      <tabstop>OkPushButton</tabstop>      <tabstop>OkPushButton</tabstop>
838      <tabstop>CancelPushButton</tabstop>      <tabstop>CancelPushButton</tabstop>
839  </tabstops>  </tabstops>
# Line 808  Line 852 
852      <variable access="private">QPtrList &lt; qsamplerDevice &gt; m_audioDevices;</variable>      <variable access="private">QPtrList &lt; qsamplerDevice &gt; m_audioDevices;</variable>
853      <variable access="private">QPtrList &lt; qsamplerDevice &gt; m_midiDevices;</variable>      <variable access="private">QPtrList &lt; qsamplerDevice &gt; m_midiDevices;</variable>
854      <variable access="private">qsamplerDeviceForm *m_pDeviceForm;</variable>      <variable access="private">qsamplerDeviceForm *m_pDeviceForm;</variable>
855        <variable access="private">qsamplerChannelRoutingMap m_audioRouting;</variable>
856  </variables>  </variables>
857  <slots>  <slots>
858      <slot specifier="non virtual">accept()</slot>      <slot specifier="non virtual">accept()</slot>
# Line 820  Line 865 
865      <slot specifier="non virtual">selectAudioDriver( const QString &amp; sAudioDriver )</slot>      <slot specifier="non virtual">selectAudioDriver( const QString &amp; sAudioDriver )</slot>
866      <slot specifier="non virtual">selectAudioDevice( int iAudioItem )</slot>      <slot specifier="non virtual">selectAudioDevice( int iAudioItem )</slot>
867      <slot specifier="non virtual">setupAudioDevice()</slot>      <slot specifier="non virtual">setupAudioDevice()</slot>
868        <slot specifier="non virtual">changeAudioRouting( int iRow, int iCol )</slot>
869      <slot specifier="non virtual">updateDevices()</slot>      <slot specifier="non virtual">updateDevices()</slot>
870      <slot specifier="non virtual">optionsChanged()</slot>      <slot specifier="non virtual">optionsChanged()</slot>
871      <slot specifier="non virtual">stabilizeForm()</slot>      <slot specifier="non virtual">stabilizeForm()</slot>
# Line 828  Line 874 
874      <function access="private" specifier="non virtual">init()</function>      <function access="private" specifier="non virtual">init()</function>
875      <function access="private" specifier="non virtual">destroy()</function>      <function access="private" specifier="non virtual">destroy()</function>
876      <function specifier="non virtual">setup( qsamplerChannel *pChannel )</function>      <function specifier="non virtual">setup( qsamplerChannel *pChannel )</function>
877          <function specifier="non virtual">setupDevice( qsamplerDevice *pDevice, qsamplerDevice::qsamplerDeviceType deviceTypeMode, const QString &amp; sDriverName )</function>      <function specifier="non virtual">setupDevice( qsamplerDevice *pDevice, qsamplerDevice::qsamplerDeviceType deviceTypeMode, const QString &amp; sDriverName )</function>
878      <function specifier="non virtual">selectMidiDriverItem( const QString &amp; sMidiDriver )</function>      <function specifier="non virtual">selectMidiDriverItem( const QString &amp; sMidiDriver )</function>
879      <function specifier="non virtual">selectMidiDeviceItem( int iMidiItem )</function>      <function specifier="non virtual">selectMidiDeviceItem( int iMidiItem )</function>
880      <function specifier="non virtual">selectAudioDriverItem( const QString &amp; sAudioDriver )</function>      <function specifier="non virtual">selectAudioDriverItem( const QString &amp; sAudioDriver )</function>
881      <function specifier="non virtual">selectAudioDeviceItem( int iAudioItem )</function>      <function specifier="non virtual">selectAudioDeviceItem( int iAudioItem )</function>
882  </functions>  </functions>
883  <pixmapinproject/>  <pixmapinproject/>
884  <layoutdefaults spacing="8" margin="8"/>  <layoutdefaults spacing="4" margin="4"/>
885  </UI>  </UI>

Legend:
Removed from v.490  
changed lines
  Added in v.824

  ViewVC Help
Powered by ViewVC