/[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 367 by capela, Fri Feb 11 08:46:58 2005 UTC revision 452 by capela, Sun Mar 13 22:06:59 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>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 272  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 282  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 290  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 331  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">  
338                      <item>                      <item>
339                          <property name="text">                          <property name="text">
340                              <string>1</string>                              <string>1</string>
# Line 438  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 450  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 475  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 485  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 493  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 529  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 565  Line 594 
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 583  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 608  Line 637 
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 620  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>

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

  ViewVC Help
Powered by ViewVC