<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>calculatorform.ui Example File | Qt Designer Manual</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td >Qt 5.9</td><td ><a href="qtdesigner-manual.html">Qt Designer Manual</a></td><td ><a href="qtdesigner-calculatorform-example.html">Calculator Form Example</a></td><td >calculatorform.ui Example File</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">calculatorform.ui Example File</h1> <span class="subtitle">calculatorform/calculatorform.ui</span> <!-- $$$calculatorform/calculatorform.ui-description --> <div class="descr"> <a name="details"></a> <pre class="cpp"> <ui version="4.0" > <author></author> <comment></comment> <exportmacro></exportmacro> <class>CalculatorForm</class> <widget class="QWidget" name="CalculatorForm" > <property name="objectName" > <string notr="true" >CalculatorForm</string> </property> <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>400</width> <height>300</height> </rect> </property> <property name="sizePolicy" > <sizepolicy> <hsizetype>5</hsizetype> <vsizetype>5</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="windowTitle" > <string>Calculator Form</string> </property> <layout class="QGridLayout" > <property name="objectName" > <string notr="true" /> </property> <property name="margin" > <number>9</number> </property> <property name="spacing" > <number>6</number> </property> <item row="0" column="6" > <spacer> <property name="objectName" > <string notr="true" >horizontalSpacer</string> </property> <property name="geometry" > <rect> <x>239</x> <y>9</y> <width>152</width> <height>52</height> </rect> </property> <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" > <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item row="0" column="4" > <widget class="QLabel" name="label_3_2" > <property name="objectName" > <string notr="true" >label_3_2</string> </property> <property name="geometry" > <rect> <x>169</x> <y>9</y> <width>20</width> <height>52</height> </rect> </property> <property name="text" > <string>=</string> </property> <property name="alignment" > <set>Qt::AlignCenter</set> </property> </widget> </item> <item row="0" column="5" > <layout class="QVBoxLayout" > <property name="objectName" > <string notr="true" /> </property> <property name="margin" > <number>1</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QLabel" name="label_2_2_2" > <property name="objectName" > <string notr="true" >label_2_2_2</string> </property> <property name="geometry" > <rect> <x>1</x> <y>1</y> <width>36</width> <height>17</height> </rect> </property> <property name="text" > <string>Output</string> </property> </widget> </item> <item> <widget class="QLabel" name="outputWidget" > <property name="objectName" > <string notr="true" >outputWidget</string> </property> <property name="geometry" > <rect> <x>1</x> <y>24</y> <width>36</width> <height>27</height> </rect> </property> <property name="frameShape" > <enum>QFrame::Box</enum> </property> <property name="frameShadow" > <enum>QFrame::Sunken</enum> </property> <property name="text" > <string>0</string> </property> <property name="alignment" > <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> </property> </widget> </item> </layout> </item> <item row="1" column="2" > <spacer> <property name="objectName" > <string notr="true" >verticalSpacer</string> </property> <property name="geometry" > <rect> <x>89</x> <y>67</y> <width>20</width> <height>224</height> </rect> </property> <property name="orientation" > <enum>Qt::Vertical</enum> </property> <property name="sizeHint" > <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> <item row="0" column="3" > <layout class="QVBoxLayout" > <property name="objectName" > <string notr="true" /> </property> <property name="margin" > <number>1</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QLabel" name="label_2" > <property name="objectName" > <string notr="true" >label_2</string> </property> <property name="geometry" > <rect> <x>1</x> <y>1</y> <width>46</width> <height>19</height> </rect> </property> <property name="text" > <string>Input 2</string> </property> </widget> </item> <item> <widget class="QSpinBox" name="inputSpinBox2" > <property name="objectName" > <string notr="true" >inputSpinBox2</string> </property> <property name="geometry" > <rect> <x>1</x> <y>26</y> <width>46</width> <height>25</height> </rect> </property> </widget> </item> </layout> </item> <item row="0" column="1" > <widget class="QLabel" name="label_3" > <property name="objectName" > <string notr="true" >label_3</string> </property> <property name="geometry" > <rect> <x>63</x> <y>9</y> <width>20</width> <height>52</height> </rect> </property> <property name="text" > <string>+</string> </property> <property name="alignment" > <set>Qt::AlignCenter</set> </property> </widget> </item> <item row="0" column="0" > <layout class="QVBoxLayout" > <property name="objectName" > <string notr="true" /> </property> <property name="margin" > <number>1</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QLabel" name="label" > <property name="objectName" > <string notr="true" >label</string> </property> <property name="geometry" > <rect> <x>1</x> <y>1</y> <width>46</width> <height>19</height> </rect> </property> <property name="text" > <string>Input 1</string> </property> </widget> </item> <item> <widget class="QSpinBox" name="inputSpinBox1" > <property name="objectName" > <string notr="true" >inputSpinBox1</string> </property> <property name="geometry" > <rect> <x>1</x> <y>26</y> <width>46</width> <height>25</height> </rect> </property> </widget> </item> </layout> </item> </layout> </widget> <pixmapfunction></pixmapfunction> <resources/> <connections/> </ui> </pre> </div> <!-- @@@calculatorform/calculatorform.ui --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. </p> </div> </body> </html>