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.
319 lines
12 KiB
319 lines
12 KiB
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
|
|
<class>ReplaceDialog</class>
|
|
<comment>*********************************************************************
|
|
** Copyright (C) 2001 Trolltech AS. All rights reserved.
|
|
**
|
|
** This file is part of Qt Designer.
|
|
**
|
|
** This file may be distributed and/or modified under the terms of the
|
|
** GNU General Public License version 2 as published by the Free Software
|
|
** Foundation and appearing in the file LICENSE.GPL included in the
|
|
** packaging of this file.
|
|
**
|
|
** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
|
|
** licenses may use this file in accordance with the Qt Commercial License
|
|
** Agreement provided with the Software.
|
|
**
|
|
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
|
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
|
**
|
|
** See http://www.trolltech.com/gpl/ for GPL licensing information.
|
|
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
|
|
** information about Qt Commercial License Agreements.
|
|
**
|
|
** Contact info@trolltech.com if any conditions of this licensing are
|
|
** not clear to you.
|
|
**
|
|
*********************************************************************</comment>
|
|
<widget class="TQDialog">
|
|
<property name="name">
|
|
<cstring>ReplaceDialog</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>286</width>
|
|
<height>217</height>
|
|
</rect>
|
|
</property>
|
|
<property name="caption">
|
|
<string>Replace Text</string>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>11</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>Layout3</cstring>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="TQLabel" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>TextLabel2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>R&eplace:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>comboReplace</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>TextLabel1</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Find:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>comboFind</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQComboBox" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>comboFind</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>7</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="editable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQComboBox" row="1" column="1">
|
|
<property name="name">
|
|
<cstring>comboReplace</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>7</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="editable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>Layout5</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>Spacer1</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="tqsizeHint">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="TQPushButton">
|
|
<property name="name">
|
|
<cstring>buttonReplace</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Replace</string>
|
|
</property>
|
|
<property name="default">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton">
|
|
<property name="name">
|
|
<cstring>buttonReplaceAll</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Replace &All</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton">
|
|
<property name="name">
|
|
<cstring>PushButton2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Close</string>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
<widget class="TQButtonGroup" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>ButtonGroup1</cstring>
|
|
</property>
|
|
<property name="title">
|
|
<string>Options</string>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>11</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="TQCheckBox">
|
|
<property name="name">
|
|
<cstring>checkWords</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Whole words only</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox">
|
|
<property name="name">
|
|
<cstring>checkCase</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Case &sensitive</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox">
|
|
<property name="name">
|
|
<cstring>checkBegin</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Start at &beginning</string>
|
|
</property>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
<widget class="TQButtonGroup" row="1" column="1">
|
|
<property name="name">
|
|
<cstring>ButtonGroup2</cstring>
|
|
</property>
|
|
<property name="title">
|
|
<string>Direction</string>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>11</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="TQRadioButton">
|
|
<property name="name">
|
|
<cstring>radioForward</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Forwar&d</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQRadioButton">
|
|
<property name="name">
|
|
<cstring>radioBackward</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Bac&kward</string>
|
|
</property>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonReplace</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>ReplaceDialog</receiver>
|
|
<slot>doReplace()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonReplaceAll</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>ReplaceDialog</receiver>
|
|
<slot>doReplaceAll()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>PushButton2</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>ReplaceDialog</receiver>
|
|
<slot>reject()</slot>
|
|
</connection>
|
|
</connections>
|
|
<tabstops>
|
|
<tabstop>comboFind</tabstop>
|
|
<tabstop>comboReplace</tabstop>
|
|
<tabstop>checkWords</tabstop>
|
|
<tabstop>checkCase</tabstop>
|
|
<tabstop>checkBegin</tabstop>
|
|
<tabstop>radioForward</tabstop>
|
|
<tabstop>radioBackward</tabstop>
|
|
<tabstop>buttonReplace</tabstop>
|
|
<tabstop>buttonReplaceAll</tabstop>
|
|
<tabstop>PushButton2</tabstop>
|
|
</tabstops>
|
|
<includes>
|
|
<include location="local" impldecl="in implementation">../interfaces/editorinterface.h</include>
|
|
<include location="global" impldecl="in implementation">tqlineedit.h</include>
|
|
<include location="local" impldecl="in implementation">replacedialog.ui.h</include>
|
|
</includes>
|
|
<forwards>
|
|
<forward>struct EditorInterface;</forward>
|
|
</forwards>
|
|
<variables>
|
|
<variable>EditorInterface *editor;</variable>
|
|
<variable>TQObject *formWindow;</variable>
|
|
</variables>
|
|
<Q_SLOTS>
|
|
<slot>init()</slot>
|
|
<slot>destroy()</slot>
|
|
<slot>doReplace()</slot>
|
|
<slot>doReplaceAll()</slot>
|
|
<slot>setEditor( EditorInterface * e, TQObject * fw )</slot>
|
|
</Q_SLOTS>
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
</UI>
|