<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>KMetronomeWindow</class>
 <widget class="QMainWindow" name="KMetronomeWindow">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>396</width>
    <height>422</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Drumstick Metronome</string>
  </property>
  <property name="windowIcon">
   <iconset resource="kmetronome.qrc">
    <normaloff>:/midi/icons/midi/icon16.png</normaloff>:/midi/icons/midi/icon16.png</iconset>
  </property>
  <widget class="QWidget" name="centralwidget">
   <layout class="QGridLayout" name="gridLayout_3" columnstretch="0,1">
    <property name="sizeConstraint">
     <enum>QLayout::SetNoConstraint</enum>
    </property>
    <item row="0" column="0" colspan="2">
     <layout class="QHBoxLayout" name="horizontalLayout">
      <property name="sizeConstraint">
       <enum>QLayout::SetNoConstraint</enum>
      </property>
      <item>
       <widget class="QFrame" name="m_fakeToolbar">
        <property name="minimumSize">
         <size>
          <width>0</width>
          <height>200</height>
         </size>
        </property>
        <layout class="QVBoxLayout" name="verticalLayout_4">
         <property name="leftMargin">
          <number>0</number>
         </property>
         <property name="topMargin">
          <number>0</number>
         </property>
         <property name="rightMargin">
          <number>0</number>
         </property>
         <property name="bottomMargin">
          <number>0</number>
         </property>
         <item>
          <widget class="QPushButton" name="m_playbtn">
           <property name="sizePolicy">
            <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
           <property name="whatsThis">
            <string>This button starts playing the rhythm pattern</string>
           </property>
           <property name="text">
            <string>Play</string>
           </property>
           <property name="icon">
            <iconset theme="media-playback-start">
             <normaloff/>
            </iconset>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QPushButton" name="m_stopbtn">
           <property name="enabled">
            <bool>false</bool>
           </property>
           <property name="sizePolicy">
            <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
           <property name="whatsThis">
            <string>This button stops playing the rhythm pattern</string>
           </property>
           <property name="text">
            <string>Stop</string>
           </property>
           <property name="icon">
            <iconset theme="media-playback-stop">
             <normaloff/>
            </iconset>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QPushButton" name="m_configbtn">
           <property name="sizePolicy">
            <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
           <property name="whatsThis">
            <string>This button opens the configuration window</string>
           </property>
           <property name="text">
            <string>Settings</string>
           </property>
           <property name="icon">
            <iconset theme="configure">
             <normaloff/>
            </iconset>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QPushButton" name="m_patternbtn">
           <property name="whatsThis">
            <string>This button opens the pattern editor</string>
           </property>
           <property name="text">
            <string>Patterns</string>
           </property>
           <property name="icon">
            <iconset theme="document-edit">
             <normaloff/>
            </iconset>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QPushButton" name="m_exitbtn">
           <property name="sizePolicy">
            <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
           <property name="whatsThis">
            <string>This button exits the program</string>
           </property>
           <property name="text">
            <string>Quit</string>
           </property>
           <property name="icon">
            <iconset theme="application-exit">
             <normaloff/>
            </iconset>
           </property>
          </widget>
         </item>
         <item>
          <spacer name="verticalSpacer_2">
           <property name="orientation">
            <enum>Qt::Vertical</enum>
           </property>
           <property name="sizeHint" stdset="0">
            <size>
             <width>20</width>
             <height>60</height>
            </size>
           </property>
          </spacer>
         </item>
        </layout>
       </widget>
      </item>
      <item>
       <layout class="QVBoxLayout" name="verticalLayout_2">
        <property name="sizeConstraint">
         <enum>QLayout::SetNoConstraint</enum>
        </property>
        <item>
         <widget class="LCDNumberView" name="m_measureLCD">
          <property name="sizePolicy">
           <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
          <property name="whatsThis">
           <string>Number of measures (bars) and beats played from beginning</string>
          </property>
         </widget>
        </item>
        <item>
         <layout class="QFormLayout" name="formLayout_2">
          <property name="sizeConstraint">
           <enum>QLayout::SetNoConstraint</enum>
          </property>
          <property name="fieldGrowthPolicy">
           <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
          </property>
          <property name="labelAlignment">
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
          </property>
          <item row="0" column="1">
           <widget class="QComboBox" name="m_pattern">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="whatsThis">
             <string>This is the pattern definition to play, either &quot;Automatic&quot; or a custom defined one.</string>
            </property>
           </widget>
          </item>
          <item row="1" column="0">
           <widget class="QLabel" name="lblBeats_2">
            <property name="text">
             <string>Beats/Bar:</string>
            </property>
            <property name="alignment">
             <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
            </property>
            <property name="buddy">
             <cstring>m_beatsBar</cstring>
            </property>
           </widget>
          </item>
          <item row="1" column="1">
           <widget class="QSpinBox" name="m_beatsBar">
            <property name="maximumSize">
             <size>
              <width>60</width>
              <height>16777215</height>
             </size>
            </property>
            <property name="whatsThis">
             <string>This is the number of beats for each measure (bar).
Values are from 1 to 32.
It is the numerator of the time signature specification.</string>
            </property>
            <property name="value">
             <number>4</number>
            </property>
            <property name="maxValue" stdset="0">
             <number>32</number>
            </property>
            <property name="minValue" stdset="0">
             <number>1</number>
            </property>
           </widget>
          </item>
          <item row="2" column="0">
           <widget class="QLabel" name="lblFigure_2">
            <property name="text">
             <string>Beat Length:</string>
            </property>
            <property name="alignment">
             <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
            </property>
            <property name="wordWrap">
             <bool>false</bool>
            </property>
            <property name="buddy">
             <cstring>m_figure</cstring>
            </property>
           </widget>
          </item>
          <item row="2" column="1">
           <widget class="QComboBox" name="m_figure">
            <property name="whatsThis">
             <string>This is the beat length.
Values mean 1, 2, 4, 8, 16, 32 and 64.
It is the denominator in the time signature specification.</string>
            </property>
            <property name="currentIndex">
             <number>0</number>
            </property>
            <property name="currentItem" stdset="0">
             <number>0</number>
            </property>
            <item>
             <property name="text">
              <string>Whole</string>
             </property>
             <property name="icon">
              <iconset resource="kmetronome.qrc">
               <normaloff>:/icons/1.png</normaloff>:/icons/1.png</iconset>
             </property>
            </item>
            <item>
             <property name="text">
              <string>Half</string>
             </property>
             <property name="icon">
              <iconset resource="kmetronome.qrc">
               <normaloff>:/icons/2.png</normaloff>:/icons/2.png</iconset>
             </property>
            </item>
            <item>
             <property name="text">
              <string>Quarter</string>
             </property>
             <property name="icon">
              <iconset resource="kmetronome.qrc">
               <normaloff>:/icons/4.png</normaloff>:/icons/4.png</iconset>
             </property>
            </item>
            <item>
             <property name="text">
              <string>Eighth</string>
             </property>
             <property name="icon">
              <iconset resource="kmetronome.qrc">
               <normaloff>:/icons/8.png</normaloff>:/icons/8.png</iconset>
             </property>
            </item>
            <item>
             <property name="text">
              <string>Sixteenth</string>
             </property>
             <property name="icon">
              <iconset resource="kmetronome.qrc">
               <normaloff>:/icons/16.png</normaloff>:/icons/16.png</iconset>
             </property>
            </item>
            <item>
             <property name="text">
              <string>Thirty-Second</string>
             </property>
             <property name="icon">
              <iconset resource="kmetronome.qrc">
               <normaloff>:/icons/32.png</normaloff>:/icons/32.png</iconset>
             </property>
            </item>
            <item>
             <property name="text">
              <string>Sixty-Fourth</string>
             </property>
             <property name="icon">
              <iconset resource="kmetronome.qrc">
               <normaloff>:/icons/64.png</normaloff>:/icons/64.png</iconset>
             </property>
            </item>
           </widget>
          </item>
          <item row="0" column="0">
           <widget class="QLabel" name="lblPattern_2">
            <property name="text">
             <string>Pattern:</string>
            </property>
            <property name="alignment">
             <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
            </property>
            <property name="buddy">
             <cstring>m_pattern</cstring>
            </property>
           </widget>
          </item>
         </layout>
        </item>
       </layout>
      </item>
     </layout>
    </item>
    <item row="1" column="0">
     <layout class="QGridLayout" name="gridLayout">
      <item row="0" column="0">
       <widget class="QLabel" name="label_5">
        <property name="text">
         <string comment="weak notes MIDI velocity">Weak</string>
        </property>
        <property name="alignment">
         <set>Qt::AlignBottom|Qt::AlignHCenter</set>
        </property>
        <property name="buddy">
         <cstring>m_dial1</cstring>
        </property>
       </widget>
      </item>
      <item row="0" column="1">
       <widget class="QLabel" name="label_6">
        <property name="text">
         <string comment="strong notes MIDI velocity">Strong</string>
        </property>
        <property name="alignment">
         <set>Qt::AlignBottom|Qt::AlignHCenter</set>
        </property>
        <property name="buddy">
         <cstring>m_dial2</cstring>
        </property>
       </widget>
      </item>
      <item row="0" column="2">
       <widget class="QLabel" name="label_7">
        <property name="text">
         <string comment="audio volume level">Volume</string>
        </property>
        <property name="alignment">
         <set>Qt::AlignBottom|Qt::AlignHCenter</set>
        </property>
        <property name="buddy">
         <cstring>m_dial3</cstring>
        </property>
       </widget>
      </item>
      <item row="0" column="3">
       <widget class="QLabel" name="label_8">
        <property name="text">
         <string comment="audio panning">Pan</string>
        </property>
        <property name="alignment">
         <set>Qt::AlignBottom|Qt::AlignHCenter</set>
        </property>
        <property name="buddy">
         <cstring>m_dial4</cstring>
        </property>
       </widget>
      </item>
      <item row="1" column="0">
       <widget class="QDial" name="m_dial1">
        <property name="maximumSize">
         <size>
          <width>50</width>
          <height>50</height>
         </size>
        </property>
        <property name="whatsThis">
         <string>This is the velocity of the weak notes in the automatic rhythm pattern (all of them, except the first one)</string>
        </property>
        <property name="maximum">
         <number>127</number>
        </property>
        <property name="singleStep">
         <number>1</number>
        </property>
        <property name="notchTarget">
         <double>10.000000000000000</double>
        </property>
        <property name="notchesVisible">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item row="1" column="1">
       <widget class="QDial" name="m_dial2">
        <property name="maximumSize">
         <size>
          <width>50</width>
          <height>50</height>
         </size>
        </property>
        <property name="whatsThis">
         <string>This is the velocity of the strong note in the automatic rhythm pattern (the first one)</string>
        </property>
        <property name="maximum">
         <number>127</number>
        </property>
        <property name="singleStep">
         <number>1</number>
        </property>
        <property name="notchTarget">
         <double>10.000000000000000</double>
        </property>
        <property name="notchesVisible">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item row="1" column="2">
       <widget class="QDial" name="m_dial3">
        <property name="maximumSize">
         <size>
          <width>50</width>
          <height>50</height>
         </size>
        </property>
        <property name="whatsThis">
         <string>This is the MIDI volume control (CC7)</string>
        </property>
        <property name="maximum">
         <number>127</number>
        </property>
        <property name="singleStep">
         <number>1</number>
        </property>
        <property name="notchTarget">
         <double>10.000000000000000</double>
        </property>
        <property name="notchesVisible">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item row="1" column="3">
       <widget class="QDial" name="m_dial4">
        <property name="maximumSize">
         <size>
          <width>50</width>
          <height>50</height>
         </size>
        </property>
        <property name="whatsThis">
         <string>This is the MIDI pan control (CC10)</string>
        </property>
        <property name="maximum">
         <number>127</number>
        </property>
        <property name="singleStep">
         <number>1</number>
        </property>
        <property name="notchTarget">
         <double>10.000000000000000</double>
        </property>
        <property name="notchesVisible">
         <bool>true</bool>
        </property>
       </widget>
      </item>
     </layout>
    </item>
    <item row="1" column="1" rowspan="2">
     <layout class="QVBoxLayout" name="aireLayout">
      <item>
       <widget class="QComboBox" name="m_air">
        <property name="whatsThis">
         <string>This is the musical name of the tempo value</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="LCDNumberView" name="m_tempoLCD">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="minimumSize">
         <size>
          <width>150</width>
          <height>100</height>
         </size>
        </property>
        <property name="maximumSize">
         <size>
          <width>150</width>
          <height>100</height>
         </size>
        </property>
        <property name="whatsThis">
         <string>The current &lt;i&gt;tempo&lt;/i&gt; value</string>
        </property>
       </widget>
      </item>
     </layout>
    </item>
    <item row="2" column="0">
     <layout class="QVBoxLayout" name="tempoSliderLayout">
      <property name="sizeConstraint">
       <enum>QLayout::SetNoConstraint</enum>
      </property>
      <item>
       <widget class="QLabel" name="textLabel1">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="text">
         <string>Tempo (in quarters per minute)</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
        <property name="buddy">
         <cstring>m_tempo</cstring>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QSlider" name="m_tempo">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="minimumSize">
         <size>
          <width>0</width>
          <height>0</height>
         </size>
        </property>
        <property name="whatsThis">
         <string>This slider changes the &lt;i&gt;tempo&lt;/i&gt;, or speed of the rhythm.
Values are 25 to 250 quarters per minute (&lt;i&gt;Maelzel Metronome units&lt;/i&gt;).</string>
        </property>
        <property name="minimum">
         <number>25</number>
        </property>
        <property name="maximum">
         <number>250</number>
        </property>
        <property name="value">
         <number>100</number>
        </property>
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="tickPosition">
         <enum>QSlider::TicksBelow</enum>
        </property>
        <property name="tickInterval">
         <number>5</number>
        </property>
       </widget>
      </item>
     </layout>
    </item>
   </layout>
  </widget>
  <widget class="QMenuBar" name="menubar">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <width>396</width>
     <height>19</height>
    </rect>
   </property>
   <widget class="QMenu" name="menuFile">
    <property name="title">
     <string>File</string>
    </property>
    <addaction name="actionImportPatterns"/>
    <addaction name="actionExportPatterns"/>
    <addaction name="actionPlayStop"/>
    <addaction name="separator"/>
    <addaction name="actionQuit"/>
   </widget>
   <widget class="QMenu" name="menuEdit">
    <property name="title">
     <string>Edit</string>
    </property>
    <addaction name="actionEditPatterns"/>
   </widget>
   <widget class="QMenu" name="menuHelp">
    <property name="title">
     <string>Help</string>
    </property>
    <widget class="QMenu" name="menuLanguage">
     <property name="title">
      <string>language</string>
     </property>
    </widget>
    <addaction name="actionHelp"/>
    <addaction name="separator"/>
    <addaction name="menuLanguage"/>
    <addaction name="separator"/>
    <addaction name="actionAbout"/>
    <addaction name="actionAboutQt"/>
   </widget>
   <widget class="QMenu" name="menuSettings">
    <property name="title">
     <string>Settings</string>
    </property>
    <addaction name="separator"/>
    <addaction name="actionShowActionButtons"/>
    <addaction name="actionShowToolbar"/>
    <addaction name="separator"/>
    <addaction name="actionConfiguration"/>
   </widget>
   <addaction name="menuFile"/>
   <addaction name="menuEdit"/>
   <addaction name="menuSettings"/>
   <addaction name="menuHelp"/>
  </widget>
  <widget class="QToolBar" name="toolBar">
   <property name="windowTitle">
    <string>toolBar</string>
   </property>
   <property name="iconSize">
    <size>
     <width>32</width>
     <height>32</height>
    </size>
   </property>
   <attribute name="toolBarArea">
    <enum>TopToolBarArea</enum>
   </attribute>
   <attribute name="toolBarBreak">
    <bool>false</bool>
   </attribute>
   <addaction name="actionPlayStop"/>
   <addaction name="actionEditPatterns"/>
   <addaction name="actionConfiguration"/>
   <addaction name="actionQuit"/>
  </widget>
  <action name="actionImportPatterns">
   <property name="icon">
    <iconset theme="document-import">
     <normaloff/>
    </iconset>
   </property>
   <property name="text">
    <string>Import Patterns</string>
   </property>
  </action>
  <action name="actionExportPatterns">
   <property name="icon">
    <iconset theme="document-export">
     <normaloff/>
    </iconset>
   </property>
   <property name="text">
    <string>Export Patterns</string>
   </property>
  </action>
  <action name="actionPlayStop">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset theme="media-playback-start">
     <normaloff/>
    </iconset>
   </property>
   <property name="text">
    <string>Play/Stop</string>
   </property>
  </action>
  <action name="actionEditPatterns">
   <property name="icon">
    <iconset theme="document-edit">
     <normaloff/>
    </iconset>
   </property>
   <property name="text">
    <string>Edit Patterns</string>
   </property>
  </action>
  <action name="actionConfiguration">
   <property name="icon">
    <iconset theme="configure">
     <normaloff/>
    </iconset>
   </property>
   <property name="text">
    <string>Configuration</string>
   </property>
  </action>
  <action name="actionAbout">
   <property name="icon">
    <iconset resource="kmetronome.qrc">
     <normaloff>:/midi/icons/midi/icon16.png</normaloff>:/midi/icons/midi/icon16.png</iconset>
   </property>
   <property name="text">
    <string>about</string>
   </property>
  </action>
  <action name="actionQuit">
   <property name="icon">
    <iconset theme="application-exit">
     <normaloff/>
    </iconset>
   </property>
   <property name="text">
    <string>Quit</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+Q</string>
   </property>
  </action>
  <action name="actionShowActionButtons">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="checked">
    <bool>true</bool>
   </property>
   <property name="text">
    <string>Show Action Buttons</string>
   </property>
  </action>
  <action name="actionShowToolbar">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="checked">
    <bool>true</bool>
   </property>
   <property name="text">
    <string>Show Toolbar</string>
   </property>
  </action>
  <action name="actionAboutQt">
   <property name="text">
    <string>about Qt</string>
   </property>
  </action>
  <action name="actionHelp">
   <property name="icon">
    <iconset theme="help-contents">
     <normaloff/>
    </iconset>
   </property>
   <property name="text">
    <string>Help Contents</string>
   </property>
  </action>
 </widget>
 <customwidgets>
  <customwidget>
   <class>LCDNumberView</class>
   <extends>QGraphicsView</extends>
   <header>lcdnumberview.h</header>
  </customwidget>
 </customwidgets>
 <resources>
  <include location="kmetronome.qrc"/>
 </resources>
 <connections>
  <connection>
   <sender>actionShowToolbar</sender>
   <signal>toggled(bool)</signal>
   <receiver>toolBar</receiver>
   <slot>setVisible(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>197</x>
     <y>42</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>toolBar</sender>
   <signal>visibilityChanged(bool)</signal>
   <receiver>actionShowToolbar</receiver>
   <slot>setChecked(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>197</x>
     <y>42</y>
    </hint>
    <hint type="destinationlabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>
