Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > d5e62c01ae8d1e579463c6a871dd44bf > files > 2237

qtbase5-doc-5.12.6-2.mga7.noarch.rpm

<?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.12.6</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.12</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"><a href="qtnetwork-index.html">Qt 5.12.6 Reference Documentation</a></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">

  &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;ui version=&quot;4.0&quot;&gt;
   &lt;class&gt;Form&lt;/class&gt;
   &lt;widget class=&quot;QWidget&quot; name=&quot;Form&quot;&gt;
    &lt;property name=&quot;geometry&quot;&gt;
     &lt;rect&gt;
      &lt;x&gt;0&lt;/x&gt;
      &lt;y&gt;0&lt;/y&gt;
      &lt;width&gt;343&lt;/width&gt;
      &lt;height&gt;320&lt;/height&gt;
     &lt;/rect&gt;
    &lt;/property&gt;
    &lt;property name=&quot;minimumSize&quot;&gt;
     &lt;size&gt;
      &lt;width&gt;343&lt;/width&gt;
      &lt;height&gt;320&lt;/height&gt;
     &lt;/size&gt;
    &lt;/property&gt;
    &lt;property name=&quot;windowTitle&quot;&gt;
     &lt;string&gt;Secure Socket Client&lt;/string&gt;
    &lt;/property&gt;
    &lt;layout class=&quot;QGridLayout&quot; name=&quot;gridLayout&quot;&gt;
     &lt;item row=&quot;0&quot; column=&quot;0&quot; colspan=&quot;2&quot;&gt;
      &lt;layout class=&quot;QGridLayout&quot;&gt;
       &lt;item row=&quot;0&quot; column=&quot;0&quot;&gt;
        &lt;widget class=&quot;QLabel&quot; name=&quot;hostNameLabel&quot;&gt;
         &lt;property name=&quot;text&quot;&gt;
          &lt;string&gt;Host name:&lt;/string&gt;
         &lt;/property&gt;
        &lt;/widget&gt;
       &lt;/item&gt;
       &lt;item row=&quot;0&quot; column=&quot;1&quot;&gt;
        &lt;widget class=&quot;QLineEdit&quot; name=&quot;hostNameEdit&quot;&gt;
         &lt;property name=&quot;text&quot;&gt;
          &lt;string&gt;www.qt.io&lt;/string&gt;
         &lt;/property&gt;
        &lt;/widget&gt;
       &lt;/item&gt;
       &lt;item row=&quot;1&quot; column=&quot;0&quot;&gt;
        &lt;widget class=&quot;QLabel&quot; name=&quot;portLabel&quot;&gt;
         &lt;property name=&quot;text&quot;&gt;
          &lt;string&gt;Port:&lt;/string&gt;
         &lt;/property&gt;
        &lt;/widget&gt;
       &lt;/item&gt;
       &lt;item row=&quot;1&quot; column=&quot;1&quot;&gt;
        &lt;widget class=&quot;QSpinBox&quot; name=&quot;portBox&quot;&gt;
         &lt;property name=&quot;minimum&quot;&gt;
          &lt;number&gt;1&lt;/number&gt;
         &lt;/property&gt;
         &lt;property name=&quot;maximum&quot;&gt;
          &lt;number&gt;65535&lt;/number&gt;
         &lt;/property&gt;
         &lt;property name=&quot;value&quot;&gt;
          &lt;number&gt;443&lt;/number&gt;
         &lt;/property&gt;
        &lt;/widget&gt;
       &lt;/item&gt;
      &lt;/layout&gt;
     &lt;/item&gt;
     &lt;item row=&quot;1&quot; column=&quot;0&quot;&gt;
      &lt;widget class=&quot;QLabel&quot; name=&quot;label&quot;&gt;
       &lt;property name=&quot;text&quot;&gt;
        &lt;string&gt;Active session&lt;/string&gt;
       &lt;/property&gt;
      &lt;/widget&gt;
     &lt;/item&gt;
     &lt;item row=&quot;1&quot; column=&quot;1&quot;&gt;
      &lt;widget class=&quot;QPushButton&quot; name=&quot;connectButton&quot;&gt;
       &lt;property name=&quot;enabled&quot;&gt;
        &lt;bool&gt;true&lt;/bool&gt;
       &lt;/property&gt;
       &lt;property name=&quot;text&quot;&gt;
        &lt;string&gt;Connect to host&lt;/string&gt;
       &lt;/property&gt;
       &lt;property name=&quot;default&quot;&gt;
        &lt;bool&gt;true&lt;/bool&gt;
       &lt;/property&gt;
      &lt;/widget&gt;
     &lt;/item&gt;
     &lt;item row=&quot;2&quot; column=&quot;0&quot; colspan=&quot;2&quot;&gt;
      &lt;layout class=&quot;QHBoxLayout&quot;&gt;
       &lt;item&gt;
        &lt;widget class=&quot;QLabel&quot; name=&quot;cipherText&quot;&gt;
         &lt;property name=&quot;text&quot;&gt;
          &lt;string&gt;Cryptographic Cipher:&lt;/string&gt;
         &lt;/property&gt;
         &lt;property name=&quot;wordWrap&quot;&gt;
          &lt;bool&gt;true&lt;/bool&gt;
         &lt;/property&gt;
        &lt;/widget&gt;
       &lt;/item&gt;
       &lt;item&gt;
        &lt;widget class=&quot;QLabel&quot; name=&quot;cipherLabel&quot;&gt;
         &lt;property name=&quot;text&quot;&gt;
          &lt;string&gt;&amp;lt;none&amp;gt;&lt;/string&gt;
         &lt;/property&gt;
         &lt;property name=&quot;alignment&quot;&gt;
          &lt;set&gt;Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter&lt;/set&gt;
         &lt;/property&gt;
         &lt;property name=&quot;wordWrap&quot;&gt;
          &lt;bool&gt;true&lt;/bool&gt;
         &lt;/property&gt;
        &lt;/widget&gt;
       &lt;/item&gt;
      &lt;/layout&gt;
     &lt;/item&gt;
     &lt;item row=&quot;3&quot; column=&quot;0&quot; colspan=&quot;2&quot;&gt;
      &lt;widget class=&quot;QTextEdit&quot; name=&quot;sessionOutput&quot;&gt;
       &lt;property name=&quot;enabled&quot;&gt;
        &lt;bool&gt;false&lt;/bool&gt;
       &lt;/property&gt;
       &lt;property name=&quot;focusPolicy&quot;&gt;
        &lt;enum&gt;Qt::StrongFocus&lt;/enum&gt;
       &lt;/property&gt;
       &lt;property name=&quot;readOnly&quot;&gt;
        &lt;bool&gt;true&lt;/bool&gt;
       &lt;/property&gt;
       &lt;property name=&quot;html&quot;&gt;
        &lt;string&gt;&amp;lt;!DOCTYPE HTML PUBLIC &amp;quot;-//W3C//DTD HTML 4.0//EN&amp;quot; &amp;quot;http://www.w3.org/TR/REC-html40/strict.dtd&amp;quot;&amp;gt;
  &amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;meta name=&amp;quot;qrichtext&amp;quot; content=&amp;quot;1&amp;quot; /&amp;gt;&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;
  p, li { white-space: pre-wrap; }
  &amp;lt;/style&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body style=&amp;quot; font-family:'.SF NS Text'; font-size:13pt; font-weight:400; font-style:normal;&amp;quot;&amp;gt;
  &amp;lt;p style=&amp;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;&amp;quot;&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/string&gt;
       &lt;/property&gt;
      &lt;/widget&gt;
     &lt;/item&gt;
     &lt;item row=&quot;4&quot; column=&quot;0&quot; colspan=&quot;2&quot;&gt;
      &lt;layout class=&quot;QHBoxLayout&quot;&gt;
       &lt;item&gt;
        &lt;widget class=&quot;QLabel&quot; name=&quot;sessionInputLabel&quot;&gt;
         &lt;property name=&quot;text&quot;&gt;
          &lt;string&gt;Input:&lt;/string&gt;
         &lt;/property&gt;
        &lt;/widget&gt;
       &lt;/item&gt;
       &lt;item&gt;
        &lt;widget class=&quot;QLineEdit&quot; name=&quot;sessionInput&quot;&gt;
         &lt;property name=&quot;enabled&quot;&gt;
          &lt;bool&gt;false&lt;/bool&gt;
         &lt;/property&gt;
        &lt;/widget&gt;
       &lt;/item&gt;
       &lt;item&gt;
        &lt;widget class=&quot;QPushButton&quot; name=&quot;sendButton&quot;&gt;
         &lt;property name=&quot;enabled&quot;&gt;
          &lt;bool&gt;false&lt;/bool&gt;
         &lt;/property&gt;
         &lt;property name=&quot;focusPolicy&quot;&gt;
          &lt;enum&gt;Qt::TabFocus&lt;/enum&gt;
         &lt;/property&gt;
         &lt;property name=&quot;text&quot;&gt;
          &lt;string&gt;&amp;amp;Send&lt;/string&gt;
         &lt;/property&gt;
         &lt;property name=&quot;default&quot;&gt;
          &lt;bool&gt;true&lt;/bool&gt;
         &lt;/property&gt;
        &lt;/widget&gt;
       &lt;/item&gt;
      &lt;/layout&gt;
     &lt;/item&gt;
    &lt;/layout&gt;
   &lt;/widget&gt;
   &lt;resources/&gt;
   &lt;connections&gt;
    &lt;connection&gt;
     &lt;sender&gt;hostNameEdit&lt;/sender&gt;
     &lt;signal&gt;returnPressed()&lt;/signal&gt;
     &lt;receiver&gt;connectButton&lt;/receiver&gt;
     &lt;slot&gt;animateClick()&lt;/slot&gt;
     &lt;hints&gt;
      &lt;hint type=&quot;sourcelabel&quot;&gt;
       &lt;x&gt;126&lt;/x&gt;
       &lt;y&gt;20&lt;/y&gt;
      &lt;/hint&gt;
      &lt;hint type=&quot;destinationlabel&quot;&gt;
       &lt;x&gt;142&lt;/x&gt;
       &lt;y&gt;78&lt;/y&gt;
      &lt;/hint&gt;
     &lt;/hints&gt;
    &lt;/connection&gt;
    &lt;connection&gt;
     &lt;sender&gt;sessionInput&lt;/sender&gt;
     &lt;signal&gt;returnPressed()&lt;/signal&gt;
     &lt;receiver&gt;sendButton&lt;/receiver&gt;
     &lt;slot&gt;animateClick()&lt;/slot&gt;
     &lt;hints&gt;
      &lt;hint type=&quot;sourcelabel&quot;&gt;
       &lt;x&gt;142&lt;/x&gt;
       &lt;y&gt;241&lt;/y&gt;
      &lt;/hint&gt;
      &lt;hint type=&quot;destinationlabel&quot;&gt;
       &lt;x&gt;297&lt;/x&gt;
       &lt;y&gt;234&lt;/y&gt;
      &lt;/hint&gt;
     &lt;/hints&gt;
    &lt;/connection&gt;
   &lt;/connections&gt;
  &lt;/ui&gt;

</pre>
</div>
<!-- @@@securesocketclient/sslclient.ui -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 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>