2022-11-11 21:20:57 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>SearchInFileDialog</class>
|
|
|
|
<widget class="QDialog" name="SearchInFileDialog">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>684</width>
|
|
|
|
<height>548</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
2022-11-14 11:56:38 +08:00
|
|
|
<string>Search in Files</string>
|
2022-11-11 21:20:57 +08:00
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="dialogLayout">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>2</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>2</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>2</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>2</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QFrame" name="frame">
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::StyledPanel</enum>
|
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>QFrame::Raised</enum>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="widget_2" native="true">
|
2023-07-05 19:34:17 +08:00
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2022-11-11 21:20:57 +08:00
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2023-07-05 15:02:39 +08:00
|
|
|
<item row="1" column="1" colspan="2">
|
|
|
|
<widget class="QLineEdit" name="txtFilters">
|
|
|
|
<property name="text">
|
|
|
|
<string>*.*</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2022-11-11 21:20:57 +08:00
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="lblFind">
|
2023-07-05 19:34:17 +08:00
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2022-11-11 21:20:57 +08:00
|
|
|
<property name="text">
|
|
|
|
<string>Text to Find:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2023-07-05 15:02:39 +08:00
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QLabel" name="lblFilters">
|
|
|
|
<property name="text">
|
|
|
|
<string>Filters:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="2">
|
|
|
|
<widget class="QToolButton" name="btnChangeFolder">
|
|
|
|
<property name="text">
|
|
|
|
<string>...</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1" colspan="2">
|
2022-11-11 21:20:57 +08:00
|
|
|
<widget class="QComboBox" name="cbFind">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="editable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="insertPolicy">
|
|
|
|
<enum>QComboBox::InsertAtTop</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2023-07-05 15:02:39 +08:00
|
|
|
<item row="2" column="1">
|
|
|
|
<widget class="QLineEdit" name="txtFolder"/>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="0">
|
|
|
|
<widget class="QLabel" name="lblFolder">
|
|
|
|
<property name="text">
|
|
|
|
<string>Folder:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="0" colspan="3">
|
|
|
|
<widget class="QCheckBox" name="cbSearchSubFolders">
|
|
|
|
<property name="text">
|
|
|
|
<string>Search in subfolders</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2022-11-11 21:20:57 +08:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="widget_3" native="true">
|
|
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QWidget" name="widget_4" native="true">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>7</number>
|
|
|
|
</property>
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="grpWhere">
|
|
|
|
<property name="title">
|
|
|
|
<string>Where:</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
|
|
<item>
|
|
|
|
<widget class="QRadioButton" name="rbCurrentFile">
|
|
|
|
<property name="text">
|
|
|
|
<string>Current File</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QRadioButton" name="rbProject">
|
|
|
|
<property name="text">
|
|
|
|
<string>Files In Project</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QRadioButton" name="rbOpenFiles">
|
|
|
|
<property name="text">
|
|
|
|
<string>Open Files</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2023-07-05 15:02:39 +08:00
|
|
|
<item>
|
|
|
|
<widget class="QRadioButton" name="rbFolder">
|
|
|
|
<property name="text">
|
|
|
|
<string>Folder</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2022-11-11 21:20:57 +08:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QGroupBox" name="grpOptions">
|
|
|
|
<property name="title">
|
|
|
|
<string>Options:</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QCheckBox" name="chkWholeWord">
|
|
|
|
<property name="text">
|
|
|
|
<string>Whole words only</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QCheckBox" name="chkCaseSensetive">
|
|
|
|
<property name="text">
|
|
|
|
<string>Case Sensitive</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="0">
|
|
|
|
<widget class="QWidget" name="widget_31" native="true">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="0">
|
|
|
|
<widget class="QCheckBox" name="chkRegExp">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Regular Expression</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="1">
|
|
|
|
<widget class="QLabel" name="txtRegExpHelp">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true"><html><head/><body><p><a href="https://docs.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-language-quick-reference"><span style=" text-decoration: underline; color:#0000ff;">(?)</span></a></p></body></html></string>
|
|
|
|
</property>
|
|
|
|
<property name="openExternalLinks">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</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>134</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="widget" native="true">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>455</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btnExecute">
|
|
|
|
<property name="text">
|
2024-03-25 18:58:48 +08:00
|
|
|
<string>&Find</string>
|
|
|
|
</property>
|
|
|
|
<property name="autoDefault">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="default">
|
|
|
|
<bool>true</bool>
|
2022-11-11 21:20:57 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btnReplace">
|
|
|
|
<property name="text">
|
2024-03-25 18:58:48 +08:00
|
|
|
<string>&Replace</string>
|
|
|
|
</property>
|
|
|
|
<property name="autoDefault">
|
|
|
|
<bool>false</bool>
|
2022-11-11 21:20:57 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="btnCancel">
|
|
|
|
<property name="text">
|
2024-03-25 18:58:48 +08:00
|
|
|
<string>&Cancel</string>
|
|
|
|
</property>
|
|
|
|
<property name="autoDefault">
|
|
|
|
<bool>false</bool>
|
2022-11-11 21:20:57 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2024-03-25 18:58:48 +08:00
|
|
|
<tabstops>
|
|
|
|
<tabstop>btnExecute</tabstop>
|
|
|
|
<tabstop>btnReplace</tabstop>
|
|
|
|
<tabstop>btnCancel</tabstop>
|
|
|
|
<tabstop>cbFind</tabstop>
|
|
|
|
<tabstop>txtFilters</tabstop>
|
|
|
|
<tabstop>txtFolder</tabstop>
|
|
|
|
<tabstop>btnChangeFolder</tabstop>
|
|
|
|
<tabstop>cbSearchSubFolders</tabstop>
|
|
|
|
<tabstop>chkCaseSensetive</tabstop>
|
|
|
|
<tabstop>chkWholeWord</tabstop>
|
|
|
|
<tabstop>chkRegExp</tabstop>
|
|
|
|
<tabstop>rbCurrentFile</tabstop>
|
|
|
|
<tabstop>rbProject</tabstop>
|
|
|
|
<tabstop>rbOpenFiles</tabstop>
|
|
|
|
<tabstop>rbFolder</tabstop>
|
|
|
|
</tabstops>
|
2022-11-11 21:20:57 +08:00
|
|
|
<resources/>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|