Tue, 21 Feb 2012 17:19:21 +0100
Enhanced the optics of the AdBlock dialog.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>AdBlockDialog</class> <widget class="QDialog" name="AdBlockDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>650</width> <height>600</height> </rect> </property> <property name="windowTitle"> <string>AdBlock Configuration</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QGroupBox" name="adBlockGroup"> <property name="title"> <string>Enable AdBlock</string> </property> <property name="checkable"> <bool>true</bool> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <layout class="QGridLayout" name="gridLayout"> <property name="horizontalSpacing"> <number>0</number> </property> <item row="0" column="0" rowspan="2"> <widget class="QLabel" name="iconLabel"> <property name="text"> <string notr="true">Icon</string> </property> </widget> </item> <item row="0" column="1" colspan="3"> <spacer name="horizontalSpacer_3"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>158</width> <height>20</height> </size> </property> </spacer> </item> <item row="1" column="1"> <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 row="1" column="2"> <widget class="QLineEdit" name="searchEdit"> <property name="toolTip"> <string>Enter search term for subscriptions and rules</string> </property> </widget> </item> <item row="1" column="3"> <widget class="QToolButton" name="clearButton"> <property name="toolTip"> <string>Press to clear the search edit</string> </property> <property name="text"> <string/> </property> </widget> </item> </layout> </item> <item> <widget class="E5TreeView" name="subscriptionsTree"> <property name="dragDropMode"> <enum>QAbstractItemView::InternalMove</enum> </property> <property name="alternatingRowColors"> <bool>true</bool> </property> <property name="selectionMode"> <enum>QAbstractItemView::ExtendedSelection</enum> </property> <property name="textElideMode"> <enum>Qt::ElideMiddle</enum> </property> <property name="uniformRowHeights"> <bool>true</bool> </property> </widget> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <widget class="QToolButton" name="actionButton"> <property name="text"> <string>Actions</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_2"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> </layout> </widget> </item> <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Close</set> </property> </widget> </item> </layout> </widget> <customwidgets> <customwidget> <class>E5TreeView</class> <extends>QTreeView</extends> <header>E5Gui/E5TreeView</header> </customwidget> </customwidgets> <tabstops> <tabstop>adBlockGroup</tabstop> <tabstop>searchEdit</tabstop> <tabstop>clearButton</tabstop> <tabstop>subscriptionsTree</tabstop> <tabstop>actionButton</tabstop> <tabstop>buttonBox</tabstop> </tabstops> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>AdBlockDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>252</x> <y>445</y> </hint> <hint type="destinationlabel"> <x>157</x> <y>274</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>AdBlockDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>320</x> <y>445</y> </hint> <hint type="destinationlabel"> <x>286</x> <y>274</y> </hint> </hints> </connection> <connection> <sender>clearButton</sender> <signal>clicked()</signal> <receiver>searchEdit</receiver> <slot>clear()</slot> <hints> <hint type="sourcelabel"> <x>728</x> <y>21</y> </hint> <hint type="destinationlabel"> <x>706</x> <y>20</y> </hint> </hints> </connection> </connections> </ui>