You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
386 lines
15 KiB
386 lines
15 KiB
15 years ago
|
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
||
|
<class>ReplaceDlg</class>
|
||
|
<widget class="QDialog">
|
||
|
<property name="name">
|
||
|
<cstring>ReplaceDlg</cstring>
|
||
|
</property>
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>428</width>
|
||
|
<height>487</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy>
|
||
|
<hsizetype>5</hsizetype>
|
||
|
<vsizetype>5</vsizetype>
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>32767</width>
|
||
|
<height>32767</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="caption">
|
||
|
<string>Project Wide String Replacement</string>
|
||
|
</property>
|
||
|
<grid>
|
||
|
<property name="name">
|
||
|
<cstring>unnamed</cstring>
|
||
|
</property>
|
||
|
<widget class="QGroupBox" row="1" column="0">
|
||
|
<property name="name">
|
||
|
<cstring>groupBox2</cstring>
|
||
|
</property>
|
||
|
<property name="title">
|
||
|
<string>Options</string>
|
||
|
</property>
|
||
|
<vbox>
|
||
|
<property name="name">
|
||
|
<cstring>unnamed</cstring>
|
||
|
</property>
|
||
|
<widget class="QCheckBox">
|
||
|
<property name="name">
|
||
|
<cstring>case_box</cstring>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>C&ase sensitive</string>
|
||
|
</property>
|
||
|
<property name="checked">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QButtonGroup">
|
||
|
<property name="name">
|
||
|
<cstring>buttonGroup2</cstring>
|
||
|
</property>
|
||
|
<property name="frameShape">
|
||
|
<enum>NoFrame</enum>
|
||
|
</property>
|
||
|
<property name="title">
|
||
|
<string></string>
|
||
|
</property>
|
||
|
<vbox>
|
||
|
<property name="name">
|
||
|
<cstring>unnamed</cstring>
|
||
|
</property>
|
||
|
<property name="margin">
|
||
|
<number>0</number>
|
||
|
</property>
|
||
|
<widget class="QRadioButton">
|
||
|
<property name="name">
|
||
|
<cstring>strings_all_radio</cstring>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>All s&ubstrings</string>
|
||
|
</property>
|
||
|
<property name="checked">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QRadioButton">
|
||
|
<property name="name">
|
||
|
<cstring>strings_wholewords_radio</cstring>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Whole words onl&y</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QLayoutWidget">
|
||
|
<property name="name">
|
||
|
<cstring>layout3</cstring>
|
||
|
</property>
|
||
|
<hbox>
|
||
|
<property name="name">
|
||
|
<cstring>unnamed</cstring>
|
||
|
</property>
|
||
|
<widget class="QRadioButton">
|
||
|
<property name="name">
|
||
|
<cstring>strings_regexp_radio</cstring>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Regular e&xpression:</string>
|
||
|
</property>
|
||
|
<property name="toolTip" stdset="0">
|
||
|
<string>Use regexp to specify target</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QPushButton">
|
||
|
<property name="name">
|
||
|
<cstring>regexp_button</cstring>
|
||
|
</property>
|
||
|
<property name="enabled">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>E&dit</string>
|
||
|
</property>
|
||
|
<property name="toolTip" stdset="0">
|
||
|
<string>Opens the regexp editor. Only enabled if installed.</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</hbox>
|
||
|
</widget>
|
||
|
</vbox>
|
||
|
</widget>
|
||
|
<widget class="KHistoryCombo">
|
||
|
<property name="name">
|
||
|
<cstring>regexp_combo</cstring>
|
||
|
</property>
|
||
|
<property name="enabled">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<property name="toolTip" stdset="0">
|
||
|
<string>Enter the regexp here</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</vbox>
|
||
|
</widget>
|
||
|
<widget class="QButtonGroup" row="2" column="0">
|
||
|
<property name="name">
|
||
|
<cstring>buttonGroup1</cstring>
|
||
|
</property>
|
||
|
<property name="title">
|
||
|
<string>Target Files in Project</string>
|
||
|
</property>
|
||
|
<vbox>
|
||
|
<property name="name">
|
||
|
<cstring>unnamed</cstring>
|
||
|
</property>
|
||
|
<widget class="QRadioButton">
|
||
|
<property name="name">
|
||
|
<cstring>files_all_radio</cstring>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>A&ll files</string>
|
||
|
</property>
|
||
|
<property name="checked">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="toolTip" stdset="0">
|
||
|
<string>All files in the project will be considered.</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QRadioButton">
|
||
|
<property name="name">
|
||
|
<cstring>files_open_radio</cstring>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>&Open files only</string>
|
||
|
</property>
|
||
|
<property name="toolTip" stdset="0">
|
||
|
<string>Only open project files will be considered.</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QRadioButton">
|
||
|
<property name="name">
|
||
|
<cstring>files_path_radio</cstring>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Files under &path:</string>
|
||
|
</property>
|
||
|
<property name="toolTip" stdset="0">
|
||
|
<string>Only project files in this dir and its subdirs will be considered.</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="KURLRequester">
|
||
|
<property name="name">
|
||
|
<cstring>path_urlreq</cstring>
|
||
|
</property>
|
||
|
<property name="enabled">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</vbox>
|
||
|
</widget>
|
||
|
<widget class="QLayoutWidget" row="3" column="0">
|
||
|
<property name="name">
|
||
|
<cstring>layout4</cstring>
|
||
|
</property>
|
||
|
<hbox>
|
||
|
<property name="name">
|
||
|
<cstring>unnamed</cstring>
|
||
|
</property>
|
||
|
<widget class="QLabel">
|
||
|
<property name="name">
|
||
|
<cstring>expression_varning_label</cstring>
|
||
|
</property>
|
||
|
<property name="font">
|
||
|
<font>
|
||
|
<bold>1</bold>
|
||
|
</font>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Expression is invalid.</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<spacer>
|
||
|
<property name="name">
|
||
|
<cstring>spacer1</cstring>
|
||
|
</property>
|
||
|
<property name="orientation">
|
||
|
<enum>Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeType">
|
||
|
<enum>Expanding</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
<widget class="QPushButton">
|
||
|
<property name="name">
|
||
|
<cstring>find_button</cstring>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Fi&nd</string>
|
||
|
</property>
|
||
|
<property name="default">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="toolTip" stdset="0">
|
||
|
<string>Start looking for possible replacement targets.</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QPushButton">
|
||
|
<property name="name">
|
||
|
<cstring>cancel_button</cstring>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>&Cancel</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</hbox>
|
||
|
</widget>
|
||
|
<widget class="QGroupBox" row="0" column="0">
|
||
|
<property name="name">
|
||
|
<cstring>groupBox1</cstring>
|
||
|
</property>
|
||
|
<property name="title">
|
||
|
<string>Strings</string>
|
||
|
</property>
|
||
|
<grid>
|
||
|
<property name="name">
|
||
|
<cstring>unnamed</cstring>
|
||
|
</property>
|
||
|
<widget class="QLabel" row="0" column="0">
|
||
|
<property name="name">
|
||
|
<cstring>textLabel1</cstring>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>&Text to find:</string>
|
||
|
</property>
|
||
|
<property name="buddy" stdset="0">
|
||
|
<cstring>find_combo</cstring>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="KHistoryCombo" row="1" column="0">
|
||
|
<property name="name">
|
||
|
<cstring>find_combo</cstring>
|
||
|
</property>
|
||
|
<property name="toolTip" stdset="0">
|
||
|
<string>Target string</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="QLabel" row="2" column="0">
|
||
|
<property name="name">
|
||
|
<cstring>textLabel2</cstring>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>&Replacement text:</string>
|
||
|
</property>
|
||
|
<property name="buddy" stdset="0">
|
||
|
<cstring>replacement_combo</cstring>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<widget class="KHistoryCombo" row="3" column="0">
|
||
|
<property name="name">
|
||
|
<cstring>replacement_combo</cstring>
|
||
|
</property>
|
||
|
<property name="toolTip" stdset="0">
|
||
|
<string>The replacement string</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</grid>
|
||
|
</widget>
|
||
|
</grid>
|
||
|
</widget>
|
||
|
<connections>
|
||
|
<connection>
|
||
|
<sender>cancel_button</sender>
|
||
|
<signal>clicked()</signal>
|
||
|
<receiver>ReplaceDlg</receiver>
|
||
|
<slot>reject()</slot>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>find_button</sender>
|
||
|
<signal>clicked()</signal>
|
||
|
<receiver>ReplaceDlg</receiver>
|
||
|
<slot>accept()</slot>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>strings_regexp_radio</sender>
|
||
|
<signal>toggled(bool)</signal>
|
||
|
<receiver>regexp_button</receiver>
|
||
|
<slot>setEnabled(bool)</slot>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>files_path_radio</sender>
|
||
|
<signal>toggled(bool)</signal>
|
||
|
<receiver>path_urlreq</receiver>
|
||
|
<slot>setEnabled(bool)</slot>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>strings_regexp_radio</sender>
|
||
|
<signal>toggled(bool)</signal>
|
||
|
<receiver>find_combo</receiver>
|
||
|
<slot>setDisabled(bool)</slot>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>strings_regexp_radio</sender>
|
||
|
<signal>toggled(bool)</signal>
|
||
|
<receiver>regexp_combo</receiver>
|
||
|
<slot>setEnabled(bool)</slot>
|
||
|
</connection>
|
||
|
</connections>
|
||
|
<tabstops>
|
||
|
<tabstop>find_combo</tabstop>
|
||
|
<tabstop>replacement_combo</tabstop>
|
||
|
<tabstop>case_box</tabstop>
|
||
|
<tabstop>strings_all_radio</tabstop>
|
||
|
<tabstop>strings_regexp_radio</tabstop>
|
||
|
<tabstop>regexp_button</tabstop>
|
||
|
<tabstop>regexp_combo</tabstop>
|
||
|
<tabstop>files_all_radio</tabstop>
|
||
|
<tabstop>path_urlreq</tabstop>
|
||
|
<tabstop>find_button</tabstop>
|
||
|
<tabstop>cancel_button</tabstop>
|
||
|
<tabstop>strings_wholewords_radio</tabstop>
|
||
|
<tabstop>files_path_radio</tabstop>
|
||
|
</tabstops>
|
||
|
<includes>
|
||
|
<include location="global" impldecl="in implementation">kdialog.h</include>
|
||
|
</includes>
|
||
|
<layoutdefaults spacing="6" margin="11"/>
|
||
|
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
|
||
|
<includehints>
|
||
|
<includehint>kcombobox.h</includehint>
|
||
|
<includehint>klineedit.h</includehint>
|
||
|
<includehint>kurlrequester.h</includehint>
|
||
|
<includehint>klineedit.h</includehint>
|
||
|
<includehint>kpushbutton.h</includehint>
|
||
|
<includehint>kcombobox.h</includehint>
|
||
|
<includehint>klineedit.h</includehint>
|
||
|
<includehint>kcombobox.h</includehint>
|
||
|
<includehint>klineedit.h</includehint>
|
||
|
</includehints>
|
||
|
</UI>
|