downloadmanagerwidget.ui Example File | Qt WebEngine 5.9

Qt 5.9 | Qt WebEngine | WebEngine Widgets Simple Browser Example | downloadmanagerwidget.ui Example File

Qt 5.9.9 Reference Documentation

# downloadmanagerwidget.ui Example File

webenginewidgets/simplebrowser/downloadmanagerwidget.ui

      <?xml version="1.0" encoding="UTF-8"?>
      <ui version="4.0">
       <class>DownloadManagerWidget</class>
       <widget class="QWidget" name="DownloadManagerWidget">
        <property name="geometry">
         <rect>
          <x>0</x>
          <y>0</y>
          <width>400</width>
          <height>212</height>
         </rect>
        </property>
        <property name="windowTitle">
         <string>Downloads</string>
        </property>
        <property name="styleSheet">
         <string notr="true">#DownloadManagerWidget {
          background: palette(button)
      }</string>
        </property>
        <layout class="QVBoxLayout" name="m_topLevelLayout">
         <property name="sizeConstraint">
          <enum>QLayout::SetNoConstraint</enum>
         </property>
         <property name="leftMargin">
          <number>0</number>
         </property>
         <property name="topMargin">
          <number>0</number>
         </property>
         <property name="rightMargin">
          <number>0</number>
         </property>
         <property name="bottomMargin">
          <number>0</number>
         </property>
         <item>
          <widget class="QScrollArea" name="m_scrollArea">
           <property name="styleSheet">
            <string notr="true">#m_scrollArea {
        margin: 2px;
        border: none;
      }</string>
           </property>
           <property name="verticalScrollBarPolicy">
            <enum>Qt::ScrollBarAlwaysOn</enum>
           </property>
           <property name="horizontalScrollBarPolicy">
            <enum>Qt::ScrollBarAlwaysOff</enum>
           </property>
           <property name="widgetResizable">
            <bool>true</bool>
           </property>
           <property name="alignment">
            <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
           </property>
           <widget class="QWidget" name="m_items">
            <property name="styleSheet">
             <string notr="true">#m_items {background: palette(mid)}</string>
            </property>
            <layout class="QVBoxLayout" name="m_itemsLayout">
             <property name="spacing">
              <number>2</number>
             </property>
             <property name="leftMargin">
              <number>3</number>
             </property>
             <property name="topMargin">
              <number>3</number>
             </property>
             <property name="rightMargin">
              <number>3</number>
             </property>
             <property name="bottomMargin">
              <number>3</number>
             </property>
             <item>
              <widget class="QLabel" name="m_zeroItemsLabel">
               <property name="sizePolicy">
                <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
                 <horstretch>0</horstretch>
                 <verstretch>0</verstretch>
                </sizepolicy>
               </property>
               <property name="styleSheet">
                <string notr="true">color: palette(shadow)</string>
               </property>
               <property name="text">
                <string>No downloads</string>
               </property>
               <property name="alignment">
                <set>Qt::AlignCenter</set>
               </property>
              </widget>
             </item>
            </layout>
           </widget>
          </widget>
         </item>
        </layout>
       </widget>
       <resources/>
       <connections/>
      </ui>