--- a/E5Gui/E5TextEditSearchWidget.ui Tue Oct 17 19:40:32 2017 +0200 +++ b/E5Gui/E5TextEditSearchWidget.ui Wed Oct 18 19:16:28 2017 +0200 @@ -7,10 +7,10 @@ <x>0</x> <y>0</y> <width>475</width> - <height>22</height> + <height>43</height> </rect> </property> - <layout class="QHBoxLayout" name="horizontalLayout"> + <layout class="QGridLayout" name="gridLayout"> <property name="leftMargin"> <number>0</number> </property> @@ -23,15 +23,15 @@ <property name="bottomMargin"> <number>0</number> </property> - <item> + <item row="0" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>Find:</string> </property> </widget> </item> - <item> - <widget class="QComboBox" name="findtextCombo"> + <item row="0" column="1"> + <widget class="E5ClearableComboBox" name="findtextCombo"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> @@ -55,36 +55,57 @@ </property> </widget> </item> - <item> + <item row="0" column="2"> <widget class="QCheckBox" name="caseCheckBox"> <property name="text"> <string>Match case</string> </property> </widget> </item> - <item> + <item row="0" column="3"> <widget class="QCheckBox" name="wordCheckBox"> <property name="text"> <string>Whole word</string> </property> </widget> </item> - <item> - <widget class="QToolButton" name="findPrevButton"> - <property name="toolTip"> - <string>Press to find the previous occurrence</string> + <item row="0" column="4"> + <layout class="QHBoxLayout" name="horizontalLayout"> + <property name="spacing"> + <number>0</number> </property> - </widget> + <item> + <widget class="QToolButton" name="findPrevButton"> + <property name="toolTip"> + <string>Press to find the previous occurrence</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="findNextButton"> + <property name="toolTip"> + <string>Press to find the next occurrence</string> + </property> + </widget> + </item> + </layout> </item> - <item> - <widget class="QToolButton" name="findNextButton"> - <property name="toolTip"> - <string>Press to find the next occurrence</string> + <item row="1" column="0" colspan="5"> + <widget class="QLabel" name="infoLabel"> + <property name="text"> + <string/> </property> </widget> </item> </layout> </widget> + <customwidgets> + <customwidget> + <class>E5ClearableComboBox</class> + <extends>QComboBox</extends> + <header>E5Gui/E5ComboBox.h</header> + </customwidget> + </customwidgets> <tabstops> <tabstop>findtextCombo</tabstop> <tabstop>caseCheckBox</tabstop>