--- a/UI/FindFileDialog.ui Sun Nov 19 13:03:04 2017 +0100 +++ b/UI/FindFileDialog.ui Sun Nov 19 14:43:20 2017 +0100 @@ -7,13 +7,13 @@ <x>0</x> <y>0</y> <width>600</width> - <height>750</height> + <height>800</height> </rect> </property> <property name="windowTitle"> <string>Find in Files</string> </property> - <layout class="QVBoxLayout" name="verticalLayout"> + <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <layout class="QGridLayout" name="gridLayout_3"> <item row="0" column="0"> @@ -127,7 +127,7 @@ </layout> </item> <item> - <layout class="QHBoxLayout" name="horizontalLayout"> + <layout class="QHBoxLayout" name="horizontalLayout_4"> <item> <widget class="QGroupBox" name="groupBox"> <property name="title"> @@ -148,12 +148,12 @@ </widget> </item> <item row="0" column="1"> - <widget class="QCheckBox" name="resourcesCheckBox"> + <widget class="QCheckBox" name="interfacesCheckBox"> <property name="toolTip"> - <string>Search in resources</string> + <string>Search in interfaces</string> </property> <property name="text"> - <string>&Resources</string> + <string>&Interfaces</string> </property> </widget> </item> @@ -168,118 +168,57 @@ </widget> </item> <item row="1" column="1"> - <widget class="QCheckBox" name="interfacesCheckBox"> + <widget class="QCheckBox" name="protocolsCheckBox"> <property name="toolTip"> - <string>Search in interfaces</string> + <string>Search in protocols</string> </property> <property name="text"> - <string>&Interfaces</string> + <string>&Protocols</string> </property> </widget> </item> - <item row="2" column="0" colspan="2"> + <item row="2" column="0"> + <widget class="QCheckBox" name="resourcesCheckBox"> + <property name="toolTip"> + <string>Search in resources</string> + </property> + <property name="text"> + <string>&Resources</string> + </property> + </widget> + </item> + <item row="3" column="0" colspan="2"> <widget class="Line" name="line"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> - <item row="3" column="0"> - <widget class="QCheckBox" name="filterCheckBox"> - <property name="toolTip"> - <string>Select to filter the files by a given filename pattern</string> - </property> - <property name="text"> - <string>Fi&lter</string> - </property> - </widget> - </item> - <item row="3" column="1"> - <widget class="QLineEdit" name="filterEdit"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="toolTip"> - <string>Enter the filename wildcards separated by ';'</string> - </property> - </widget> - </item> - </layout> - </widget> - </item> - <item> - <widget class="QGroupBox" name="groupBox_2"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="title"> - <string>Find in</string> - </property> - <layout class="QVBoxLayout" name="verticalLayout_2"> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item row="4" column="0" colspan="2"> + <layout class="QHBoxLayout" name="horizontalLayout"> <item> - <widget class="QRadioButton" name="projectButton"> + <widget class="QCheckBox" name="filterCheckBox"> <property name="toolTip"> - <string>Search in files of the current project</string> + <string>Select to filter the files by a given filename pattern</string> </property> <property name="text"> - <string>&Project</string> - </property> - <property name="checked"> - <bool>true</bool> + <string>Fi&lter</string> </property> </widget> </item> <item> - <widget class="QRadioButton" name="dirButton"> - <property name="toolTip"> - <string>Search in files of a directory tree to be entered below</string> - </property> - <property name="text"> - <string>&Directory tree</string> + <widget class="QLineEdit" name="filterEdit"> + <property name="enabled"> + <bool>false</bool> </property> - </widget> - </item> - </layout> - </item> - <item> - <widget class="E5ComboPathPicker" name="dirPicker" native="true"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="focusPolicy"> - <enum>Qt::WheelFocus</enum> - </property> - <property name="toolTip"> - <string>Enter the directory to search in</string> - </property> - </widget> - </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_5"> - <item> - <widget class="QRadioButton" name="openFilesButton"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="toolTip"> - <string>Search in open files only </string> - </property> - <property name="text"> - <string>&Open files only</string> + <string>Enter the filename wildcards separated by ';'</string> </property> </widget> </item> @@ -288,6 +227,98 @@ </layout> </widget> </item> + <item> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="QGroupBox" name="groupBox_2"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="title"> + <string>Find in</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <widget class="QRadioButton" name="projectButton"> + <property name="toolTip"> + <string>Search in files of the current project</string> + </property> + <property name="text"> + <string>&Project</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="dirButton"> + <property name="toolTip"> + <string>Search in files of a directory tree to be entered below</string> + </property> + <property name="text"> + <string>&Directory tree</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="E5ComboPathPicker" name="dirPicker" native="true"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="focusPolicy"> + <enum>Qt::WheelFocus</enum> + </property> + <property name="toolTip"> + <string>Enter the directory to search in</string> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_5"> + <item> + <widget class="QRadioButton" name="openFilesButton"> + <property name="toolTip"> + <string>Search in open files only </string> + </property> + <property name="text"> + <string>&Open files only</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + </item> + <item> + <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> + </layout> + </item> </layout> </item> <item> @@ -394,6 +425,7 @@ <tabstop>formsCheckBox</tabstop> <tabstop>resourcesCheckBox</tabstop> <tabstop>interfacesCheckBox</tabstop> + <tabstop>protocolsCheckBox</tabstop> <tabstop>filterCheckBox</tabstop> <tabstop>filterEdit</tabstop> <tabstop>projectButton</tabstop>