|
1 <!DOCTYPE UI><UI version="3.0" stdsetdef="1"> |
|
2 <class>GotoLineDialog</class> |
|
3 <comment>********************************************************************* |
|
4 ** |
|
5 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
6 ** All rights reserved. |
|
7 ** Contact: Nokia Corporation (qt-info@nokia.com) |
|
8 ** |
|
9 ** This file is part of the test suite of the Qt Toolkit. |
|
10 ** |
|
11 ** $QT_BEGIN_LICENSE:LGPL$ |
|
12 ** No Commercial Usage |
|
13 ** This file contains pre-release code and may not be distributed. |
|
14 ** You may use this file in accordance with the terms and conditions |
|
15 ** contained in the Technology Preview License Agreement accompanying |
|
16 ** this package. |
|
17 ** |
|
18 ** GNU Lesser General Public License Usage |
|
19 ** Alternatively, this file may be used under the terms of the GNU Lesser |
|
20 ** General Public License version 2.1 as published by the Free Software |
|
21 ** Foundation and appearing in the file LICENSE.LGPL included in the |
|
22 ** packaging of this file. Please review the following information to |
|
23 ** ensure the GNU Lesser General Public License version 2.1 requirements |
|
24 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
|
25 ** |
|
26 ** In addition, as a special exception, Nokia gives you certain additional |
|
27 ** rights. These rights are described in the Nokia Qt LGPL Exception |
|
28 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
|
29 ** |
|
30 ** If you have questions regarding the use of this file, please contact |
|
31 ** Nokia at qt-info@nokia.com. |
|
32 ** |
|
33 ** |
|
34 ** |
|
35 ** |
|
36 ** |
|
37 ** |
|
38 ** |
|
39 ** |
|
40 ** $QT_END_LICENSE$ |
|
41 ** |
|
42 *********************************************************************</comment> |
|
43 <include location="local" impldecl="in implementation">../interfaces/editorinterface.h</include> |
|
44 <include location="local" implDecl="in declaration">gotolinedialog.ui.h</include> |
|
45 <forward>struct EditorInterface;</forward> |
|
46 <variable>EditorInterface *editor;</variable> |
|
47 <layoutdefaults spacing="6" margin="11"/> |
|
48 <widget class="QDialog"> |
|
49 <property name="name"> |
|
50 <cstring>GotoLineDialog</cstring> |
|
51 </property> |
|
52 <property name="geometry"> |
|
53 <rect> |
|
54 <x>0</x> |
|
55 <y>0</y> |
|
56 <width>243</width> |
|
57 <height>85</height> |
|
58 </rect> |
|
59 </property> |
|
60 <property name="caption"> |
|
61 <string>Goto Line</string> |
|
62 </property> |
|
63 <grid> |
|
64 <property name="name"> |
|
65 <cstring>unnamed</cstring> |
|
66 </property> |
|
67 <property name="margin"> |
|
68 <number>11</number> |
|
69 </property> |
|
70 <property name="spacing"> |
|
71 <number>6</number> |
|
72 </property> |
|
73 <widget class="QLabel" row="0" column="0"> |
|
74 <property name="name"> |
|
75 <cstring>TextLabel1</cstring> |
|
76 </property> |
|
77 <property name="text"> |
|
78 <string>&Line:</string> |
|
79 </property> |
|
80 <property name="buddy" stdset="0"> |
|
81 <cstring>spinLine</cstring> |
|
82 </property> |
|
83 </widget> |
|
84 <widget class="QSpinBox" row="0" column="1"> |
|
85 <property name="name"> |
|
86 <cstring>spinLine</cstring> |
|
87 </property> |
|
88 <property name="sizePolicy"> |
|
89 <sizepolicy> |
|
90 <hsizetype>7</hsizetype> |
|
91 <vsizetype>0</vsizetype> |
|
92 </sizepolicy> |
|
93 </property> |
|
94 </widget> |
|
95 <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="2"> |
|
96 <property name="name"> |
|
97 <cstring>Layout1</cstring> |
|
98 </property> |
|
99 <hbox> |
|
100 <property name="name"> |
|
101 <cstring>unnamed</cstring> |
|
102 </property> |
|
103 <property name="margin"> |
|
104 <number>0</number> |
|
105 </property> |
|
106 <property name="spacing"> |
|
107 <number>6</number> |
|
108 </property> |
|
109 <spacer> |
|
110 <property name="name"> |
|
111 <cstring>Spacer2</cstring> |
|
112 </property> |
|
113 <property name="orientation"> |
|
114 <enum>Horizontal</enum> |
|
115 </property> |
|
116 <property name="sizeType"> |
|
117 <enum>Expanding</enum> |
|
118 </property> |
|
119 <property name="sizeHint"> |
|
120 <size> |
|
121 <width>20</width> |
|
122 <height>20</height> |
|
123 </size> |
|
124 </property> |
|
125 </spacer> |
|
126 <widget class="QPushButton"> |
|
127 <property name="name"> |
|
128 <cstring>PushButton2</cstring> |
|
129 </property> |
|
130 <property name="text"> |
|
131 <string>&Goto</string> |
|
132 </property> |
|
133 <property name="default"> |
|
134 <bool>true</bool> |
|
135 </property> |
|
136 </widget> |
|
137 <widget class="QPushButton"> |
|
138 <property name="name"> |
|
139 <cstring>PushButton1</cstring> |
|
140 </property> |
|
141 <property name="text"> |
|
142 <string>&Close</string> |
|
143 </property> |
|
144 </widget> |
|
145 </hbox> |
|
146 </widget> |
|
147 <spacer row="1" column="1"> |
|
148 <property name="name"> |
|
149 <cstring>Spacer3</cstring> |
|
150 </property> |
|
151 <property name="orientation"> |
|
152 <enum>Vertical</enum> |
|
153 </property> |
|
154 <property name="sizeType"> |
|
155 <enum>Expanding</enum> |
|
156 </property> |
|
157 <property name="sizeHint"> |
|
158 <size> |
|
159 <width>20</width> |
|
160 <height>20</height> |
|
161 </size> |
|
162 </property> |
|
163 </spacer> |
|
164 </grid> |
|
165 </widget> |
|
166 <connections> |
|
167 <connection language="C++"> |
|
168 <sender>PushButton1</sender> |
|
169 <signal>clicked()</signal> |
|
170 <receiver>GotoLineDialog</receiver> |
|
171 <slot>reject()</slot> |
|
172 </connection> |
|
173 <connection language="C++"> |
|
174 <sender>PushButton2</sender> |
|
175 <signal>clicked()</signal> |
|
176 <receiver>GotoLineDialog</receiver> |
|
177 <slot>gotoLine()</slot> |
|
178 </connection> |
|
179 <slot access="protected" language="C++" returnType="void">init()</slot> |
|
180 <slot access="protected" language="C++" returnType="void">destroy()</slot> |
|
181 <slot access="public" language="C++" returnType="void">gotoLine()</slot> |
|
182 <slot access="public" language="C++" returnType="void">setEditor( EditorInterface * e )</slot> |
|
183 </connections> |
|
184 </UI> |