Qt Reference Documentation

# certificateinfo.ui Example File

network/securesocketclient/certificateinfo.ui

     <?xml version="1.0" encoding="UTF-8"?>
     <ui version="4.0">
      <class>CertificateInfo</class>
      <widget class="QDialog" name="CertificateInfo">
       <property name="geometry">
        <rect>
         <x>0</x>
         <y>0</y>
         <width>400</width>
         <height>397</height>
        </rect>
       </property>
       <property name="windowTitle">
        <string>Display Certificate Information</string>
       </property>
       <layout class="QVBoxLayout">
        <property name="sizeConstraint">
         <enum>QLayout::SetDefaultConstraint</enum>
        </property>
        <item>
         <widget class="QLabel" name="label">
          <property name="text">
           <string>Certification Path</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QComboBox" name="certificationPathView">
          <property name="minimumContentsLength">
           <number>3</number>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="label_2">
          <property name="text">
           <string>Certificate Information</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QListWidget" name="certificateInfoView">
          <property name="font">
           <font>
            <pointsize>8</pointsize>
           </font>
          </property>
          <property name="wordWrap">
           <bool>true</bool>
          </property>
         </widget>
        </item>
        <item>
         <layout class="QHBoxLayout">
          <property name="sizeConstraint">
           <enum>QLayout::SetDefaultConstraint</enum>
          </property>
          <item>
           <spacer>
            <property name="orientation">
             <enum>Qt::Horizontal</enum>
            </property>
            <property name="sizeHint" stdset="0">
             <size>
              <width>40</width>
              <height>20</height>
             </size>
            </property>
           </spacer>
          </item>
          <item>
           <widget class="QDialogButtonBox" name="buttonBox">
            <property name="standardButtons">
             <set>QDialogButtonBox::Close</set>
            </property>
           </widget>
          </item>
         </layout>
        </item>
       </layout>
      </widget>
      <resources/>
      <connections>
       <connection>
        <sender>buttonBox</sender>
        <signal>clicked(QAbstractButton*)</signal>
        <receiver>CertificateInfo</receiver>
        <slot>accept()</slot>
        <hints>
         <hint type="sourcelabel">
          <x>343</x>
          <y>374</y>
         </hint>
         <hint type="destinationlabel">
          <x>352</x>
          <y>422</y>
         </hint>
        </hints>
       </connection>
      </connections>
     </ui>