|
|
|
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
|
|
|
<class>FindDialog</class>
|
|
|
|
<comment>*********************************************************************
|
|
|
|
** Copyright (C) 2000-2008 Trolltech ASA. All rights reserved.
|
|
|
|
**
|
|
|
|
** This file is part of TQt Assistant.
|
|
|
|
**
|
|
|
|
** This file may be used under the terms of the GNU General
|
|
|
|
** Public License versions 2.0 or 3.0 as published by the Free
|
|
|
|
** Software Foundation and appearing in the files LICENSE.GPL2
|
|
|
|
** and LICENSE.GPL3 included in the packaging of this file.
|
|
|
|
** Alternatively you may (at your option) use any later version
|
|
|
|
** of the GNU General Public License if such license has been
|
|
|
|
** publicly approved by Trolltech ASA (or its successors, if any)
|
|
|
|
** and the KDE Free TQt Foundation.
|
|
|
|
**
|
|
|
|
** Please review the following information to ensure GNU General
|
|
|
|
** Public Licensing requirements will be met:
|
|
|
|
** http://trolltech.com/products/qt/licenses/licensing/opensource/.
|
|
|
|
** If you are unsure which license is appropriate for your use, please
|
|
|
|
** review the following information:
|
|
|
|
** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
|
|
|
|
** or contact the sales department at sales@trolltech.com.
|
|
|
|
**
|
|
|
|
** Licensees holding valid TQt Commercial licenses may use this file in
|
|
|
|
** accordance with the TQt Commercial License Agreement provided with
|
|
|
|
** the Software.
|
|
|
|
**
|
|
|
|
** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
|
|
|
|
** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
|
|
|
|
** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
|
|
|
|
** herein.
|
|
|
|
**
|
|
|
|
*********************************************************************</comment>
|
|
|
|
<widget class="TQDialog">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>FindDialog</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>362</width>
|
|
|
|
<height>156</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="caption">
|
|
|
|
<string>TQt Assistant - Find Text</string>
|
|
|
|
</property>
|
|
|
|
<vbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<widget class="TQLayoutWidget">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>Layout5</cstring>
|
|
|
|
</property>
|
|
|
|
<grid>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="margin">
|
|
|
|
<number>11</number>
|
|
|
|
</property>
|
|
|
|
<widget class="TQButtonGroup" row="1" column="1" rowspan="2" colspan="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>Fo&rward</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQRadioButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>radioBackward</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Backward</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</vbox>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="2">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>Layout1</cstring>
|
|
|
|
</property>
|
|
|
|
<hbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="spacing">
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
|
|
|
<widget class="TQLabel">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>TextLabel1</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>F&ind:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>comboFind</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQComboBox">
|
|
|
|
<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>
|
|
|
|
<property name="duplicatesEnabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</hbox>
|
|
|
|
</widget>
|
|
|
|
<spacer row="2" column="2">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>Spacer2</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>Expanding</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint">
|
|
|
|
<size>
|
|
|
|
<width>31</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
<widget class="TQPushButton" row="1" column="2">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>PushButton2</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>C&lose</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQButtonGroup" row="1" column="0" rowspan="2" colspan="1">
|
|
|
|
<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>
|
|
|
|
</vbox>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQPushButton" row="0" column="2">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>PushButton1</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Find</string>
|
|
|
|
</property>
|
|
|
|
<property name="default">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</grid>
|
|
|
|
</widget>
|
|
|
|
</vbox>
|
|
|
|
</widget>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>PushButton1</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>FindDialog</receiver>
|
|
|
|
<slot>doFind()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>PushButton2</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>FindDialog</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
<tabstops>
|
|
|
|
<tabstop>comboFind</tabstop>
|
|
|
|
<tabstop>checkWords</tabstop>
|
|
|
|
<tabstop>checkCase</tabstop>
|
|
|
|
<tabstop>radioForward</tabstop>
|
|
|
|
<tabstop>radioBackward</tabstop>
|
|
|
|
<tabstop>PushButton1</tabstop>
|
|
|
|
<tabstop>PushButton2</tabstop>
|
|
|
|
</tabstops>
|
|
|
|
<includes>
|
|
|
|
<include location="global" impldecl="in implementation">tqstatusbar.h</include>
|
|
|
|
<include location="global" impldecl="in implementation">tqtextbrowser.h</include>
|
|
|
|
<include location="local" impldecl="in implementation">mainwindow.h</include>
|
|
|
|
<include location="local" impldecl="in implementation">tabbedbrowser.h</include>
|
|
|
|
<include location="local" impldecl="in implementation">finddialog.ui.h</include>
|
|
|
|
</includes>
|
|
|
|
<forwards>
|
|
|
|
<forward>class TQTextBrowser;</forward>
|
|
|
|
<forward>class TQStatusBar;</forward>
|
|
|
|
<forward>class MainWindow;</forward>
|
|
|
|
</forwards>
|
|
|
|
<variables>
|
|
|
|
<variable>TQStatusBar *sb;</variable>
|
|
|
|
<variable>bool onceFound;</variable>
|
|
|
|
<variable>TQString findExpr;</variable>
|
|
|
|
<variable>TQTextBrowser *lastBrowser;</variable>
|
|
|
|
</variables>
|
|
|
|
<slots>
|
|
|
|
<slot access="protected">init()</slot>
|
|
|
|
<slot access="protected">destroy()</slot>
|
|
|
|
<slot>doFind()</slot>
|
|
|
|
<slot>doFind(bool)</slot>
|
|
|
|
<slot>statusMessage(const TQString &message)</slot>
|
|
|
|
</slots>
|
|
|
|
<functions>
|
|
|
|
<function specifier="non virtual" returnType="MainWindow *">mainWindow()</function>
|
|
|
|
<function specifier="non virtual" returnType="bool">hasFindExpression()</function>
|
|
|
|
</functions>
|
|
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
|
|
</UI>
|