<?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>sslclient.ui Example File | Qt Network 5.11</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 ><a href="../qtdoc/index.html">Qt 5.11</a></td><td ><a href="qtnetwork-index.html">Qt Network</a></td><td ><a href="qtnetwork-securesocketclient-example.html">Secure Socket Client Example</a></td><td >sslclient.ui Example File</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right">Qt 5.11.2 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">sslclient.ui Example File</h1> <span class="subtitle">securesocketclient/sslclient.ui</span> <!-- $$$securesocketclient/sslclient.ui-description --> <div class="descr"> <a name="details"></a> <pre class="cpp"> <?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>343</width> <height>320</height> </rect> </property> <property name="minimumSize"> <size> <width>343</width> <height>320</height> </size> </property> <property name="windowTitle"> <string>Secure Socket Client</string> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0" colspan="2"> <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>www.qt.io</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>443</number> </property> </widget> </item> </layout> </item> <item row="1" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>Active session</string> </property> </widget> </item> <item row="1" column="1"> <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 row="2" column="0" colspan="2"> <layout class="QHBoxLayout"> <item> <widget class="QLabel" name="cipherText"> <property name="text"> <string>Cryptographic Cipher:</string> </property> <property name="wordWrap"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QLabel" name="cipherLabel"> <property name="text"> <string>&lt;none&gt;</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="wordWrap"> <bool>true</bool> </property> </widget> </item> </layout> </item> <item row="3" column="0" colspan="2"> <widget class="QTextEdit" name="sessionOutput"> <property name="enabled"> <bool>false</bool> </property> <property name="focusPolicy"> <enum>Qt::StrongFocus</enum> </property> <property name="readOnly"> <bool>true</bool> </property> <property name="html"> <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt; &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt; p, li { white-space: pre-wrap; } &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'.SF NS Text'; font-size:13pt; font-weight:400; font-style:normal;&quot;&gt; &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> </property> </widget> </item> <item row="4" column="0" colspan="2"> <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> <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> </div> <!-- @@@securesocketclient/sslclient.ui --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2018 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>