--- a/src/eric7/UI/FindFileWidget.ui Mon Jan 08 11:50:27 2024 +0100 +++ b/src/eric7/UI/FindFileWidget.ui Wed Jan 10 09:42:15 2024 +0100 @@ -223,7 +223,7 @@ </widget> </item> <item> - <widget class="QLineEdit" name="filterEdit"> + <widget class="QComboBox" name="filterComboBox"> <property name="enabled"> <bool>false</bool> </property> @@ -234,10 +234,14 @@ </sizepolicy> </property> <property name="toolTip"> - <string>Enter the filename wildcards separated by ';'</string> + <string>Select the file filter to apply.</string> </property> - <property name="clearButtonEnabled"> - <bool>true</bool> + </widget> + </item> + <item> + <widget class="QToolButton" name="filtersConfigButton"> + <property name="toolTip"> + <string>Press to open a dialog to edit the list of defined filters.</string> </property> </widget> </item> @@ -497,7 +501,8 @@ <tabstop>fileOptionsWidget</tabstop> <tabstop>fileTypeList</tabstop> <tabstop>filterCheckBox</tabstop> - <tabstop>filterEdit</tabstop> + <tabstop>filterComboBox</tabstop> + <tabstop>filtersConfigButton</tabstop> <tabstop>projectButton</tabstop> <tabstop>dirButton</tabstop> <tabstop>dirPicker</tabstop> @@ -522,24 +527,24 @@ <y>185</y> </hint> <hint type="destinationlabel"> - <x>90</x> - <y>211</y> + <x>101</x> + <y>209</y> </hint> </hints> </connection> <connection> <sender>filterCheckBox</sender> <signal>toggled(bool)</signal> - <receiver>filterEdit</receiver> + <receiver>filterComboBox</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> - <x>52</x> - <y>261</y> + <x>35</x> + <y>299</y> </hint> <hint type="destinationlabel"> - <x>101</x> - <y>258</y> + <x>111</x> + <y>298</y> </hint> </hints> </connection>