| 1 | <ui version="4.0" >
|
|---|
| 2 | <author></author>
|
|---|
| 3 | <comment></comment>
|
|---|
| 4 | <exportmacro></exportmacro>
|
|---|
| 5 | <class>CalculatorForm</class>
|
|---|
| 6 | <widget class="QWidget" name="CalculatorForm" >
|
|---|
| 7 | <property name="objectName" >
|
|---|
| 8 | <string notr="true" >CalculatorForm</string>
|
|---|
| 9 | </property>
|
|---|
| 10 | <property name="geometry" >
|
|---|
| 11 | <rect>
|
|---|
| 12 | <x>0</x>
|
|---|
| 13 | <y>0</y>
|
|---|
| 14 | <width>276</width>
|
|---|
| 15 | <height>98</height>
|
|---|
| 16 | </rect>
|
|---|
| 17 | </property>
|
|---|
| 18 | <property name="sizePolicy" >
|
|---|
| 19 | <sizepolicy>
|
|---|
| 20 | <hsizetype>5</hsizetype>
|
|---|
| 21 | <vsizetype>5</vsizetype>
|
|---|
| 22 | <horstretch>0</horstretch>
|
|---|
| 23 | <verstretch>0</verstretch>
|
|---|
| 24 | </sizepolicy>
|
|---|
| 25 | </property>
|
|---|
| 26 | <property name="windowTitle" >
|
|---|
| 27 | <string>Calculator Builder</string>
|
|---|
| 28 | </property>
|
|---|
| 29 | <layout class="QGridLayout" >
|
|---|
| 30 | <property name="objectName" >
|
|---|
| 31 | <string notr="true" />
|
|---|
| 32 | </property>
|
|---|
| 33 | <property name="margin" >
|
|---|
| 34 | <number>9</number>
|
|---|
| 35 | </property>
|
|---|
| 36 | <property name="spacing" >
|
|---|
| 37 | <number>6</number>
|
|---|
| 38 | </property>
|
|---|
| 39 | <item row="0" column="0" >
|
|---|
| 40 | <layout class="QHBoxLayout" >
|
|---|
| 41 | <property name="objectName" >
|
|---|
| 42 | <string notr="true" />
|
|---|
| 43 | </property>
|
|---|
| 44 | <property name="margin" >
|
|---|
| 45 | <number>1</number>
|
|---|
| 46 | </property>
|
|---|
| 47 | <property name="spacing" >
|
|---|
| 48 | <number>6</number>
|
|---|
| 49 | </property>
|
|---|
| 50 | <item>
|
|---|
| 51 | <layout class="QVBoxLayout" >
|
|---|
| 52 | <property name="objectName" >
|
|---|
| 53 | <string notr="true" />
|
|---|
| 54 | </property>
|
|---|
| 55 | <property name="margin" >
|
|---|
| 56 | <number>1</number>
|
|---|
| 57 | </property>
|
|---|
| 58 | <property name="spacing" >
|
|---|
| 59 | <number>6</number>
|
|---|
| 60 | </property>
|
|---|
| 61 | <item>
|
|---|
| 62 | <widget class="QLabel" name="label" >
|
|---|
| 63 | <property name="objectName" >
|
|---|
| 64 | <string notr="true" >label</string>
|
|---|
| 65 | </property>
|
|---|
| 66 | <property name="geometry" >
|
|---|
| 67 | <rect>
|
|---|
| 68 | <x>1</x>
|
|---|
| 69 | <y>1</y>
|
|---|
| 70 | <width>45</width>
|
|---|
| 71 | <height>19</height>
|
|---|
| 72 | </rect>
|
|---|
| 73 | </property>
|
|---|
| 74 | <property name="text" >
|
|---|
| 75 | <string>Input 1</string>
|
|---|
| 76 | </property>
|
|---|
| 77 | </widget>
|
|---|
| 78 | </item>
|
|---|
| 79 | <item>
|
|---|
| 80 | <widget class="QSpinBox" name="inputSpinBox1" >
|
|---|
| 81 | <property name="objectName" >
|
|---|
| 82 | <string notr="true" >inputSpinBox1</string>
|
|---|
| 83 | </property>
|
|---|
| 84 | <property name="geometry" >
|
|---|
| 85 | <rect>
|
|---|
| 86 | <x>1</x>
|
|---|
| 87 | <y>26</y>
|
|---|
| 88 | <width>45</width>
|
|---|
| 89 | <height>25</height>
|
|---|
| 90 | </rect>
|
|---|
| 91 | </property>
|
|---|
| 92 | <property name="mouseTracking" >
|
|---|
| 93 | <bool>true</bool>
|
|---|
| 94 | </property>
|
|---|
| 95 | </widget>
|
|---|
| 96 | </item>
|
|---|
| 97 | </layout>
|
|---|
| 98 | </item>
|
|---|
| 99 | <item>
|
|---|
| 100 | <widget class="QLabel" name="label_3" >
|
|---|
| 101 | <property name="objectName" >
|
|---|
| 102 | <string notr="true" >label_3</string>
|
|---|
| 103 | </property>
|
|---|
| 104 | <property name="geometry" >
|
|---|
| 105 | <rect>
|
|---|
| 106 | <x>54</x>
|
|---|
| 107 | <y>1</y>
|
|---|
| 108 | <width>7</width>
|
|---|
| 109 | <height>52</height>
|
|---|
| 110 | </rect>
|
|---|
| 111 | </property>
|
|---|
| 112 | <property name="text" >
|
|---|
| 113 | <string>+</string>
|
|---|
| 114 | </property>
|
|---|
| 115 | <property name="alignment" >
|
|---|
| 116 | <set>Qt::AlignCenter</set>
|
|---|
| 117 | </property>
|
|---|
| 118 | </widget>
|
|---|
| 119 | </item>
|
|---|
| 120 | <item>
|
|---|
| 121 | <layout class="QVBoxLayout" >
|
|---|
| 122 | <property name="objectName" >
|
|---|
| 123 | <string notr="true" />
|
|---|
| 124 | </property>
|
|---|
| 125 | <property name="margin" >
|
|---|
| 126 | <number>1</number>
|
|---|
| 127 | </property>
|
|---|
| 128 | <property name="spacing" >
|
|---|
| 129 | <number>6</number>
|
|---|
| 130 | </property>
|
|---|
| 131 | <item>
|
|---|
| 132 | <widget class="QLabel" name="label_2" >
|
|---|
| 133 | <property name="objectName" >
|
|---|
| 134 | <string notr="true" >label_2</string>
|
|---|
| 135 | </property>
|
|---|
| 136 | <property name="geometry" >
|
|---|
| 137 | <rect>
|
|---|
| 138 | <x>1</x>
|
|---|
| 139 | <y>1</y>
|
|---|
| 140 | <width>45</width>
|
|---|
| 141 | <height>19</height>
|
|---|
| 142 | </rect>
|
|---|
| 143 | </property>
|
|---|
| 144 | <property name="text" >
|
|---|
| 145 | <string>Input 2</string>
|
|---|
| 146 | </property>
|
|---|
| 147 | </widget>
|
|---|
| 148 | </item>
|
|---|
| 149 | <item>
|
|---|
| 150 | <widget class="QSpinBox" name="inputSpinBox2" >
|
|---|
| 151 | <property name="objectName" >
|
|---|
| 152 | <string notr="true" >inputSpinBox2</string>
|
|---|
| 153 | </property>
|
|---|
| 154 | <property name="geometry" >
|
|---|
| 155 | <rect>
|
|---|
| 156 | <x>1</x>
|
|---|
| 157 | <y>26</y>
|
|---|
| 158 | <width>45</width>
|
|---|
| 159 | <height>25</height>
|
|---|
| 160 | </rect>
|
|---|
| 161 | </property>
|
|---|
| 162 | <property name="mouseTracking" >
|
|---|
| 163 | <bool>true</bool>
|
|---|
| 164 | </property>
|
|---|
| 165 | </widget>
|
|---|
| 166 | </item>
|
|---|
| 167 | </layout>
|
|---|
| 168 | </item>
|
|---|
| 169 | <item>
|
|---|
| 170 | <widget class="QLabel" name="label_3_2" >
|
|---|
| 171 | <property name="objectName" >
|
|---|
| 172 | <string notr="true" >label_3_2</string>
|
|---|
| 173 | </property>
|
|---|
| 174 | <property name="geometry" >
|
|---|
| 175 | <rect>
|
|---|
| 176 | <x>120</x>
|
|---|
| 177 | <y>1</y>
|
|---|
| 178 | <width>7</width>
|
|---|
| 179 | <height>52</height>
|
|---|
| 180 | </rect>
|
|---|
| 181 | </property>
|
|---|
| 182 | <property name="text" >
|
|---|
| 183 | <string>=</string>
|
|---|
| 184 | </property>
|
|---|
| 185 | <property name="alignment" >
|
|---|
| 186 | <set>Qt::AlignCenter</set>
|
|---|
| 187 | </property>
|
|---|
| 188 | </widget>
|
|---|
| 189 | </item>
|
|---|
| 190 | <item>
|
|---|
| 191 | <layout class="QVBoxLayout" >
|
|---|
| 192 | <property name="objectName" >
|
|---|
| 193 | <string notr="true" />
|
|---|
| 194 | </property>
|
|---|
| 195 | <property name="margin" >
|
|---|
| 196 | <number>1</number>
|
|---|
| 197 | </property>
|
|---|
| 198 | <property name="spacing" >
|
|---|
| 199 | <number>6</number>
|
|---|
| 200 | </property>
|
|---|
| 201 | <item>
|
|---|
| 202 | <widget class="QLabel" name="label_2_2_2" >
|
|---|
| 203 | <property name="objectName" >
|
|---|
| 204 | <string notr="true" >label_2_2_2</string>
|
|---|
| 205 | </property>
|
|---|
| 206 | <property name="geometry" >
|
|---|
| 207 | <rect>
|
|---|
| 208 | <x>1</x>
|
|---|
| 209 | <y>1</y>
|
|---|
| 210 | <width>37</width>
|
|---|
| 211 | <height>17</height>
|
|---|
| 212 | </rect>
|
|---|
| 213 | </property>
|
|---|
| 214 | <property name="text" >
|
|---|
| 215 | <string>Output</string>
|
|---|
| 216 | </property>
|
|---|
| 217 | </widget>
|
|---|
| 218 | </item>
|
|---|
| 219 | <item>
|
|---|
| 220 | <widget class="QLabel" name="outputWidget" >
|
|---|
| 221 | <property name="objectName" >
|
|---|
| 222 | <string notr="true" >outputWidget</string>
|
|---|
| 223 | </property>
|
|---|
| 224 | <property name="geometry" >
|
|---|
| 225 | <rect>
|
|---|
| 226 | <x>1</x>
|
|---|
| 227 | <y>24</y>
|
|---|
| 228 | <width>37</width>
|
|---|
| 229 | <height>27</height>
|
|---|
| 230 | </rect>
|
|---|
| 231 | </property>
|
|---|
| 232 | <property name="frameShape" >
|
|---|
| 233 | <enum>QFrame::Box</enum>
|
|---|
| 234 | </property>
|
|---|
| 235 | <property name="frameShadow" >
|
|---|
| 236 | <enum>QFrame::Sunken</enum>
|
|---|
| 237 | </property>
|
|---|
| 238 | <property name="text" >
|
|---|
| 239 | <string>0</string>
|
|---|
| 240 | </property>
|
|---|
| 241 | <property name="alignment" >
|
|---|
| 242 | <set>Qt::AlignAbsolute|Qt::AlignBottom|Qt::AlignCenter|Qt::AlignHCenter|Qt::AlignHorizontal_Mask|Qt::AlignJustify|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing|Qt::AlignVCenter|Qt::AlignVertical_Mask</set>
|
|---|
| 243 | </property>
|
|---|
| 244 | </widget>
|
|---|
| 245 | </item>
|
|---|
| 246 | </layout>
|
|---|
| 247 | </item>
|
|---|
| 248 | </layout>
|
|---|
| 249 | </item>
|
|---|
| 250 | <item row="1" column="0" >
|
|---|
| 251 | <spacer>
|
|---|
| 252 | <property name="objectName" >
|
|---|
| 253 | <string notr="true" >verticalSpacer</string>
|
|---|
| 254 | </property>
|
|---|
| 255 | <property name="geometry" >
|
|---|
| 256 | <rect>
|
|---|
| 257 | <x>85</x>
|
|---|
| 258 | <y>69</y>
|
|---|
| 259 | <width>20</width>
|
|---|
| 260 | <height>20</height>
|
|---|
| 261 | </rect>
|
|---|
| 262 | </property>
|
|---|
| 263 | <property name="orientation" >
|
|---|
| 264 | <enum>Qt::Vertical</enum>
|
|---|
| 265 | </property>
|
|---|
| 266 | <property name="sizeHint" >
|
|---|
| 267 | <size>
|
|---|
| 268 | <width>20</width>
|
|---|
| 269 | <height>40</height>
|
|---|
| 270 | </size>
|
|---|
| 271 | </property>
|
|---|
| 272 | </spacer>
|
|---|
| 273 | </item>
|
|---|
| 274 | <item row="0" column="1" >
|
|---|
| 275 | <spacer>
|
|---|
| 276 | <property name="objectName" >
|
|---|
| 277 | <string notr="true" >horizontalSpacer</string>
|
|---|
| 278 | </property>
|
|---|
| 279 | <property name="geometry" >
|
|---|
| 280 | <rect>
|
|---|
| 281 | <x>188</x>
|
|---|
| 282 | <y>26</y>
|
|---|
| 283 | <width>79</width>
|
|---|
| 284 | <height>20</height>
|
|---|
| 285 | </rect>
|
|---|
| 286 | </property>
|
|---|
| 287 | <property name="orientation" >
|
|---|
| 288 | <enum>Qt::Horizontal</enum>
|
|---|
| 289 | </property>
|
|---|
| 290 | <property name="sizeHint" >
|
|---|
| 291 | <size>
|
|---|
| 292 | <width>40</width>
|
|---|
| 293 | <height>20</height>
|
|---|
| 294 | </size>
|
|---|
| 295 | </property>
|
|---|
| 296 | </spacer>
|
|---|
| 297 | </item>
|
|---|
| 298 | </layout>
|
|---|
| 299 | </widget>
|
|---|
| 300 | <pixmapfunction></pixmapfunction>
|
|---|
| 301 | <resources/>
|
|---|
| 302 | <connections/>
|
|---|
| 303 | </ui>
|
|---|