cookies.ui Example File | Qt WebEngine 5.9

Qt 5.9 | Qt WebEngine | WebEngine Demo Browser Example | cookies.ui Example File

Qt 5.9.9 Reference Documentation

# cookies.ui Example File

webenginewidgets/demobrowser/cookies.ui

      <ui version="4.0" >
       <class>CookiesDialog</class>
       <widget class="QDialog" name="CookiesDialog" >
        <property name="geometry" >
         <rect>
          <x>0</x>
          <y>0</y>
          <width>550</width>
          <height>370</height>
         </rect>
        </property>
        <property name="windowTitle" >
         <string>Cookies</string>
        </property>
        <layout class="QGridLayout" >
         <item row="0" column="0" >
          <spacer>
           <property name="orientation" >
            <enum>Qt::Horizontal</enum>
           </property>
           <property name="sizeHint" stdset="0" >
            <size>
             <width>252</width>
             <height>20</height>
            </size>
           </property>
          </spacer>
         </item>
         <item row="0" column="1" >
          <widget class="SearchLineEdit" name="search" />
         </item>
         <item row="1" column="0" colspan="2" >
          <widget class="EditTableView" name="cookiesTable" />
         </item>
         <item row="2" column="0" colspan="2" >
          <layout class="QHBoxLayout" >
           <item>
            <widget class="QPushButton" name="removeButton" >
             <property name="text" >
              <string>&amp;Remove</string>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QPushButton" name="removeAllButton" >
             <property name="text" >
              <string>Remove &amp;All Cookies</string>
             </property>
            </widget>
           </item>
           <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::Ok</set>
             </property>
            </widget>
           </item>
          </layout>
         </item>
        </layout>
       </widget>
       <customwidgets>
        <customwidget>
         <class>SearchLineEdit</class>
         <extends>QLineEdit</extends>
         <header>searchlineedit.h</header>
        </customwidget>
        <customwidget>
         <class>EditTableView</class>
         <extends>QTableView</extends>
         <header>edittableview.h</header>
        </customwidget>
       </customwidgets>
       <resources/>
       <connections>
        <connection>
         <sender>buttonBox</sender>
         <signal>accepted()</signal>
         <receiver>CookiesDialog</receiver>
         <slot>accept()</slot>
         <hints>
          <hint type="sourcelabel" >
           <x>472</x>
           <y>329</y>
          </hint>
          <hint type="destinationlabel" >
           <x>461</x>
           <y>356</y>
          </hint>
         </hints>
        </connection>
       </connections>
      </ui>