- Qt 5.5
- Qt WebEngine Widgets
- WebEngine Tab Browser Example
- addbookmarkdialog.ui Example File
- Qt 5.5.1 Reference Documentation

# addbookmarkdialog.ui Example File

browser/addbookmarkdialog.ui

    <ui version="4.0" >
     <class>AddBookmarkDialog</class>
     <widget class="QDialog" name="AddBookmarkDialog" >
      <property name="geometry" >
       <rect>
        <x>0</x>
        <y>0</y>
        <width>240</width>
        <height>168</height>
       </rect>
      </property>
      <property name="windowTitle" >
       <string>Add Bookmark</string>
      </property>
      <layout class="QVBoxLayout" name="verticalLayout" >
       <item>
        <widget class="QLabel" name="label" >
         <property name="text" >
          <string>Type a name for the bookmark, and choose where to keep it.</string>
         </property>
         <property name="textFormat" >
          <enum>Qt::PlainText</enum>
         </property>
         <property name="wordWrap" >
          <bool>true</bool>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QLineEdit" name="name" />
       </item>
       <item>
        <widget class="QComboBox" name="location" />
       </item>
       <item>
        <spacer name="verticalSpacer" >
         <property name="orientation" >
          <enum>Qt::Vertical</enum>
         </property>
         <property name="sizeHint" stdset="0" >
          <size>
           <width>20</width>
           <height>2</height>
          </size>
         </property>
        </spacer>
       </item>
       <item>
        <widget class="QDialogButtonBox" name="buttonBox" >
         <property name="orientation" >
          <enum>Qt::Horizontal</enum>
         </property>
         <property name="standardButtons" >
          <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
         </property>
         <property name="centerButtons" >
          <bool>false</bool>
         </property>
        </widget>
       </item>
      </layout>
     </widget>
     <resources/>
     <connections>
      <connection>
       <sender>buttonBox</sender>
       <signal>accepted()</signal>
       <receiver>AddBookmarkDialog</receiver>
       <slot>accept()</slot>
       <hints>
        <hint type="sourcelabel" >
         <x>248</x>
         <y>254</y>
        </hint>
        <hint type="destinationlabel" >
         <x>157</x>
         <y>274</y>
        </hint>
       </hints>
      </connection>
      <connection>
       <sender>buttonBox</sender>
       <signal>rejected()</signal>
       <receiver>AddBookmarkDialog</receiver>
       <slot>reject()</slot>
       <hints>
        <hint type="sourcelabel" >
         <x>316</x>
         <y>260</y>
        </hint>
        <hint type="destinationlabel" >
         <x>286</x>
         <y>274</y>
        </hint>
       </hints>
      </connection>
     </connections>
    </ui>