]> git.sesse.net Git - nageru/blobdiff - futatabi/mainwindow.ui
Add some controls for locking the master speed to 100%.
[nageru] / futatabi / mainwindow.ui
index e0a4680277d41c2d4d7369a23ccd15549106c287..da05caf0e04903e0515b93bcd6a3e82a0d3e509f 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>
    <header>jpeg_frame_view.h</header>
   </customwidget>
  </customwidgets>
- <resources/>
+ <resources>
+  <include location="mainwindow.qrc"/>
+ </resources>
  <connections/>
 </ui>