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.
170 lines
6.2 KiB
170 lines
6.2 KiB
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
|
|
<class>GotoLineDialog</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>
|
|
<include location="local" impldecl="in implementation">../interfaces/editorinterface.h</include>
|
|
<include location="local" implDecl="in declaration">gotolinedialog.ui.h</include>
|
|
<forward>struct EditorInterface;</forward>
|
|
<variable>EditorInterface *editor;</variable>
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
<widget class="QDialog">
|
|
<property name="name">
|
|
<cstring>GotoLineDialog</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>243</width>
|
|
<height>85</height>
|
|
</rect>
|
|
</property>
|
|
<property name="caption">
|
|
<string>Goto Line</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="QLabel" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>TextLabel1</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Line:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>spinLine</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSpinBox" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>spinLine</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>7</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
</sizepolicy>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLayoutWidget" row="2" 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>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>Spacer2</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="QPushButton">
|
|
<property name="name">
|
|
<cstring>PushButton2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Goto</string>
|
|
</property>
|
|
<property name="default">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton">
|
|
<property name="name">
|
|
<cstring>PushButton1</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Close</string>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
<spacer row="1" column="1">
|
|
<property name="name">
|
|
<cstring>Spacer3</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Vertical</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</grid>
|
|
</widget>
|
|
<connections>
|
|
<connection language="C++">
|
|
<sender>PushButton1</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>GotoLineDialog</receiver>
|
|
<slot>reject()</slot>
|
|
</connection>
|
|
<connection language="C++">
|
|
<sender>PushButton2</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>GotoLineDialog</receiver>
|
|
<slot>gotoLine()</slot>
|
|
</connection>
|
|
<slot access="protected" language="C++" returnType="void">init()</slot>
|
|
<slot access="protected" language="C++" returnType="void">destroy()</slot>
|
|
<slot access="public" language="C++" returnType="void">gotoLine()</slot>
|
|
<slot access="public" language="C++" returnType="void">setEditor( EditorInterface * e )</slot>
|
|
</connections>
|
|
</UI>
|