cookiedialog.ui Example File
webenginewidgets/cookiebrowser/cookiedialog.ui
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>CookieDialog</class>
<widget class="QDialog" name="CookieDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>245</height>
</rect>
</property>
<property name="windowTitle">
<string>Cookie</string>
</property>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Name</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="m_nameLineEdit">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Domain</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="m_domainLineEdit">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Path</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLineEdit" name="m_pathLineEdit">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>isHttpOnly</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QComboBox" name="m_isHttpOnlyComboBox"/>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>isSecure</string>
</property>
</widget>
</item>
<item row="8" column="1">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer">
<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="QPushButton" name="m_addButton">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Add</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="m_cancelButton">
<property name="text">
<string>Cancel</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="7" column="1">
<widget class="QComboBox" name="m_isSecureComboBox"/>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Value</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="m_valueLineEdit">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QDateEdit" name="m_dateEdit">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Expires</string>
</property>
</widget>
</item>
</layout>
</widget>
<tabstops>
<tabstop>m_nameLineEdit</tabstop>
<tabstop>m_domainLineEdit</tabstop>
<tabstop>m_valueLineEdit</tabstop>
<tabstop>m_dateEdit</tabstop>
<tabstop>m_pathLineEdit</tabstop>
<tabstop>m_isHttpOnlyComboBox</tabstop>
<tabstop>m_isSecureComboBox</tabstop>
<tabstop>m_addButton</tabstop>
<tabstop>m_cancelButton</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>m_cancelButton</sender>
<signal>clicked()</signal>
<receiver>CookieDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>350</x>
<y>103</y>
</hint>
<hint type="destinationlabel">
<x>199</x>
<y>63</y>
</hint>
</hints>
</connection>
<connection>
<sender>m_addButton</sender>
<signal>clicked()</signal>
<receiver>CookieDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>265</x>
<y>112</y>
</hint>
<hint type="destinationlabel">
<x>199</x>
<y>63</y>
</hint>
</hints>
</connection>
</connections>
</ui>