examples/network/securesocketclient/sslerrors.ui
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <ui version="4.0" >
       
     2  <class>SslErrors</class>
       
     3  <widget class="QDialog" name="SslErrors" >
       
     4   <property name="geometry" >
       
     5    <rect>
       
     6     <x>0</x>
       
     7     <y>0</y>
       
     8     <width>371</width>
       
     9     <height>216</height>
       
    10    </rect>
       
    11   </property>
       
    12   <property name="windowTitle" >
       
    13    <string>Unable To Validate The Connection</string>
       
    14   </property>
       
    15   <layout class="QVBoxLayout" >
       
    16    <item>
       
    17     <widget class="QLabel" name="label" >
       
    18      <property name="text" >
       
    19       <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
       
    20 p, li { white-space: pre-wrap; }
       
    21 &lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
       
    22 &lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600; color:#ff0000;">Warning&lt;/span>&lt;span style=" color:#ff0000;">:&lt;/span>&lt;span style=" color:#000000;"> One or more errors with this connection prevent validating the authenticity of the host you are connecting to. Please review the following list of errors, and click &lt;/span>&lt;span style=" color:#000000;">Ignore&lt;/span>&lt;span style=" color:#000000;"> to continue, or &lt;/span>&lt;span style=" color:#000000;">Cancel&lt;/span>&lt;span style=" color:#000000;"> to abort the connection.&lt;/span>&lt;/p>&lt;/body>&lt;/html></string>
       
    23      </property>
       
    24      <property name="wordWrap" >
       
    25       <bool>true</bool>
       
    26      </property>
       
    27     </widget>
       
    28    </item>
       
    29    <item>
       
    30     <widget class="QListWidget" name="sslErrorList" />
       
    31    </item>
       
    32    <item>
       
    33     <layout class="QHBoxLayout" >
       
    34      <item>
       
    35       <widget class="QPushButton" name="certificateChainButton" >
       
    36        <property name="text" >
       
    37         <string>View Certificate Chain</string>
       
    38        </property>
       
    39        <property name="autoDefault" >
       
    40         <bool>false</bool>
       
    41        </property>
       
    42       </widget>
       
    43      </item>
       
    44      <item>
       
    45       <spacer>
       
    46        <property name="orientation" >
       
    47         <enum>Qt::Horizontal</enum>
       
    48        </property>
       
    49        <property name="sizeHint" >
       
    50         <size>
       
    51          <width>40</width>
       
    52          <height>20</height>
       
    53         </size>
       
    54        </property>
       
    55       </spacer>
       
    56      </item>
       
    57      <item>
       
    58       <widget class="QPushButton" name="pushButton" >
       
    59        <property name="text" >
       
    60         <string>Ignore</string>
       
    61        </property>
       
    62       </widget>
       
    63      </item>
       
    64      <item>
       
    65       <widget class="QPushButton" name="pushButton_2" >
       
    66        <property name="text" >
       
    67         <string>Cancel</string>
       
    68        </property>
       
    69       </widget>
       
    70      </item>
       
    71     </layout>
       
    72    </item>
       
    73   </layout>
       
    74  </widget>
       
    75  <resources/>
       
    76  <connections>
       
    77   <connection>
       
    78    <sender>pushButton</sender>
       
    79    <signal>clicked()</signal>
       
    80    <receiver>SslErrors</receiver>
       
    81    <slot>accept()</slot>
       
    82    <hints>
       
    83     <hint type="sourcelabel" >
       
    84      <x>235</x>
       
    85      <y>185</y>
       
    86     </hint>
       
    87     <hint type="destinationlabel" >
       
    88      <x>228</x>
       
    89      <y>287</y>
       
    90     </hint>
       
    91    </hints>
       
    92   </connection>
       
    93   <connection>
       
    94    <sender>pushButton_2</sender>
       
    95    <signal>clicked()</signal>
       
    96    <receiver>SslErrors</receiver>
       
    97    <slot>reject()</slot>
       
    98    <hints>
       
    99     <hint type="sourcelabel" >
       
   100      <x>325</x>
       
   101      <y>192</y>
       
   102     </hint>
       
   103     <hint type="destinationlabel" >
       
   104      <x>333</x>
       
   105      <y>231</y>
       
   106     </hint>
       
   107    </hints>
       
   108   </connection>
       
   109  </connections>
       
   110 </ui>