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

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

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

revision 400 by capela, Mon Feb 21 15:02:58 2005 UTC revision 1372 by capela, Wed Oct 3 11:34:30 2007 UTC
# Line 2  Line 2 
2  <class>qsamplerMainForm</class>  <class>qsamplerMainForm</class>
3  <comment>qsampler - A LinuxSampler Qt GUI Interface.  <comment>qsampler - A LinuxSampler Qt GUI Interface.
4    
5     Copyright (C) 2004-2005, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2007, 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 14  Line 14 
14     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15     GNU General Public License for more details.     GNU General Public License for more details.
16    
17     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
18     along with this program; if not, write to the Free Software     with this program; if not, write to the Free Software Foundation, Inc.,
19     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20    
21  </comment>  </comment>
22  <author>rncbc aka Rui Nuno Capela</author>  <author>rncbc aka Rui Nuno Capela</author>
# Line 29  Line 29 
29              <x>0</x>              <x>0</x>
30              <y>0</y>              <y>0</y>
31              <width>472</width>              <width>472</width>
32              <height>293</height>              <height>296</height>
33          </rect>          </rect>
34      </property>      </property>
35      <property name="minimumSize">      <property name="minimumSize">
# Line 39  Line 39 
39          </size>          </size>
40      </property>      </property>
41      <property name="caption">      <property name="caption">
42          <string>qsampler</string>          <string>Qsampler</string>
43      </property>      </property>
44      <property name="icon">      <property name="icon">
45          <pixmap>qsampler.png</pixmap>          <pixmap>qsampler.png</pixmap>
# Line 73  Line 73 
73          <action name="editRemoveChannelAction"/>          <action name="editRemoveChannelAction"/>
74          <separator/>          <separator/>
75          <action name="editSetupChannelAction"/>          <action name="editSetupChannelAction"/>
76            <action name="editEditChannelAction"/>
77          <separator/>          <separator/>
78          <action name="editResetChannelAction"/>          <action name="editResetChannelAction"/>
79            <action name="editResetAllChannelsAction"/>
80      </item>      </item>
81      <item text="&amp;View" name="viewMenu">      <item text="&amp;View" name="viewMenu">
82          <action name="viewMenubarAction"/>          <action name="viewMenubarAction"/>
# Line 82  Line 84 
84          <action name="viewStatusbarAction"/>          <action name="viewStatusbarAction"/>
85          <separator/>          <separator/>
86          <action name="viewMessagesAction"/>          <action name="viewMessagesAction"/>
87            <action name="viewInstrumentsAction"/>
88            <action name="viewDevicesAction"/>
89          <separator/>          <separator/>
90          <action name="viewOptionsAction"/>          <action name="viewOptionsAction"/>
91      </item>      </item>
# Line 109  Line 113 
113          <separator/>          <separator/>
114          <action name="fileResetAction"/>          <action name="fileResetAction"/>
115          <action name="fileRestartAction"/>          <action name="fileRestartAction"/>
116            <separator/>
117            <action name="viewInstrumentsAction"/>
118            <action name="viewDevicesAction"/>
119      </toolbar>      </toolbar>
120      <toolbar dock="2">      <toolbar dock="2">
121          <property name="name">          <property name="name">
# Line 121  Line 128 
128          <action name="editRemoveChannelAction"/>          <action name="editRemoveChannelAction"/>
129          <separator/>          <separator/>
130          <action name="editSetupChannelAction"/>          <action name="editSetupChannelAction"/>
131            <action name="editEditChannelAction"/>
132            <separator/>
133          <action name="editResetChannelAction"/>          <action name="editResetChannelAction"/>
134            <action name="editResetAllChannelsAction"/>
135      </toolbar>      </toolbar>
136      <toolbar dock="2">      <toolbar dock="2">
137          <property name="name">          <property name="name">
# Line 263  Line 273 
273              <string>Restart sampler instance</string>              <string>Restart sampler instance</string>
274          </property>          </property>
275          <property name="accel">          <property name="accel">
276              <string>Shift+Ctrl+R</string>              <string>Ctrl+Shift+R</string>
277          </property>          </property>
278      </action>      </action>
279      <action>      <action>
# Line 331  Line 341 
341      </action>      </action>
342      <action>      <action>
343          <property name="name">          <property name="name">
344                <cstring>editResetChannelAction</cstring>
345            </property>
346            <property name="iconSet">
347                <iconset>editResetChannel.png</iconset>
348            </property>
349            <property name="text">
350                <string>Reset</string>
351            </property>
352            <property name="menuText">
353                <string>Re&amp;set Channel</string>
354            </property>
355            <property name="toolTip">
356                <string>Reset channel</string>
357            </property>
358            <property name="statusTip">
359                <string>Reset current sampler channel</string>
360            </property>
361            <property name="accel">
362                <string></string>
363            </property>
364        </action>
365        <action>
366            <property name="name">
367                <cstring>editResetAllChannelsAction</cstring>
368            </property>
369            <property name="iconSet">
370                <iconset>editResetAllChannels.png</iconset>
371            </property>
372            <property name="text">
373                <string>Reset All</string>
374            </property>
375            <property name="menuText">
376                <string>R&amp;eset All Channels</string>
377            </property>
378            <property name="toolTip">
379                <string>Reset all channels</string>
380            </property>
381            <property name="statusTip">
382                <string>Reset all sampler channels</string>
383            </property>
384            <property name="accel">
385                <string></string>
386            </property>
387        </action>
388        <action>
389            <property name="name">
390              <cstring>editSetupChannelAction</cstring>              <cstring>editSetupChannelAction</cstring>
391          </property>          </property>
392          <property name="iconSet">          <property name="iconSet">
# Line 354  Line 410 
410      </action>      </action>
411      <action>      <action>
412          <property name="name">          <property name="name">
413              <cstring>editResetChannelAction</cstring>              <cstring>editEditChannelAction</cstring>
414          </property>          </property>
415          <property name="iconSet">          <property name="iconSet">
416              <iconset>editResetChannel.png</iconset>              <iconset>editEditChannel.png</iconset>
417          </property>          </property>
418          <property name="text">          <property name="text">
419              <string>Reset</string>              <string>Edit</string>
420          </property>          </property>
421          <property name="menuText">          <property name="menuText">
422              <string>Re&amp;set Channel</string>              <string>Ed&amp;it Channel...</string>
423          </property>          </property>
424          <property name="toolTip">          <property name="toolTip">
425              <string>Reset channel</string>              <string>Edit channel</string>
426          </property>          </property>
427          <property name="statusTip">          <property name="statusTip">
428              <string>Reset current sampler channel</string>              <string>Edit current sampler channel</string>
429          </property>          </property>
430          <property name="accel">          <property name="accel">
431              <string></string>              <string>F9</string>
432          </property>          </property>
433      </action>      </action>
434      <action>      <action>
# Line 469  Line 525 
525      </action>      </action>
526      <action>      <action>
527          <property name="name">          <property name="name">
528                <cstring>viewInstrumentsAction</cstring>
529            </property>
530            <property name="iconSet">
531                <iconset>qsamplerInstrument.png</iconset>
532            </property>
533            <property name="toggleAction">
534                <bool>true</bool>
535            </property>
536            <property name="text">
537                <string>Instruments</string>
538            </property>
539            <property name="menuText">
540                <string>&amp;Instruments</string>
541            </property>
542            <property name="toolTip">
543                <string>MIDI instruments configuration</string>
544            </property>
545            <property name="statusTip">
546                <string>Show/hide the MIDI instruments configuration window</string>
547            </property>
548            <property name="accel">
549                <string>F10</string>
550            </property>
551        </action>
552        <action>
553            <property name="name">
554                <cstring>viewDevicesAction</cstring>
555            </property>
556            <property name="iconSet">
557                <iconset>qsamplerDevice.png</iconset>
558            </property>
559            <property name="toggleAction">
560                <bool>true</bool>
561            </property>
562            <property name="text">
563                <string>Devices</string>
564            </property>
565            <property name="menuText">
566                <string>&amp;Devices</string>
567            </property>
568            <property name="toolTip">
569                <string>Device configuration</string>
570            </property>
571            <property name="statusTip">
572                <string>Show/hide the device configuration window</string>
573            </property>
574            <property name="accel">
575                <string>F11</string>
576            </property>
577        </action>
578        <action>
579            <property name="name">
580              <cstring>viewOptionsAction</cstring>              <cstring>viewOptionsAction</cstring>
581          </property>          </property>
582          <property name="text">          <property name="text">
# Line 510  Line 618 
618              <string>Line up all channel strips</string>              <string>Line up all channel strips</string>
619          </property>          </property>
620          <property name="accel">          <property name="accel">
621              <string>F10</string>              <string>F5</string>
622          </property>          </property>
623      </action>      </action>
624      <action>      <action>
# Line 633  Line 741 
741          <slot>editSetupChannel()</slot>          <slot>editSetupChannel()</slot>
742      </connection>      </connection>
743      <connection>      <connection>
744            <sender>editEditChannelAction</sender>
745            <signal>activated()</signal>
746            <receiver>qsamplerMainForm</receiver>
747            <slot>editEditChannel()</slot>
748        </connection>
749        <connection>
750          <sender>editResetChannelAction</sender>          <sender>editResetChannelAction</sender>
751          <signal>activated()</signal>          <signal>activated()</signal>
752          <receiver>qsamplerMainForm</receiver>          <receiver>qsamplerMainForm</receiver>
753          <slot>editResetChannel()</slot>          <slot>editResetChannel()</slot>
754      </connection>      </connection>
755      <connection>      <connection>
756            <sender>editResetAllChannelsAction</sender>
757            <signal>activated()</signal>
758            <receiver>qsamplerMainForm</receiver>
759            <slot>editResetAllChannels()</slot>
760        </connection>
761        <connection>
762          <sender>viewMenubarAction</sender>          <sender>viewMenubarAction</sender>
763          <signal>toggled(bool)</signal>          <signal>toggled(bool)</signal>
764          <receiver>qsamplerMainForm</receiver>          <receiver>qsamplerMainForm</receiver>
# Line 663  Line 783 
783          <slot>viewMessages(bool)</slot>          <slot>viewMessages(bool)</slot>
784      </connection>      </connection>
785      <connection>      <connection>
786            <sender>viewInstrumentsAction</sender>
787            <signal>activated()</signal>
788            <receiver>qsamplerMainForm</receiver>
789            <slot>viewInstruments()</slot>
790        </connection>
791        <connection>
792            <sender>viewDevicesAction</sender>
793            <signal>activated()</signal>
794            <receiver>qsamplerMainForm</receiver>
795            <slot>viewDevices()</slot>
796        </connection>
797        <connection>
798          <sender>viewOptionsAction</sender>          <sender>viewOptionsAction</sender>
799          <signal>activated()</signal>          <signal>activated()</signal>
800          <receiver>qsamplerMainForm</receiver>          <receiver>qsamplerMainForm</receiver>
# Line 692  Line 824 
824          <receiver>qsamplerMainForm</receiver>          <receiver>qsamplerMainForm</receiver>
825          <slot>helpAboutQt()</slot>          <slot>helpAboutQt()</slot>
826      </connection>      </connection>
     <connection>  
         <sender>channelsMenu</sender>  
         <signal>aboutToShow()</signal>  
         <receiver>qsamplerMainForm</receiver>  
         <slot>channelsMenuAboutToShow()</slot>  
     </connection>  
827  </connections>  </connections>
828  <includes>  <includes>
829      <include location="global" impldecl="in declaration">lscp/client.h</include>      <include location="global" impldecl="in declaration">lscp/client.h</include>
# Line 706  Line 832 
832  <forwards>  <forwards>
833      <forward>class QWorkspace;</forward>      <forward>class QWorkspace;</forward>
834      <forward>class QProcess;</forward>      <forward>class QProcess;</forward>
835        <forward>class QSlider;</forward>
836        <forward>class QSpinBox;</forward>
837      <forward>class QLabel;</forward>      <forward>class QLabel;</forward>
838      <forward>class qsamplerOptions;</forward>      <forward>class qsamplerOptions;</forward>
839      <forward>class qsamplerChannel;</forward>      <forward>class qsamplerChannel;</forward>
840      <forward>class qsamplerMessages;</forward>      <forward>class qsamplerMessages;</forward>
841      <forward>class qsamplerChannelStrip;</forward>      <forward>class qsamplerChannelStrip;</forward>
842        <forward>class qsamplerInstrumentListForm;</forward>
843        <forward>class qsamplerDeviceForm;</forward>
844  </forwards>  </forwards>
845  <variables>  <variables>
846      <variable access="private">qsamplerOptions *m_pOptions;</variable>      <variable access="private">qsamplerOptions *m_pOptions;</variable>
# Line 723  Line 853 
853      <variable access="private">QProcess *m_pServer;</variable>      <variable access="private">QProcess *m_pServer;</variable>
854      <variable access="private">int m_iStartDelay;</variable>      <variable access="private">int m_iStartDelay;</variable>
855      <variable access="private">int m_iTimerDelay;</variable>      <variable access="private">int m_iTimerDelay;</variable>
856      <variable access="private">int m_iTimerSlot;</variable>      <variable access="private">int m_iTimerSlot;</variable>    
857      <variable access="private">QLabel *m_status[5];</variable>      <variable access="private">QLabel *m_statusItem[5];</variable>
858      <variable access="private">QPopupMenu *m_pRecentFilesMenu;</variable>      <variable access="private">QPopupMenu *m_pRecentFilesMenu;</variable>
859      <variable access="private">QPtrList&lt;qsamplerChannelStrip&gt; m_changedStrips;</variable>      <variable access="private">QPtrList&lt;qsamplerChannelStrip&gt; m_changedStrips;</variable>
860        <variable access="private">qsamplerInstrumentListForm *m_pInstrumentListForm;</variable>
861        <variable access="private">qsamplerDeviceForm *m_pDeviceForm;</variable>
862        <variable access="private">static qsamplerMainForm *g_pMainForm;</variable>
863        <variable access="private">QSlider *m_pVolumeSlider;</variable>
864        <variable access="private">QSpinBox *m_pVolumeSpinBox;</variable>
865        <variable access="private">int m_iVolumeChanging;</variable>
866  </variables>  </variables>
867  <slots>  <slots>
868      <slot specifier="non virtual">fileNew( void )</slot>      <slot specifier="non virtual">fileNew( void )</slot>
869      <slot specifier="non virtual">fileOpen( void )</slot>      <slot specifier="non virtual">fileOpen( void )</slot>
870        <slot specifier="non virtual">fileOpenRecent( int iIndex )</slot>
871      <slot specifier="non virtual">fileSave( void )</slot>      <slot specifier="non virtual">fileSave( void )</slot>
872      <slot specifier="non virtual">fileSaveAs( void )</slot>      <slot specifier="non virtual">fileSaveAs( void )</slot>
873      <slot specifier="non virtual">fileReset( void )</slot>      <slot specifier="non virtual">fileReset( void )</slot>
874      <slot specifier="non virtual">fileRestart( void )</slot>      <slot specifier="non virtual">fileRestart( void )</slot>
875      <slot specifier="non virtual">fileExit( void )</slot>      <slot specifier="non virtual">fileExit( void )</slot>
     <slot specifier="non virtual">fileOpenRecent( int iIndex )</slot>  
876      <slot specifier="non virtual">editAddChannel( void )</slot>      <slot specifier="non virtual">editAddChannel( void )</slot>
877      <slot specifier="non virtual">editRemoveChannel( void )</slot>      <slot specifier="non virtual">editRemoveChannel( void )</slot>
878      <slot specifier="non virtual">editSetupChannel( void )</slot>      <slot specifier="non virtual">editSetupChannel( void )</slot>
879        <slot specifier="non virtual">editEditChannel( void )</slot>
880      <slot specifier="non virtual">editResetChannel( void )</slot>      <slot specifier="non virtual">editResetChannel( void )</slot>
881        <slot specifier="non virtual">editResetAllChannels( void )</slot>
882      <slot specifier="non virtual">viewMenubar( bool bOn )</slot>      <slot specifier="non virtual">viewMenubar( bool bOn )</slot>
883      <slot specifier="non virtual">viewToolbar( bool bOn )</slot>      <slot specifier="non virtual">viewToolbar( bool bOn )</slot>
884      <slot specifier="non virtual">viewStatusbar( bool bOn )</slot>      <slot specifier="non virtual">viewStatusbar( bool bOn )</slot>
885      <slot specifier="non virtual">viewMessages( bool bOn )</slot>      <slot specifier="non virtual">viewMessages( bool bOn )</slot>
886        <slot specifier="non virtual">viewInstruments( void )</slot>
887        <slot specifier="non virtual">viewDevices( void )</slot>
888      <slot specifier="non virtual">viewOptions( void )</slot>      <slot specifier="non virtual">viewOptions( void )</slot>
889      <slot specifier="non virtual">channelsArrange( void )</slot>      <slot specifier="non virtual">channelsArrange( void )</slot>
890      <slot specifier="non virtual">channelsAutoArrange( bool bOn )</slot>      <slot specifier="non virtual">channelsAutoArrange( bool bOn )</slot>
891      <slot specifier="non virtual">helpAboutQt( void )</slot>      <slot specifier="non virtual">helpAboutQt( void )</slot>
892      <slot specifier="non virtual">helpAbout( void )</slot>      <slot specifier="non virtual">helpAbout( void )</slot>
893        <slot specifier="non virtual">sessionDirty( void )</slot>
894      <slot specifier="non virtual">stabilizeForm( void )</slot>      <slot specifier="non virtual">stabilizeForm( void )</slot>
895        <slot specifier="non virtual">volumeChanged( int iVolume )</slot>
896      <slot specifier="non virtual">channelStripChanged( qsamplerChannelStrip *pChannelStrip )</slot>      <slot specifier="non virtual">channelStripChanged( qsamplerChannelStrip *pChannelStrip )</slot>
897      <slot specifier="non virtual">channelsMenuAboutToShow()</slot>      <slot specifier="non virtual">channelsMenuAboutToShow()</slot>
898      <slot specifier="non virtual">channelsMenuActivated( int iChannel )</slot>      <slot specifier="non virtual">channelsMenuActivated( int iChannel )</slot>
# Line 803  Line 945 
945      <function access="private" specifier="non virtual">stopServer( void )</function>      <function access="private" specifier="non virtual">stopServer( void )</function>
946      <function access="private" specifier="non virtual" returnType="bool">startClient( void )</function>      <function access="private" specifier="non virtual" returnType="bool">startClient( void )</function>
947      <function access="private" specifier="non virtual">stopClient( void )</function>      <function access="private" specifier="non virtual">stopClient( void )</function>
948        <function specifier="non virtual" returnType="static qsamplerMainForm *">getInstance( void )</function>
949  </functions>  </functions>
950  <pixmapinproject/>  <pixmapinproject/>
951  <layoutdefaults spacing="4" margin="8"/>  <layoutdefaults spacing="4" margin="8"/>

Legend:
Removed from v.400  
changed lines
  Added in v.1372

  ViewVC Help
Powered by ViewVC