simple_mtglife

diff mainwin.ui @ 1:d76fb2ffe7f5

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 25 Jan 2015 12:04:45 +0200
parents 6321cfa2ad62
children 7cac97dca573
line diff
     1.1 --- a/mainwin.ui	Fri Jan 23 15:24:27 2015 +0200
     1.2 +++ b/mainwin.ui	Sun Jan 25 12:04:45 2015 +0200
     1.3 @@ -13,6 +13,10 @@
     1.4    <property name="windowTitle">
     1.5     <string>MainWin</string>
     1.6    </property>
     1.7 +  <property name="windowIcon">
     1.8 +   <iconset resource="resources.qrc">
     1.9 +    <normaloff>:/data/icon-96px.png</normaloff>:/data/icon-96px.png</iconset>
    1.10 +  </property>
    1.11    <widget class="QWidget" name="centralWidget">
    1.12     <layout class="QHBoxLayout" name="horizontalLayout_3">
    1.13      <item>
    1.14 @@ -44,6 +48,14 @@
    1.15               <verstretch>0</verstretch>
    1.16              </sizepolicy>
    1.17             </property>
    1.18 +           <property name="font">
    1.19 +            <font>
    1.20 +             <pointsize>20</pointsize>
    1.21 +            </font>
    1.22 +           </property>
    1.23 +           <property name="focusPolicy">
    1.24 +            <enum>Qt::NoFocus</enum>
    1.25 +           </property>
    1.26             <property name="text">
    1.27              <string>Reset</string>
    1.28             </property>
    1.29 @@ -83,9 +95,12 @@
    1.30            <widget class="QPushButton" name="bn_p1_inc10">
    1.31             <property name="font">
    1.32              <font>
    1.33 -             <pointsize>24</pointsize>
    1.34 +             <pointsize>20</pointsize>
    1.35              </font>
    1.36             </property>
    1.37 +           <property name="focusPolicy">
    1.38 +            <enum>Qt::NoFocus</enum>
    1.39 +           </property>
    1.40             <property name="text">
    1.41              <string>+10</string>
    1.42             </property>
    1.43 @@ -101,9 +116,12 @@
    1.44             </property>
    1.45             <property name="font">
    1.46              <font>
    1.47 -             <pointsize>24</pointsize>
    1.48 +             <pointsize>20</pointsize>
    1.49              </font>
    1.50             </property>
    1.51 +           <property name="focusPolicy">
    1.52 +            <enum>Qt::NoFocus</enum>
    1.53 +           </property>
    1.54             <property name="text">
    1.55              <string>+1</string>
    1.56             </property>
    1.57 @@ -119,9 +137,12 @@
    1.58             </property>
    1.59             <property name="font">
    1.60              <font>
    1.61 -             <pointsize>50</pointsize>
    1.62 +             <pointsize>40</pointsize>
    1.63              </font>
    1.64             </property>
    1.65 +           <property name="focusPolicy">
    1.66 +            <enum>Qt::NoFocus</enum>
    1.67 +           </property>
    1.68             <property name="frame">
    1.69              <bool>true</bool>
    1.70             </property>
    1.71 @@ -152,9 +173,12 @@
    1.72             </property>
    1.73             <property name="font">
    1.74              <font>
    1.75 -             <pointsize>24</pointsize>
    1.76 +             <pointsize>20</pointsize>
    1.77              </font>
    1.78             </property>
    1.79 +           <property name="focusPolicy">
    1.80 +            <enum>Qt::NoFocus</enum>
    1.81 +           </property>
    1.82             <property name="text">
    1.83              <string>-1</string>
    1.84             </property>
    1.85 @@ -164,9 +188,12 @@
    1.86            <widget class="QPushButton" name="bn_p1_dec10">
    1.87             <property name="font">
    1.88              <font>
    1.89 -             <pointsize>24</pointsize>
    1.90 +             <pointsize>20</pointsize>
    1.91              </font>
    1.92             </property>
    1.93 +           <property name="focusPolicy">
    1.94 +            <enum>Qt::NoFocus</enum>
    1.95 +           </property>
    1.96             <property name="text">
    1.97              <string>-10</string>
    1.98             </property>
    1.99 @@ -206,6 +233,14 @@
   1.100               <verstretch>0</verstretch>
   1.101              </sizepolicy>
   1.102             </property>
   1.103 +           <property name="font">
   1.104 +            <font>
   1.105 +             <pointsize>20</pointsize>
   1.106 +            </font>
   1.107 +           </property>
   1.108 +           <property name="focusPolicy">
   1.109 +            <enum>Qt::NoFocus</enum>
   1.110 +           </property>
   1.111             <property name="text">
   1.112              <string>Reset</string>
   1.113             </property>
   1.114 @@ -245,9 +280,12 @@
   1.115            <widget class="QPushButton" name="bn_p2_inc10">
   1.116             <property name="font">
   1.117              <font>
   1.118 -             <pointsize>24</pointsize>
   1.119 +             <pointsize>20</pointsize>
   1.120              </font>
   1.121             </property>
   1.122 +           <property name="focusPolicy">
   1.123 +            <enum>Qt::NoFocus</enum>
   1.124 +           </property>
   1.125             <property name="text">
   1.126              <string>+10</string>
   1.127             </property>
   1.128 @@ -263,9 +301,12 @@
   1.129             </property>
   1.130             <property name="font">
   1.131              <font>
   1.132 -             <pointsize>24</pointsize>
   1.133 +             <pointsize>20</pointsize>
   1.134              </font>
   1.135             </property>
   1.136 +           <property name="focusPolicy">
   1.137 +            <enum>Qt::NoFocus</enum>
   1.138 +           </property>
   1.139             <property name="text">
   1.140              <string>+1</string>
   1.141             </property>
   1.142 @@ -281,9 +322,12 @@
   1.143             </property>
   1.144             <property name="font">
   1.145              <font>
   1.146 -             <pointsize>50</pointsize>
   1.147 +             <pointsize>40</pointsize>
   1.148              </font>
   1.149             </property>
   1.150 +           <property name="focusPolicy">
   1.151 +            <enum>Qt::NoFocus</enum>
   1.152 +           </property>
   1.153             <property name="frame">
   1.154              <bool>true</bool>
   1.155             </property>
   1.156 @@ -314,9 +358,12 @@
   1.157             </property>
   1.158             <property name="font">
   1.159              <font>
   1.160 -             <pointsize>24</pointsize>
   1.161 +             <pointsize>20</pointsize>
   1.162              </font>
   1.163             </property>
   1.164 +           <property name="focusPolicy">
   1.165 +            <enum>Qt::NoFocus</enum>
   1.166 +           </property>
   1.167             <property name="text">
   1.168              <string>-1</string>
   1.169             </property>
   1.170 @@ -326,9 +373,12 @@
   1.171            <widget class="QPushButton" name="bn_p2_dec10">
   1.172             <property name="font">
   1.173              <font>
   1.174 -             <pointsize>24</pointsize>
   1.175 +             <pointsize>20</pointsize>
   1.176              </font>
   1.177             </property>
   1.178 +           <property name="focusPolicy">
   1.179 +            <enum>Qt::NoFocus</enum>
   1.180 +           </property>
   1.181             <property name="text">
   1.182              <string>-10</string>
   1.183             </property>
   1.184 @@ -341,9 +391,52 @@
   1.185      </item>
   1.186     </layout>
   1.187    </widget>
   1.188 +  <widget class="QMenuBar" name="menuBar">
   1.189 +   <property name="geometry">
   1.190 +    <rect>
   1.191 +     <x>0</x>
   1.192 +     <y>0</y>
   1.193 +     <width>623</width>
   1.194 +     <height>20</height>
   1.195 +    </rect>
   1.196 +   </property>
   1.197 +   <widget class="QMenu" name="menu_file">
   1.198 +    <property name="title">
   1.199 +     <string>&amp;File</string>
   1.200 +    </property>
   1.201 +    <addaction name="action_reset"/>
   1.202 +    <addaction name="separator"/>
   1.203 +    <addaction name="action_quit"/>
   1.204 +   </widget>
   1.205 +   <widget class="QMenu" name="menu_Help">
   1.206 +    <property name="title">
   1.207 +     <string>&amp;Help</string>
   1.208 +    </property>
   1.209 +    <addaction name="action_about"/>
   1.210 +   </widget>
   1.211 +   <addaction name="menu_file"/>
   1.212 +   <addaction name="menu_Help"/>
   1.213 +  </widget>
   1.214 +  <action name="action_reset">
   1.215 +   <property name="text">
   1.216 +    <string>&amp;Reset</string>
   1.217 +   </property>
   1.218 +  </action>
   1.219 +  <action name="action_quit">
   1.220 +   <property name="text">
   1.221 +    <string>&amp;Quit</string>
   1.222 +   </property>
   1.223 +  </action>
   1.224 +  <action name="action_about">
   1.225 +   <property name="text">
   1.226 +    <string>&amp;About</string>
   1.227 +   </property>
   1.228 +  </action>
   1.229   </widget>
   1.230   <layoutdefault spacing="6" margin="11"/>
   1.231 - <resources/>
   1.232 + <resources>
   1.233 +  <include location="resources.qrc"/>
   1.234 + </resources>
   1.235   <connections>
   1.236    <connection>
   1.237     <sender>bn_p1_dec</sender>
   1.238 @@ -384,8 +477,8 @@
   1.239     <slot>stepDown()</slot>
   1.240     <hints>
   1.241      <hint type="sourcelabel">
   1.242 -     <x>536</x>
   1.243 -     <y>252</y>
   1.244 +     <x>600</x>
   1.245 +     <y>304</y>
   1.246      </hint>
   1.247      <hint type="destinationlabel">
   1.248       <x>540</x>