~ubuntu-branches/ubuntu/quantal/qgis/quantal

« back to all changes in this revision

Viewing changes to src/qgsnewconnectionbase.ui

  • Committer: Bazaar Package Importer
  • Author(s): William Grant
  • Date: 2007-05-06 13:42:32 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070506134232-pyli6t388w5asd8x
Tags: 0.8.0-3ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
  - debian/rules, debian/qgis.install, debian/qgis.dirs debian/qgis.desktop:
    Add and install .desktop.
* debian/qgis.desktop: Remove Applications category; it's not real.
* Modify Maintainer value to match Debian-Maintainer-Field Spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
2
 
<class>QgsNewConnectionBase</class>
3
 
<widget class="QDialog">
4
 
    <property name="name">
5
 
        <cstring>QgsNewConnectionBase</cstring>
6
 
    </property>
7
 
    <property name="geometry">
8
 
        <rect>
9
 
            <x>0</x>
10
 
            <y>0</y>
11
 
            <width>394</width>
12
 
            <height>282</height>
13
 
        </rect>
14
 
    </property>
15
 
    <property name="caption">
16
 
        <string>Create a New PostGIS connection</string>
17
 
    </property>
18
 
    <property name="sizeGripEnabled">
19
 
        <bool>true</bool>
20
 
    </property>
21
 
    <grid>
22
 
        <property name="name">
23
 
            <cstring>unnamed</cstring>
24
 
        </property>
25
 
        <property name="margin">
26
 
            <number>11</number>
27
 
        </property>
28
 
        <property name="spacing">
29
 
            <number>6</number>
30
 
        </property>
31
 
        <widget class="QLayoutWidget" row="0" column="1">
32
 
            <property name="name">
33
 
                <cstring>Layout5</cstring>
34
 
            </property>
35
 
            <vbox>
36
 
                <property name="name">
37
 
                    <cstring>unnamed</cstring>
38
 
                </property>
39
 
                <property name="margin">
40
 
                    <number>0</number>
41
 
                </property>
42
 
                <property name="spacing">
43
 
                    <number>6</number>
44
 
                </property>
45
 
                <widget class="QPushButton">
46
 
                    <property name="name">
47
 
                        <cstring>btnOk</cstring>
48
 
                    </property>
49
 
                    <property name="text">
50
 
                        <string>OK</string>
51
 
                    </property>
52
 
                    <property name="accel">
53
 
                        <string></string>
54
 
                    </property>
55
 
                    <property name="autoDefault">
56
 
                        <bool>true</bool>
57
 
                    </property>
58
 
                    <property name="default">
59
 
                        <bool>true</bool>
60
 
                    </property>
61
 
                </widget>
62
 
                <widget class="QPushButton">
63
 
                    <property name="name">
64
 
                        <cstring>btnCancel</cstring>
65
 
                    </property>
66
 
                    <property name="text">
67
 
                        <string>Cancel</string>
68
 
                    </property>
69
 
                    <property name="accel">
70
 
                        <string></string>
71
 
                    </property>
72
 
                    <property name="autoDefault">
73
 
                        <bool>true</bool>
74
 
                    </property>
75
 
                </widget>
76
 
                <widget class="QPushButton">
77
 
                    <property name="name">
78
 
                        <cstring>btnHelp</cstring>
79
 
                    </property>
80
 
                    <property name="enabled">
81
 
                        <bool>true</bool>
82
 
                    </property>
83
 
                    <property name="text">
84
 
                        <string>Help</string>
85
 
                    </property>
86
 
                    <property name="accel">
87
 
                        <string>F1</string>
88
 
                    </property>
89
 
                    <property name="autoDefault">
90
 
                        <bool>true</bool>
91
 
                    </property>
92
 
                </widget>
93
 
                <spacer>
94
 
                    <property name="name">
95
 
                        <cstring>Spacer1</cstring>
96
 
                    </property>
97
 
                    <property name="orientation">
98
 
                        <enum>Vertical</enum>
99
 
                    </property>
100
 
                    <property name="sizeType">
101
 
                        <enum>Expanding</enum>
102
 
                    </property>
103
 
                    <property name="sizeHint">
104
 
                        <size>
105
 
                            <width>0</width>
106
 
                            <height>20</height>
107
 
                        </size>
108
 
                    </property>
109
 
                </spacer>
110
 
            </vbox>
111
 
        </widget>
112
 
        <widget class="QGroupBox" row="0" column="0">
113
 
            <property name="name">
114
 
                <cstring>GroupBox1</cstring>
115
 
            </property>
116
 
            <property name="title">
117
 
                <string>Connection Information</string>
118
 
            </property>
119
 
            <grid>
120
 
                <property name="name">
121
 
                    <cstring>unnamed</cstring>
122
 
                </property>
123
 
                <property name="margin">
124
 
                    <number>11</number>
125
 
                </property>
126
 
                <property name="spacing">
127
 
                    <number>6</number>
128
 
                </property>
129
 
                <widget class="QLayoutWidget" row="0" column="0">
130
 
                    <property name="name">
131
 
                        <cstring>layout13</cstring>
132
 
                    </property>
133
 
                    <hbox>
134
 
                        <property name="name">
135
 
                            <cstring>unnamed</cstring>
136
 
                        </property>
137
 
                        <widget class="QLayoutWidget">
138
 
                            <property name="name">
139
 
                                <cstring>layout12</cstring>
140
 
                            </property>
141
 
                            <vbox>
142
 
                                <property name="name">
143
 
                                    <cstring>unnamed</cstring>
144
 
                                </property>
145
 
                                <widget class="QLabel">
146
 
                                    <property name="name">
147
 
                                        <cstring>TextLabel1_2</cstring>
148
 
                                    </property>
149
 
                                    <property name="font">
150
 
                                        <font>
151
 
                                        </font>
152
 
                                    </property>
153
 
                                    <property name="text">
154
 
                                        <string>Name</string>
155
 
                                    </property>
156
 
                                </widget>
157
 
                                <widget class="QLabel">
158
 
                                    <property name="name">
159
 
                                        <cstring>TextLabel1</cstring>
160
 
                                    </property>
161
 
                                    <property name="font">
162
 
                                        <font>
163
 
                                        </font>
164
 
                                    </property>
165
 
                                    <property name="text">
166
 
                                        <string>Host</string>
167
 
                                    </property>
168
 
                                </widget>
169
 
                                <widget class="QLabel">
170
 
                                    <property name="name">
171
 
                                        <cstring>TextLabel2</cstring>
172
 
                                    </property>
173
 
                                    <property name="font">
174
 
                                        <font>
175
 
                                        </font>
176
 
                                    </property>
177
 
                                    <property name="text">
178
 
                                        <string>Database</string>
179
 
                                    </property>
180
 
                                </widget>
181
 
                                <widget class="QLabel">
182
 
                                    <property name="name">
183
 
                                        <cstring>TextLabel2_2</cstring>
184
 
                                    </property>
185
 
                                    <property name="font">
186
 
                                        <font>
187
 
                                        </font>
188
 
                                    </property>
189
 
                                    <property name="text">
190
 
                                        <string>Port</string>
191
 
                                    </property>
192
 
                                </widget>
193
 
                                <widget class="QLabel">
194
 
                                    <property name="name">
195
 
                                        <cstring>TextLabel3</cstring>
196
 
                                    </property>
197
 
                                    <property name="font">
198
 
                                        <font>
199
 
                                        </font>
200
 
                                    </property>
201
 
                                    <property name="text">
202
 
                                        <string>Username</string>
203
 
                                    </property>
204
 
                                </widget>
205
 
                                <widget class="QLabel">
206
 
                                    <property name="name">
207
 
                                        <cstring>TextLabel3_2</cstring>
208
 
                                    </property>
209
 
                                    <property name="font">
210
 
                                        <font>
211
 
                                        </font>
212
 
                                    </property>
213
 
                                    <property name="text">
214
 
                                        <string>Password</string>
215
 
                                    </property>
216
 
                                </widget>
217
 
                            </vbox>
218
 
                        </widget>
219
 
                        <widget class="QLayoutWidget">
220
 
                            <property name="name">
221
 
                                <cstring>layout11</cstring>
222
 
                            </property>
223
 
                            <vbox>
224
 
                                <property name="name">
225
 
                                    <cstring>unnamed</cstring>
226
 
                                </property>
227
 
                                <widget class="QLineEdit">
228
 
                                    <property name="name">
229
 
                                        <cstring>txtName</cstring>
230
 
                                    </property>
231
 
                                    <property name="toolTip" stdset="0">
232
 
                                        <string>Name of the new connection</string>
233
 
                                    </property>
234
 
                                </widget>
235
 
                                <widget class="QLineEdit">
236
 
                                    <property name="name">
237
 
                                        <cstring>txtHost</cstring>
238
 
                                    </property>
239
 
                                </widget>
240
 
                                <widget class="QLineEdit">
241
 
                                    <property name="name">
242
 
                                        <cstring>txtDatabase</cstring>
243
 
                                    </property>
244
 
                                </widget>
245
 
                                <widget class="QLineEdit">
246
 
                                    <property name="name">
247
 
                                        <cstring>txtPort</cstring>
248
 
                                    </property>
249
 
                                    <property name="text">
250
 
                                        <string>5432</string>
251
 
                                    </property>
252
 
                                </widget>
253
 
                                <widget class="QLineEdit">
254
 
                                    <property name="name">
255
 
                                        <cstring>txtUsername</cstring>
256
 
                                    </property>
257
 
                                </widget>
258
 
                                <widget class="QLineEdit">
259
 
                                    <property name="name">
260
 
                                        <cstring>txtPassword</cstring>
261
 
                                    </property>
262
 
                                    <property name="echoMode">
263
 
                                        <enum>Password</enum>
264
 
                                    </property>
265
 
                                </widget>
266
 
                            </vbox>
267
 
                        </widget>
268
 
                    </hbox>
269
 
                </widget>
270
 
                <widget class="QLayoutWidget" row="1" column="0">
271
 
                    <property name="name">
272
 
                        <cstring>layout14</cstring>
273
 
                    </property>
274
 
                    <hbox>
275
 
                        <property name="name">
276
 
                            <cstring>unnamed</cstring>
277
 
                        </property>
278
 
                        <widget class="QCheckBox">
279
 
                            <property name="name">
280
 
                                <cstring>chkStorePassword</cstring>
281
 
                            </property>
282
 
                            <property name="text">
283
 
                                <string>Save Password</string>
284
 
                            </property>
285
 
                        </widget>
286
 
                        <widget class="QPushButton">
287
 
                            <property name="name">
288
 
                                <cstring>btnConnect</cstring>
289
 
                            </property>
290
 
                            <property name="text">
291
 
                                <string>Test Connect</string>
292
 
                            </property>
293
 
                        </widget>
294
 
                    </hbox>
295
 
                </widget>
296
 
            </grid>
297
 
        </widget>
298
 
    </grid>
299
 
</widget>
300
 
<connections>
301
 
    <connection>
302
 
        <sender>btnCancel</sender>
303
 
        <signal>clicked()</signal>
304
 
        <receiver>QgsNewConnectionBase</receiver>
305
 
        <slot>reject()</slot>
306
 
    </connection>
307
 
    <connection>
308
 
        <sender>btnConnect</sender>
309
 
        <signal>clicked()</signal>
310
 
        <receiver>QgsNewConnectionBase</receiver>
311
 
        <slot>testConnection()</slot>
312
 
    </connection>
313
 
    <connection>
314
 
        <sender>btnOk</sender>
315
 
        <signal>clicked()</signal>
316
 
        <receiver>QgsNewConnectionBase</receiver>
317
 
        <slot>saveConnection()</slot>
318
 
    </connection>
319
 
    <connection>
320
 
        <sender>btnHelp</sender>
321
 
        <signal>clicked()</signal>
322
 
        <receiver>QgsNewConnectionBase</receiver>
323
 
        <slot>helpInfo()</slot>
324
 
    </connection>
325
 
</connections>
326
 
<tabstops>
327
 
    <tabstop>txtName</tabstop>
328
 
    <tabstop>txtHost</tabstop>
329
 
    <tabstop>txtDatabase</tabstop>
330
 
    <tabstop>txtUsername</tabstop>
331
 
    <tabstop>txtPassword</tabstop>
332
 
    <tabstop>chkStorePassword</tabstop>
333
 
    <tabstop>btnConnect</tabstop>
334
 
    <tabstop>btnOk</tabstop>
335
 
    <tabstop>btnCancel</tabstop>
336
 
    <tabstop>btnHelp</tabstop>
337
 
</tabstops>
338
 
<slots>
339
 
    <slot>saveConnection()</slot>
340
 
    <slot>testConnection()</slot>
341
 
    <slot>helpInfo()</slot>
342
 
</slots>
343
 
<layoutdefaults spacing="6" margin="11"/>
344
 
</UI>