<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Qt 4.6: form.ui Example File (demos/embedded/flightinfo/form.ui)</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td> <td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="functions.html"><font color="#004faf">All Functions</font></a> · <a href="overviews.html"><font color="#004faf">Overviews</font></a></td></tr></table><h1 class="title">form.ui Example File<br /><span class="small-subtitle">demos/embedded/flightinfo/form.ui</span> </h1> <pre> <?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>Form</class> <widget class="QWidget" name="Form"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>220</width> <height>171</height> </rect> </property> <property name="windowTitle"> <string>Form</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <property name="spacing"> <number>0</number> </property> <property name="margin"> <number>0</number> </property> <item> <widget class="QFrame" name="titleBox"> <property name="styleSheet"> <string>QFrame { background-color: #45629a; } QLabel { color: white; }</string> </property> <property name="frameShape"> <enum>QFrame::NoFrame</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <property name="lineWidth"> <number>0</number> </property> <layout class="QHBoxLayout" name="horizontalLayout"> <property name="spacing"> <number>0</number> </property> <property name="margin"> <number>4</number> </property> <item> <widget class="QLabel" name="flightName"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>Powered by FlightView</string> </property> </widget> </item> <item> <widget class="QLabel" name="flightStatus"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="font"> <font> <weight>75</weight> <bold>true</bold> </font> </property> <property name="styleSheet"> <string>background-color: white; color: #45629a;</string> </property> <property name="lineWidth"> <number>0</number> </property> <property name="text"> <string>Ready</string> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> <property name="margin"> <number>4</number> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QFrame" name="searchBar"> <property name="frameShape"> <enum>QFrame::NoFrame</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QHBoxLayout" name="horizontalLayout_2"> <property name="margin"> <number>5</number> </property> <item> <widget class="QLineEdit" name="flightEdit"> <property name="styleSheet"> <string>color: black; border: 1px solid black; background: white; selection-background-color: lightgray;</string> </property> </widget> </item> <item> <widget class="QToolButton" name="searchButton"> <property name="styleSheet"> <string>color: rgb(255, 255, 255); background-color: rgb(85, 85, 255); padding: 2px; border: 2px solid rgb(0, 0, 127);</string> </property> <property name="text"> <string>Search</string> </property> <property name="toolButtonStyle"> <enum>Qt::ToolButtonTextBesideIcon</enum> </property> </widget> </item> <item> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </widget> </item> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>58</height> </size> </property> </spacer> </item> <item> <widget class="QFrame" name="infoBox"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="MinimumExpanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="styleSheet"> <string>QFrame { border: 2px solid white; border-radius: 10px; margin: 5px; background-color: rgba(69, 98, 154, 192); }</string> </property> <property name="frameShape"> <enum>QFrame::NoFrame</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QVBoxLayout" name="verticalLayout_3"> <property name="spacing"> <number>0</number> </property> <property name="margin"> <number>5</number> </property> <item> <widget class="QLabel" name="detailedInfo"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="MinimumExpanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="styleSheet"> <string>color: white; border: none; background-color: none;</string> </property> <property name="text"> <string/> </property> <property name="textFormat"> <enum>Qt::RichText</enum> </property> <property name="wordWrap"> <bool>true</bool> </property> <property name="textInteractionFlags"> <set>Qt::NoTextInteraction</set> </property> </widget> </item> </layout> </widget> </item> </layout> </widget> <resources/> <connections/> </ui></pre> <p /><address><hr /><div align="center"> <table width="100%" cellspacing="0" border="0"><tr class="address"> <td width="40%" align="left">Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)</td> <td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td> <td width="40%" align="right"><div align="right">Qt 4.6.3</div></td> </tr></table></div></address></body> </html>