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

Qt 5.7.1 Reference Documentation

# bookmarks.ui Example File

webenginewidgets/demobrowser/bookmarks.ui

      <ui version="4.0" >
       <class>BookmarksDialog</class>
       <widget class="QDialog" name="BookmarksDialog" >
        <property name="geometry" >
         <rect>
          <x>0</x>
          <y>0</y>
          <width>758</width>
          <height>450</height>
         </rect>
        </property>
        <property name="windowTitle" >
         <string>Bookmarks</string>
        </property>
        <layout class="QGridLayout" name="gridLayout" >
         <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="EditTreeView" name="tree" />
         </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="addFolderButton" >
             <property name="text" >
              <string>Add Folder</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>EditTreeView</class>
         <extends>QTreeView</extends>
         <header>edittreeview.h</header>
        </customwidget>
       </customwidgets>
       <resources/>
       <connections>
        <connection>
         <sender>buttonBox</sender>
         <signal>accepted()</signal>
         <receiver>BookmarksDialog</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>