--- a/E5Gui/E5ErrorMessageFilterDialog.ui Wed Feb 04 19:39:00 2015 +0100 +++ b/E5Gui/E5ErrorMessageFilterDialog.ui Fri Feb 06 18:32:30 2015 +0100 @@ -18,120 +18,7 @@ </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> - <layout class="QGridLayout" name="gridLayout_2"> - <property name="horizontalSpacing"> - <number>0</number> - </property> - <item row="0" column="1"> - <widget class="E5ClearableLineEdit" name="searchEdit"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>300</width> - <height>0</height> - </size> - </property> - <property name="toolTip"> - <string>Enter search term for message</string> - </property> - </widget> - </item> - <item row="0" column="0"> - <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> - </layout> - </item> - <item> - <layout class="QGridLayout" name="gridLayout"> - <item row="4" column="1"> - <spacer name="verticalSpacer"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> - </item> - <item row="0" column="1"> - <widget class="QPushButton" name="addButton"> - <property name="toolTip"> - <string>Press to add filter to the list</string> - </property> - <property name="text"> - <string>&Add...</string> - </property> - <property name="autoDefault"> - <bool>false</bool> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="Line" name="line"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QPushButton" name="removeButton"> - <property name="toolTip"> - <string>Press to remove the selected entries</string> - </property> - <property name="text"> - <string>&Remove</string> - </property> - <property name="autoDefault"> - <bool>false</bool> - </property> - </widget> - </item> - <item row="3" column="1"> - <widget class="QPushButton" name="removeAllButton"> - <property name="toolTip"> - <string>Press to remove all entries</string> - </property> - <property name="text"> - <string>R&emove All</string> - </property> - <property name="autoDefault"> - <bool>false</bool> - </property> - </widget> - </item> - <item row="0" column="0" rowspan="5"> - <widget class="E5ListView" name="filterList"> - <property name="whatsThis"> - <string><b>Error Message Filter</b> -<p>This list shows the configured message filters used to suppress error messages from within Qt.</p></string> - </property> - <property name="alternatingRowColors"> - <bool>true</bool> - </property> - <property name="selectionMode"> - <enum>QAbstractItemView::ExtendedSelection</enum> - </property> - </widget> - </item> - </layout> + <widget class="E5StringListEditWidget" name="filtersEditWidget" native="true"/> </item> <item> <widget class="QDialogButtonBox" name="buttonBox"> @@ -147,22 +34,13 @@ </widget> <customwidgets> <customwidget> - <class>E5ClearableLineEdit</class> - <extends>QLineEdit</extends> - <header>E5Gui/E5LineEdit.h</header> - </customwidget> - <customwidget> - <class>E5ListView</class> - <extends>QListView</extends> - <header>E5Gui/E5ListView.h</header> + <class>E5StringListEditWidget</class> + <extends>QWidget</extends> + <header>E5Gui/E5StringListEditWidget.h</header> + <container>1</container> </customwidget> </customwidgets> <tabstops> - <tabstop>searchEdit</tabstop> - <tabstop>filterList</tabstop> - <tabstop>addButton</tabstop> - <tabstop>removeButton</tabstop> - <tabstop>removeAllButton</tabstop> <tabstop>buttonBox</tabstop> </tabstops> <resources/>