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

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

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

revision 1463 by capela, Thu Nov 1 13:01:27 2007 UTC revision 3559 by capela, Thu Aug 22 18:58:38 2019 UTC
# Line 2  Line 2 
2   <author>rncbc aka Rui Nuno Capela</author>   <author>rncbc aka Rui Nuno Capela</author>
3   <comment>qsampler - A LinuxSampler Qt GUI Interface.   <comment>qsampler - A LinuxSampler Qt GUI Interface.
4    
5     Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2019, rncbc aka Rui Nuno Capela. All rights reserved.
6       Copyright (C) 2007, Christian Schoenebeck
7    
8     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
9     modify it under the terms of the GNU General Public License     modify it under the terms of the GNU General Public License
# Line 18  Line 19 
19     with this program; if not, write to the Free Software Foundation, Inc.,     with this program; if not, write to the Free Software Foundation, Inc.,
20     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21    
22  </comment>   </comment>
23   <class>qsamplerInstrumentForm</class>   <class>qsamplerInstrumentForm</class>
24   <widget class="QDialog" name="qsamplerInstrumentForm" >   <widget class="QDialog" name="qsamplerInstrumentForm" >
25    <property name="geometry" >    <property name="geometry" >
# Line 29  Line 30 
30      <height>226</height>      <height>226</height>
31     </rect>     </rect>
32    </property>    </property>
   <property name="sizePolicy" >  
    <sizepolicy>  
     <hsizetype>7</hsizetype>  
     <vsizetype>1</vsizetype>  
     <horstretch>0</horstretch>  
     <verstretch>0</verstretch>  
    </sizepolicy>  
   </property>  
33    <property name="focusPolicy" >    <property name="focusPolicy" >
34     <enum>Qt::StrongFocus</enum>     <enum>Qt::StrongFocus</enum>
35    </property>    </property>
36    <property name="windowTitle" >    <property name="windowTitle" >
37     <string>Qsampler: MIDI Instrument</string>     <string>Instrument</string>
38    </property>    </property>
39    <property name="windowIcon" >    <property name="windowIcon" >
40     <iconset resource="../icons/qsampler.qrc" >:/icons/qsamplerInstrument.png</iconset>     <iconset resource="qsampler.qrc" >:/images/qsamplerInstrument.png</iconset>
41    </property>    </property>
42    <layout class="QVBoxLayout" >    <layout class="QVBoxLayout" >
43     <property name="margin" >     <property name="margin" >
# Line 61  Line 54 
54       <property name="spacing" >       <property name="spacing" >
55        <number>4</number>        <number>4</number>
56       </property>       </property>
57       <item row="2" column="1" colspan="9" >       <item row="2" column="1" colspan="8" >
58        <widget class="QComboBox" name="EngineNameComboBox" >        <widget class="QComboBox" name="EngineNameComboBox" >
        <property name="sizePolicy" >  
         <sizepolicy>  
          <hsizetype>7</hsizetype>  
          <vsizetype>0</vsizetype>  
          <horstretch>0</horstretch>  
          <verstretch>0</verstretch>  
         </sizepolicy>  
        </property>  
59         <property name="toolTip" >         <property name="toolTip" >
60          <string>Engine name</string>          <string>Engine name</string>
61         </property>         </property>
# Line 181  Line 166 
166       </item>       </item>
167       <item row="3" column="1" colspan="8" >       <item row="3" column="1" colspan="8" >
168        <widget class="QComboBox" name="InstrumentFileComboBox" >        <widget class="QComboBox" name="InstrumentFileComboBox" >
        <property name="sizePolicy" >  
         <sizepolicy>  
          <hsizetype>7</hsizetype>  
          <vsizetype>0</vsizetype>  
          <horstretch>0</horstretch>  
          <verstretch>0</verstretch>  
         </sizepolicy>  
        </property>  
169         <property name="minimumSize" >         <property name="minimumSize" >
170          <size>          <size>
171           <width>320</width>           <width>320</width>
# Line 269  Line 246 
246       </item>       </item>
247       <item row="0" column="1" colspan="2" >       <item row="0" column="1" colspan="2" >
248        <widget class="QComboBox" name="MapComboBox" >        <widget class="QComboBox" name="MapComboBox" >
        <property name="sizePolicy" >  
         <sizepolicy>  
          <hsizetype>7</hsizetype>  
          <vsizetype>0</vsizetype>  
          <horstretch>0</horstretch>  
          <verstretch>0</verstretch>  
         </sizepolicy>  
        </property>  
249         <property name="toolTip" >         <property name="toolTip" >
250          <string>Instrument map</string>          <string>Instrument map</string>
251         </property>         </property>
# Line 300  Line 269 
269       </item>       </item>
270       <item row="4" column="1" colspan="9" >       <item row="4" column="1" colspan="9" >
271        <widget class="QComboBox" name="InstrumentNrComboBox" >        <widget class="QComboBox" name="InstrumentNrComboBox" >
        <property name="sizePolicy" >  
         <sizepolicy>  
          <hsizetype>7</hsizetype>  
          <vsizetype>0</vsizetype>  
          <horstretch>0</horstretch>  
          <verstretch>0</verstretch>  
         </sizepolicy>  
        </property>  
272         <property name="minimumSize" >         <property name="minimumSize" >
273          <size>          <size>
274           <width>320</width>           <width>320</width>
# Line 341  Line 302 
302       </item>       </item>
303       <item row="5" column="6" colspan="4" >       <item row="5" column="6" colspan="4" >
304        <widget class="QComboBox" name="LoadModeComboBox" >        <widget class="QComboBox" name="LoadModeComboBox" >
        <property name="sizePolicy" >  
         <sizepolicy>  
          <hsizetype>7</hsizetype>  
          <vsizetype>0</vsizetype>  
          <horstretch>0</horstretch>  
          <verstretch>0</verstretch>  
         </sizepolicy>  
        </property>  
305         <property name="toolTip" >         <property name="toolTip" >
306          <string>Load mode</string>          <string>Load mode</string>
307         </property>         </property>
# Line 376  Line 329 
329       </item>       </item>
330       <item row="3" column="9" >       <item row="3" column="9" >
331        <widget class="QToolButton" name="InstrumentFileToolButton" >        <widget class="QToolButton" name="InstrumentFileToolButton" >
        <property name="sizePolicy" >  
         <sizepolicy>  
          <hsizetype>0</hsizetype>  
          <vsizetype>0</vsizetype>  
          <horstretch>0</horstretch>  
          <verstretch>0</verstretch>  
         </sizepolicy>  
        </property>  
332         <property name="minimumSize" >         <property name="minimumSize" >
333          <size>          <size>
334           <width>24</width>           <width>24</width>
# Line 406  Line 351 
351          <string/>          <string/>
352         </property>         </property>
353         <property name="icon" >         <property name="icon" >
354          <iconset resource="../icons/qsampler.qrc" >:/icons/fileOpen.png</iconset>          <iconset resource="qsampler.qrc" >:/images/fileOpen.png</iconset>
355         </property>         </property>
356        </widget>        </widget>
357       </item>       </item>
358      </layout>      </layout>
359     </item>     </item>
360     <item>     <item>
361      <layout class="QHBoxLayout" >      <widget class="QDialogButtonBox" name="DialogButtonBox">
362       <property name="margin" >       <property name="orientation">
363        <number>0</number>        <enum>Qt::Horizontal</enum>
364       </property>       </property>
365       <property name="spacing" >       <property name="standardButtons">
366        <number>4</number>        <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
367       </property>       </property>
368       <item>      </widget>
       <spacer>  
        <property name="orientation" >  
         <enum>Qt::Horizontal</enum>  
        </property>  
        <property name="sizeType" >  
         <enum>QSizePolicy::Expanding</enum>  
        </property>  
        <property name="sizeHint" >  
         <size>  
          <width>8</width>  
          <height>8</height>  
         </size>  
        </property>  
       </spacer>  
      </item>  
      <item>  
       <widget class="QPushButton" name="OkPushButton" >  
        <property name="text" >  
         <string>O&amp;K</string>  
        </property>  
        <property name="icon" >  
         <iconset resource="../icons/qsampler.qrc" >:/icons/formAccept.png</iconset>  
        </property>  
        <property name="shortcut" >  
         <string>Alt+K</string>  
        </property>  
       </widget>  
      </item>  
      <item>  
       <widget class="QPushButton" name="CancelPushButton" >  
        <property name="text" >  
         <string>C&amp;ancel</string>  
        </property>  
        <property name="icon" >  
         <iconset resource="../icons/qsampler.qrc" >:/icons/formReject.png</iconset>  
        </property>  
        <property name="shortcut" >  
         <string>Alt+A</string>  
        </property>  
       </widget>  
      </item>  
     </layout>  
369     </item>     </item>
370    </layout>    </layout>
371   </widget>   </widget>
372   <layoutdefault spacing="4" margin="4" />   <layoutdefault spacing="4" margin="4" />
  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>  
373   <tabstops>   <tabstops>
374    <tabstop>MapComboBox</tabstop>    <tabstop>MapComboBox</tabstop>
375    <tabstop>BankSpinBox</tabstop>    <tabstop>BankSpinBox</tabstop>
# Line 479  Line 381 
381    <tabstop>InstrumentNrComboBox</tabstop>    <tabstop>InstrumentNrComboBox</tabstop>
382    <tabstop>VolumeSpinBox</tabstop>    <tabstop>VolumeSpinBox</tabstop>
383    <tabstop>LoadModeComboBox</tabstop>    <tabstop>LoadModeComboBox</tabstop>
384    <tabstop>OkPushButton</tabstop>    <tabstop>DialogButtonBox</tabstop>
   <tabstop>CancelPushButton</tabstop>  
385   </tabstops>   </tabstops>
386   <resources>   <resources>
387    <include location="../icons/qsampler.qrc" />    <include location="qsampler.qrc" />
388   </resources>   </resources>
  <connections>  
   <connection>  
    <sender>MapComboBox</sender>  
    <signal>activated(int)</signal>  
    <receiver>qsamplerInstrumentForm</receiver>  
    <slot>changed()</slot>  
    <hints>  
     <hint type="sourcelabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
     <hint type="destinationlabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
    </hints>  
   </connection>  
   <connection>  
    <sender>BankSpinBox</sender>  
    <signal>valueChanged(int)</signal>  
    <receiver>qsamplerInstrumentForm</receiver>  
    <slot>changed()</slot>  
    <hints>  
     <hint type="sourcelabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
     <hint type="destinationlabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
    </hints>  
   </connection>  
   <connection>  
    <sender>ProgSpinBox</sender>  
    <signal>valueChanged(int)</signal>  
    <receiver>qsamplerInstrumentForm</receiver>  
    <slot>changed()</slot>  
    <hints>  
     <hint type="sourcelabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
     <hint type="destinationlabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
    </hints>  
   </connection>  
   <connection>  
    <sender>NameLineEdit</sender>  
    <signal>textChanged(QString)</signal>  
    <receiver>qsamplerInstrumentForm</receiver>  
    <slot>nameChanged(QString)</slot>  
    <hints>  
     <hint type="sourcelabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
     <hint type="destinationlabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
    </hints>  
   </connection>  
   <connection>  
    <sender>EngineNameComboBox</sender>  
    <signal>activated(int)</signal>  
    <receiver>qsamplerInstrumentForm</receiver>  
    <slot>changed()</slot>  
    <hints>  
     <hint type="sourcelabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
     <hint type="destinationlabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
    </hints>  
   </connection>  
   <connection>  
    <sender>InstrumentFileComboBox</sender>  
    <signal>activated(QString)</signal>  
    <receiver>qsamplerInstrumentForm</receiver>  
    <slot>updateInstrumentName()</slot>  
    <hints>  
     <hint type="sourcelabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
     <hint type="destinationlabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
    </hints>  
   </connection>  
   <connection>  
    <sender>InstrumentFileToolButton</sender>  
    <signal>clicked()</signal>  
    <receiver>qsamplerInstrumentForm</receiver>  
    <slot>openInstrumentFile()</slot>  
    <hints>  
     <hint type="sourcelabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
     <hint type="destinationlabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
    </hints>  
   </connection>  
   <connection>  
    <sender>InstrumentNrComboBox</sender>  
    <signal>activated(int)</signal>  
    <receiver>qsamplerInstrumentForm</receiver>  
    <slot>instrumentNrChanged()</slot>  
    <hints>  
     <hint type="sourcelabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
     <hint type="destinationlabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
    </hints>  
   </connection>  
   <connection>  
    <sender>VolumeSpinBox</sender>  
    <signal>valueChanged(int)</signal>  
    <receiver>qsamplerInstrumentForm</receiver>  
    <slot>changed()</slot>  
    <hints>  
     <hint type="sourcelabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
     <hint type="destinationlabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
    </hints>  
   </connection>  
   <connection>  
    <sender>LoadModeComboBox</sender>  
    <signal>activated(int)</signal>  
    <receiver>qsamplerInstrumentForm</receiver>  
    <slot>changed()</slot>  
    <hints>  
     <hint type="sourcelabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
     <hint type="destinationlabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
    </hints>  
   </connection>  
   <connection>  
    <sender>OkPushButton</sender>  
    <signal>clicked()</signal>  
    <receiver>qsamplerInstrumentForm</receiver>  
    <slot>accept()</slot>  
    <hints>  
     <hint type="sourcelabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
     <hint type="destinationlabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
    </hints>  
   </connection>  
   <connection>  
    <sender>CancelPushButton</sender>  
    <signal>clicked()</signal>  
    <receiver>qsamplerInstrumentForm</receiver>  
    <slot>reject()</slot>  
    <hints>  
     <hint type="sourcelabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
     <hint type="destinationlabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
    </hints>  
   </connection>  
  </connections>  
389  </ui>  </ui>

Legend:
Removed from v.1463  
changed lines
  Added in v.3559

  ViewVC Help
Powered by ViewVC