src/eric7/UI/FindFileWidget.ui

Thu, 11 Jul 2024 14:21:34 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 11 Jul 2024 14:21:34 +0200
branch
eric7
changeset 10840
c8045d0dbaa7
parent 10492
53eac4c7d10b
child 11052
316be9cd43bc
permissions
-rw-r--r--

MicroPython
- Updated the list of known CircuitPython boards for CPy 9.1.0.
- Updated the list of known UF2 capable boards.

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>FindFileWidget</class>
 <widget class="QWidget" name="FindFileWidget">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>600</width>
    <height>800</height>
   </rect>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <item>
    <layout class="QGridLayout" name="gridLayout_3">
     <item row="0" column="0">
      <widget class="QLabel" name="TextLabel1">
       <property name="text">
        <string>Find &amp;text:</string>
       </property>
       <property name="buddy">
        <cstring>findtextCombo</cstring>
       </property>
      </widget>
     </item>
     <item row="0" column="1">
      <widget class="QComboBox" name="findtextCombo">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="toolTip">
        <string>Enter the search text or regular expression</string>
       </property>
       <property name="editable">
        <bool>true</bool>
       </property>
       <property name="insertPolicy">
        <enum>QComboBox::InsertAtTop</enum>
       </property>
       <property name="sizeAdjustPolicy">
        <enum>QComboBox::AdjustToMinimumContentsLengthWithIcon</enum>
       </property>
       <property name="duplicatesEnabled">
        <bool>false</bool>
       </property>
      </widget>
     </item>
     <item row="0" column="2">
      <widget class="QToolButton" name="modeToggleButton">
       <property name="toolTip">
        <string>Press to toggle the mode between find and replace mode</string>
       </property>
      </widget>
     </item>
     <item row="1" column="0">
      <widget class="QLabel" name="replaceLabel">
       <property name="text">
        <string>Replace te&amp;xt:</string>
       </property>
       <property name="buddy">
        <cstring>findtextCombo</cstring>
       </property>
      </widget>
     </item>
     <item row="1" column="1">
      <widget class="QComboBox" name="replacetextCombo">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="toolTip">
        <string>Enter the replacement text or regular expression</string>
       </property>
       <property name="editable">
        <bool>true</bool>
       </property>
       <property name="insertPolicy">
        <enum>QComboBox::InsertAtTop</enum>
       </property>
       <property name="sizeAdjustPolicy">
        <enum>QComboBox::AdjustToMinimumContentsLengthWithIcon</enum>
       </property>
       <property name="duplicatesEnabled">
        <bool>false</bool>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout_2">
     <property name="spacing">
      <number>0</number>
     </property>
     <item>
      <spacer name="horizontalSpacer_3">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>40</width>
         <height>20</height>
        </size>
       </property>
      </spacer>
     </item>
     <item>
      <widget class="QToolButton" name="caseToolButton">
       <property name="toolTip">
        <string>Select to match case sensitive</string>
       </property>
       <property name="checkable">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QToolButton" name="wordToolButton">
       <property name="toolTip">
        <string>Select to match whole words only</string>
       </property>
       <property name="checkable">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QToolButton" name="escapeToolButton">
       <property name="toolTip">
        <string>Select if the search or replace text contains escape codes</string>
       </property>
       <property name="checkable">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QToolButton" name="regexpToolButton">
       <property name="toolTip">
        <string>Select if the searchtext is a regular expression</string>
       </property>
       <property name="checkable">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item>
      <spacer name="horizontalSpacer_4">
       <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>
    <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>
     <widget class="QWidget" name="fileTypeTab">
      <attribute name="title">
       <string>File Type</string>
      </attribute>
      <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>Select the file types to search in</string>
         </property>
         <property name="alternatingRowColors">
          <bool>true</bool>
         </property>
         <property name="selectionMode">
          <enum>QAbstractItemView::NoSelection</enum>
         </property>
         <property name="sortingEnabled">
          <bool>true</bool>
         </property>
        </widget>
       </item>
       <item>
        <widget class="Line" name="line">
         <property name="orientation">
          <enum>Qt::Horizontal</enum>
         </property>
        </widget>
       </item>
       <item>
        <layout class="QHBoxLayout" name="horizontalLayout">
         <item>
          <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&amp;lter</string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QComboBox" name="filterComboBox">
           <property name="enabled">
            <bool>false</bool>
           </property>
           <property name="sizePolicy">
            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
           <property name="toolTip">
            <string>Select the file filter to apply.</string>
           </property>
          </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>
        </layout>
       </item>
      </layout>
     </widget>
     <widget class="QWidget" name="findInTab">
      <attribute name="title">
       <string>Find In</string>
      </attribute>
      <layout class="QVBoxLayout" name="verticalLayout_2">
       <item>
        <widget class="QRadioButton" name="projectButton">
         <property name="toolTip">
          <string>Search in files of the current project</string>
         </property>
         <property name="text">
          <string>&amp;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>&amp;Directory tree</string>
         </property>
        </widget>
       </item>
       <item>
        <widget class="EricComboPathPicker" 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>
        <widget class="QRadioButton" name="openFilesButton">
         <property name="toolTip">
          <string>Search in open files only </string>
         </property>
         <property name="text">
          <string>&amp;Open files only</string>
         </property>
        </widget>
       </item>
       <item>
        <spacer name="verticalSpacer">
         <property name="orientation">
          <enum>Qt::Vertical</enum>
         </property>
         <property name="sizeHint" stdset="0">
          <size>
           <width>20</width>
           <height>20</height>
          </size>
         </property>
        </spacer>
       </item>
      </layout>
     </widget>
    </widget>
   </item>
   <item>
    <widget class="QCheckBox" name="excludeHiddenCheckBox">
     <property name="toolTip">
      <string>Select to exclude hidden files and directories when searching a directory tree.</string>
     </property>
     <property name="text">
      <string>Exclude hidden</string>
     </property>
     <property name="checked">
      <bool>true</bool>
     </property>
    </widget>
   </item>
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout_3">
     <item>
      <spacer name="horizontalSpacer_2">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>40</width>
         <height>20</height>
        </size>
       </property>
      </spacer>
     </item>
     <item>
      <widget class="QPushButton" name="findButton">
       <property name="toolTip">
        <string>Press to start the search process</string>
       </property>
       <property name="text">
        <string>Search</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="stopButton">
       <property name="toolTip">
        <string>Press to stop the current search process</string>
       </property>
       <property name="text">
        <string>Stop</string>
       </property>
      </widget>
     </item>
     <item>
      <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>
    <widget class="Line" name="line_2">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
    </widget>
   </item>
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout_4">
     <item>
      <widget class="EricSqueezeLabelPath" name="findProgressLabel">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="text">
        <string/>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="clearButton">
       <property name="toolTip">
        <string>Press to clear the search results</string>
       </property>
       <property name="text">
        <string>Clear</string>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <widget class="QProgressBar" name="findProgress">
     <property name="toolTip">
      <string>Shows the progress of the search action</string>
     </property>
     <property name="value">
      <number>0</number>
     </property>
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="format">
      <string>%v/%m Files</string>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QTreeWidget" name="findList">
     <property name="sizePolicy">
      <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
       <horstretch>0</horstretch>
       <verstretch>5</verstretch>
      </sizepolicy>
     </property>
     <property name="alternatingRowColors">
      <bool>true</bool>
     </property>
     <property name="sortingEnabled">
      <bool>true</bool>
     </property>
     <property name="columnCount">
      <number>2</number>
     </property>
     <column>
      <property name="text">
       <string>File/Line</string>
      </property>
     </column>
     <column>
      <property name="text">
       <string>Text</string>
      </property>
     </column>
    </widget>
   </item>
   <item>
    <widget class="QPushButton" name="replaceButton">
     <property name="toolTip">
      <string>Press to apply the selected replacements</string>
     </property>
     <property name="text">
      <string>Replace</string>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>EricSqueezeLabelPath</class>
   <extends>QLabel</extends>
   <header>eric7/EricWidgets/EricSqueezeLabels.h</header>
  </customwidget>
  <customwidget>
   <class>EricComboPathPicker</class>
   <extends>QWidget</extends>
   <header>eric7/EricWidgets/EricPathPicker.h</header>
   <container>1</container>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>findtextCombo</tabstop>
  <tabstop>modeToggleButton</tabstop>
  <tabstop>replacetextCombo</tabstop>
  <tabstop>caseToolButton</tabstop>
  <tabstop>wordToolButton</tabstop>
  <tabstop>escapeToolButton</tabstop>
  <tabstop>regexpToolButton</tabstop>
  <tabstop>fileOptionsWidget</tabstop>
  <tabstop>fileTypeList</tabstop>
  <tabstop>filterCheckBox</tabstop>
  <tabstop>filterComboBox</tabstop>
  <tabstop>filtersConfigButton</tabstop>
  <tabstop>projectButton</tabstop>
  <tabstop>dirButton</tabstop>
  <tabstop>dirPicker</tabstop>
  <tabstop>openFilesButton</tabstop>
  <tabstop>excludeHiddenCheckBox</tabstop>
  <tabstop>findButton</tabstop>
  <tabstop>stopButton</tabstop>
  <tabstop>clearButton</tabstop>
  <tabstop>findList</tabstop>
  <tabstop>replaceButton</tabstop>
 </tabstops>
 <resources/>
 <connections>
  <connection>
   <sender>dirButton</sender>
   <signal>toggled(bool)</signal>
   <receiver>dirPicker</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>92</x>
     <y>185</y>
    </hint>
    <hint type="destinationlabel">
     <x>101</x>
     <y>209</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>filterCheckBox</sender>
   <signal>toggled(bool)</signal>
   <receiver>filterComboBox</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>35</x>
     <y>299</y>
    </hint>
    <hint type="destinationlabel">
     <x>111</x>
     <y>298</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>

eric ide

mercurial