<?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: sslclient.ui Example File (network/securesocketclient/sslclient.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">sslclient.ui Example File<br /><span class="small-subtitle">network/securesocketclient/sslclient.ui</span> </h1> <pre> <ui version="4.0" > <class>Form</class> <widget class="QWidget" name="Form" > <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>343</width> <height>320</height> </rect> </property> <property name="windowTitle" > <string>Secure Socket Client</string> </property> <layout class="QVBoxLayout" > <item> <layout class="QGridLayout" > <item row="0" column="0" > <widget class="QLabel" name="hostNameLabel" > <property name="text" > <string>Host name:</string> </property> </widget> </item> <item row="0" column="1" > <widget class="QLineEdit" name="hostNameEdit" > <property name="text" > <string>imap.example.com</string> </property> </widget> </item> <item row="1" column="0" > <widget class="QLabel" name="portLabel" > <property name="text" > <string>Port:</string> </property> </widget> </item> <item row="1" column="1" > <widget class="QSpinBox" name="portBox" > <property name="minimum" > <number>1</number> </property> <property name="maximum" > <number>65535</number> </property> <property name="value" > <number>993</number> </property> </widget> </item> </layout> </item> <item> <widget class="QPushButton" name="connectButton" > <property name="enabled" > <bool>true</bool> </property> <property name="text" > <string>Connect to host</string> </property> <property name="default" > <bool>true</bool> </property> </widget> </item> <item> <widget class="QGroupBox" name="sessionBox" > <property name="enabled" > <bool>false</bool> </property> <property name="title" > <string>Active session</string> </property> <layout class="QVBoxLayout" > <item> <layout class="QHBoxLayout" > <item> <widget class="QLabel" name="cipherText" > <property name="text" > <string>Cryptographic Cipher:</string> </property> </widget> </item> <item> <widget class="QLabel" name="cipherLabel" > <property name="text" > <string>&lt;none></string> </property> <property name="alignment" > <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> </layout> </item> <item> <widget class="QTextEdit" name="sessionOutput" > <property name="enabled" > <bool>false</bool> </property> <property name="focusPolicy" > <enum>Qt::NoFocus</enum> </property> <property name="readOnly" > <bool>true</bool> </property> <property name="html" > <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css"> p, li { white-space: pre-wrap; } &lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> &lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;/p>&lt;/body>&lt;/html></string> </property> </widget> </item> <item> <layout class="QHBoxLayout" > <item> <widget class="QLabel" name="sessionInputLabel" > <property name="text" > <string>Input:</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="sessionInput" > <property name="enabled" > <bool>false</bool> </property> </widget> </item> <item> <widget class="QPushButton" name="sendButton" > <property name="enabled" > <bool>false</bool> </property> <property name="focusPolicy" > <enum>Qt::TabFocus</enum> </property> <property name="text" > <string>&amp;Send</string> </property> <property name="default" > <bool>true</bool> </property> </widget> </item> </layout> </item> </layout> </widget> </item> </layout> </widget> <resources/> <connections> <connection> <sender>hostNameEdit</sender> <signal>returnPressed()</signal> <receiver>connectButton</receiver> <slot>animateClick()</slot> <hints> <hint type="sourcelabel" > <x>126</x> <y>20</y> </hint> <hint type="destinationlabel" > <x>142</x> <y>78</y> </hint> </hints> </connection> <connection> <sender>sessionInput</sender> <signal>returnPressed()</signal> <receiver>sendButton</receiver> <slot>animateClick()</slot> <hints> <hint type="sourcelabel" > <x>142</x> <y>241</y> </hint> <hint type="destinationlabel" > <x>297</x> <y>234</y> </hint> </hints> </connection> </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>