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.
tdevelop/parts/replace/replacedlg.ui

377 lines
15 KiB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>ReplaceDlg</class>
<widget class="TQDialog">
<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="TQGroupBox" 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="TQCheckBox">
<property name="name">
<cstring>case_box</cstring>
</property>
<property name="text">
<string>C&amp;ase sensitive</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="TQButtonGroup">
<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="TQRadioButton">
<property name="name">
<cstring>strings_all_radio</cstring>
</property>
<property name="text">
<string>All s&amp;ubstrings</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>strings_wholewords_radio</cstring>
</property>
<property name="text">
<string>Whole words onl&amp;y</string>
</property>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQRadioButton">
<property name="name">
<cstring>strings_regexp_radio</cstring>
</property>
<property name="text">
<string>Regular e&amp;xpression:</string>
</property>
<property name="toolTip" stdset="0">
<string>Use regexp to specify target</string>
</property>
</widget>
<widget class="TQPushButton">
<property name="name">
<cstring>regexp_button</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>E&amp;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="TQButtonGroup" 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="TQRadioButton">
<property name="name">
<cstring>files_all_radio</cstring>
</property>
<property name="text">
<string>A&amp;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="TQRadioButton">
<property name="name">
<cstring>files_open_radio</cstring>
</property>
<property name="text">
<string>&amp;Open files only</string>
</property>
<property name="toolTip" stdset="0">
<string>Only open project files will be considered.</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>files_path_radio</cstring>
</property>
<property name="text">
<string>Files under &amp;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="TQLayoutWidget" row="3" column="0">
<property name="name">
<cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<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="TQPushButton">
<property name="name">
<cstring>find_button</cstring>
</property>
<property name="text">
<string>Fi&amp;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="TQPushButton">
<property name="name">
<cstring>cancel_button</cstring>
</property>
<property name="text">
<string>&amp;Cancel</string>
</property>
</widget>
</hbox>
</widget>
<widget class="TQGroupBox" 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="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>&amp;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="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>&amp;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>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
<include location="global" impldecl="in implementation">kcombobox.h</include>
<include location="global" impldecl="in implementation">kdialog.h</include>
<include location="global" impldecl="in implementation">kurlrequester.h</include>
</includes>
</UI>