Qt Reference Documentation

# formextractor.ui Example File

webkit/formextractor/formextractor.ui

     <ui version="4.0" >
      <class>Form</class>
      <widget class="QWidget" name="Form" >
       <property name="geometry" >
        <rect>
         <x>0</x>
         <y>0</y>
         <width>680</width>
         <height>218</height>
        </rect>
       </property>
       <property name="windowTitle" >
        <string>Form</string>
       </property>
       <layout class="QHBoxLayout" name="horizontalLayout" >
        <item>
         <widget class="QGroupBox" name="webFormGroupBox" >
          <property name="title" >
           <string>Web Form</string>
          </property>
          <layout class="QVBoxLayout" name="verticalLayout_2" >
           <item>
            <layout class="QVBoxLayout" name="verticalLayout" >
             <item>
              <widget class="QWebView" name="webView" >
               <property name="minimumSize" >
                <size>
                 <width>200</width>
                 <height>150</height>
                </size>
               </property>
               <property name="maximumSize" >
                <size>
                 <width>400</width>
                 <height>16777215</height>
                </size>
               </property>
               <property name="url" >
                <url>
                 <string>about:blank</string>
                </url>
               </property>
              </widget>
             </item>
            </layout>
           </item>
          </layout>
         </widget>
        </item>
        <item>
         <spacer name="horizontalSpacer" >
          <property name="orientation" >
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeHint" stdset="0" >
           <size>
            <width>28</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
        <item>
         <widget class="QGroupBox" name="dataGroupBox" >
          <property name="title" >
           <string>Extracted Data</string>
          </property>
          <layout class="QVBoxLayout" name="verticalLayout_3" >
           <item>
            <layout class="QFormLayout" name="formLayout" >
             <property name="fieldGrowthPolicy" >
              <enum>QFormLayout::FieldsStayAtSizeHint</enum>
             </property>
             <item row="0" column="0" >
              <widget class="QLabel" name="firstNameLabel" >
               <property name="text" >
                <string>First Name</string>
               </property>
              </widget>
             </item>
             <item row="0" column="1" >
              <widget class="QLineEdit" name="firstNameEdit" >
               <property name="readOnly" >
                <bool>true</bool>
               </property>
              </widget>
             </item>
             <item row="1" column="0" >
              <widget class="QLabel" name="lastNameLabel" >
               <property name="text" >
                <string>Last Name</string>
               </property>
              </widget>
             </item>
             <item row="1" column="1" >
              <widget class="QLineEdit" name="lastNameEdit" >
               <property name="readOnly" >
                <bool>true</bool>
               </property>
              </widget>
             </item>
             <item row="2" column="0" >
              <widget class="QLabel" name="genderLabel" >
               <property name="text" >
                <string>Gender</string>
               </property>
              </widget>
             </item>
             <item row="2" column="1" >
              <widget class="QLineEdit" name="genderEdit" >
               <property name="readOnly" >
                <bool>true</bool>
               </property>
              </widget>
             </item>
             <item row="3" column="0" >
              <widget class="QLabel" name="updatesLabel" >
               <property name="text" >
                <string>Receive Updates</string>
               </property>
              </widget>
             </item>
             <item row="3" column="1" >
              <widget class="QLineEdit" name="updatesEdit" >
               <property name="readOnly" >
                <bool>true</bool>
               </property>
              </widget>
             </item>
            </layout>
           </item>
           <item>
            <spacer name="verticalSpacer" >
             <property name="orientation" >
              <enum>Qt::Vertical</enum>
             </property>
             <property name="sizeHint" stdset="0" >
              <size>
               <width>20</width>
               <height>24</height>
              </size>
             </property>
            </spacer>
           </item>
          </layout>
         </widget>
        </item>
       </layout>
      </widget>
      <customwidgets>
       <customwidget>
        <class>QWebView</class>
        <extends>QWidget</extends>
        <header>QtWebKit/QWebView</header>
       </customwidget>
      </customwidgets>
      <resources/>
      <connections/>
     </ui>