src/eric7/UI/FindFileWidget.ui

branch
eric7
changeset 9517
d73c3a1e432b
parent 9413
80c06d472826
child 9884
5b9453e4c8dd
diff -r 0f023e61a9b5 -r d73c3a1e432b src/eric7/UI/FindFileWidget.ui
--- a/src/eric7/UI/FindFileWidget.ui	Wed Nov 16 18:11:52 2022 +0100
+++ b/src/eric7/UI/FindFileWidget.ui	Thu Nov 17 18:11:42 2022 +0100
@@ -151,6 +151,12 @@
    </item>
    <item>
     <widget class="QTabWidget" name="fileOptionsWidget">
+     <property name="sizePolicy">
+      <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
+       <horstretch>0</horstretch>
+       <verstretch>1</verstretch>
+      </sizepolicy>
+     </property>
      <property name="currentIndex">
       <number>0</number>
      </property>
@@ -158,68 +164,37 @@
       <attribute name="title">
        <string>File Type</string>
       </attribute>
-      <layout class="QGridLayout" name="gridLayout_4">
-       <item row="0" column="0">
-        <widget class="QCheckBox" name="sourcesCheckBox">
+      <layout class="QVBoxLayout" name="verticalLayout_3">
+       <item>
+        <widget class="QListWidget" name="fileTypeList">
+         <property name="minimumSize">
+          <size>
+           <width>0</width>
+           <height>125</height>
+          </size>
+         </property>
          <property name="toolTip">
-          <string>Search in source files</string>
+          <string>Select the file types to search in</string>
+         </property>
+         <property name="alternatingRowColors">
+          <bool>true</bool>
          </property>
-         <property name="text">
-          <string>&amp;Sources</string>
+         <property name="selectionMode">
+          <enum>QAbstractItemView::NoSelection</enum>
          </property>
-         <property name="checked">
+         <property name="sortingEnabled">
           <bool>true</bool>
          </property>
         </widget>
        </item>
-       <item row="0" column="1">
-        <widget class="QCheckBox" name="interfacesCheckBox">
-         <property name="toolTip">
-          <string>Search in interfaces</string>
-         </property>
-         <property name="text">
-          <string>&amp;Interfaces</string>
-         </property>
-        </widget>
-       </item>
-       <item row="1" column="0">
-        <widget class="QCheckBox" name="formsCheckBox">
-         <property name="toolTip">
-          <string>Search in forms</string>
-         </property>
-         <property name="text">
-          <string>&amp;Forms</string>
-         </property>
-        </widget>
-       </item>
-       <item row="1" column="1">
-        <widget class="QCheckBox" name="protocolsCheckBox">
-         <property name="toolTip">
-          <string>Search in protocols</string>
-         </property>
-         <property name="text">
-          <string>&amp;Protocols</string>
-         </property>
-        </widget>
-       </item>
-       <item row="2" column="0">
-        <widget class="QCheckBox" name="resourcesCheckBox">
-         <property name="toolTip">
-          <string>Search in resources</string>
-         </property>
-         <property name="text">
-          <string>&amp;Resources</string>
-         </property>
-        </widget>
-       </item>
-       <item row="3" column="0" colspan="2">
+       <item>
         <widget class="Line" name="line">
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
         </widget>
        </item>
-       <item row="4" column="0" colspan="2">
+       <item>
         <layout class="QHBoxLayout" name="horizontalLayout">
          <item>
           <widget class="QCheckBox" name="filterCheckBox">
@@ -503,11 +478,7 @@
   <tabstop>wordToolButton</tabstop>
   <tabstop>regexpToolButton</tabstop>
   <tabstop>fileOptionsWidget</tabstop>
-  <tabstop>sourcesCheckBox</tabstop>
-  <tabstop>formsCheckBox</tabstop>
-  <tabstop>resourcesCheckBox</tabstop>
-  <tabstop>interfacesCheckBox</tabstop>
-  <tabstop>protocolsCheckBox</tabstop>
+  <tabstop>fileTypeList</tabstop>
   <tabstop>filterCheckBox</tabstop>
   <tabstop>filterEdit</tabstop>
   <tabstop>projectButton</tabstop>

eric ide

mercurial