]> git.sesse.net Git - nageru/blobdiff - futatabi/mainwindow.ui
Add a MIDI mapping editor for Futatabi.
[nageru] / futatabi / mainwindow.ui
index e0a4680277d41c2d4d7369a23ccd15549106c287..addfbe2856c5beb5c2f93cdd61832c87e996efe1 100644 (file)
           </item>
           <item>
            <widget class="QSlider" name="speed_slider">
+            <property name="enabled">
+             <bool>false</bool>
+            </property>
             <property name="minimum">
              <number>10</number>
             </property>
            </widget>
           </item>
           <item>
-           <widget class="QLabel" name="speed_label">
+           <widget class="QPushButton" name="speed_lock_btn">
             <property name="sizePolicy">
-             <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
+             <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
             <property name="minimumSize">
              <size>
-              <width>40</width>
+              <width>72</width>
               <height>0</height>
              </size>
             </property>
             <property name="text">
-             <string>100%</string>
+             <string> 100%</string>
             </property>
-            <property name="alignment">
-             <set>Qt::AlignCenter</set>
+            <property name="icon">
+             <iconset>
+              <normalon>:/lock.svg</normalon>
+             </iconset>
+            </property>
+            <property name="checkable">
+             <bool>true</bool>
+            </property>
+            <property name="checked">
+             <bool>true</bool>
             </property>
            </widget>
           </item>
     <addaction name="interpolation_menu"/>
     <addaction name="padding_menu"/>
     <addaction name="menu_Export"/>
+    <addaction name="midi_mapping_action"/>
     <addaction name="exit_action"/>
     <addaction name="separator"/>
    </widget>
     <string>&amp;5 seconds</string>
    </property>
   </action>
+  <action name="midi_mapping_action">
+   <property name="text">
+    <string>Setup MIDI controller…</string>
+   </property>
+  </action>
  </widget>
  <customwidgets>
   <customwidget>
    <header>jpeg_frame_view.h</header>
   </customwidget>
  </customwidgets>
- <resources/>
+ <resources>
+  <include location="mainwindow.qrc"/>
+ </resources>
  <connections/>
 </ui>