Qt 5.7 | Qt WebEngine | WebEngine Demo Browser Example | downloaditem.ui Example File

Qt 5.7.1 Reference Documentation

# downloaditem.ui Example File

webenginewidgets/demobrowser/downloaditem.ui

      <ui version="4.0" >
       <class>DownloadItem</class>
       <widget class="QWidget" name="DownloadItem" >
        <property name="geometry" >
         <rect>
          <x>0</x>
          <y>0</y>
          <width>423</width>
          <height>110</height>
         </rect>
        </property>
        <property name="windowTitle" >
         <string>Form</string>
        </property>
        <layout class="QHBoxLayout" name="horizontalLayout" >
         <property name="leftMargin">
          <number>5</number>
         </property>
         <property name="topMargin">
          <number>0</number>
         </property>
         <property name="rightMargin">
          <number>5</number>
         </property>
         <property name="bottomMargin">
          <number>0</number>
         </property>
         <item>
          <widget class="QLabel" name="fileIcon" >
           <property name="sizePolicy" >
            <sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
           <property name="text" >
            <string>Ico</string>
           </property>
          </widget>
         </item>
         <item>
          <layout class="QVBoxLayout" name="verticalLayout_2" >
           <item>
            <widget class="SqueezeLabel" native="1" name="fileNameLabel" >
             <property name="sizePolicy" >
              <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
             <property name="text" stdset="0" >
              <string>Filename</string>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QProgressBar" name="progressBar" >
             <property name="value" >
              <number>0</number>
             </property>
            </widget>
           </item>
           <item>
            <widget class="SqueezeLabel" native="1" name="downloadInfoLabel" >
             <property name="sizePolicy" >
              <sizepolicy vsizetype="Preferred" hsizetype="Minimum" >
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
             <property name="text" stdset="0" >
              <string/>
             </property>
            </widget>
           </item>
          </layout>
         </item>
         <item>
          <layout class="QVBoxLayout" name="verticalLayout" >
           <item>
            <spacer name="verticalSpacer" >
             <property name="orientation" >
              <enum>Qt::Vertical</enum>
             </property>
             <property name="sizeHint" stdset="0" >
              <size>
               <width>17</width>
               <height>1</height>
              </size>
             </property>
            </spacer>
           </item>
           <item>
            <widget class="QPushButton" name="stopButton" >
             <property name="text" >
              <string>Stop</string>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QPushButton" name="openButton" >
             <property name="text" >
              <string>Open</string>
             </property>
            </widget>
           </item>
           <item>
            <spacer name="verticalSpacer_2" >
             <property name="orientation" >
              <enum>Qt::Vertical</enum>
             </property>
             <property name="sizeHint" stdset="0" >
              <size>
               <width>17</width>
               <height>5</height>
              </size>
             </property>
            </spacer>
           </item>
          </layout>
         </item>
        </layout>
       </widget>
       <customwidgets>
        <customwidget>
         <class>SqueezeLabel</class>
         <extends>QWidget</extends>
         <header>squeezelabel.h</header>
        </customwidget>
       </customwidgets>
       <resources/>
       <connections/>
      </ui>