1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0" stdsetdef="1">
3  <author></author>
4  <comment>*********************************************************************
5**
6** Copyright (C) 2015 The Qt Company Ltd.
7** Contact: http://www.qt.io/licensing/
8**
9** This file is part of the test suite of the Qt Toolkit.
10**
11** $QT_BEGIN_LICENSE:LGPL$
12** Commercial License Usage
13** Licensees holding valid commercial Qt licenses may use this file in
14** accordance with the commercial license agreement provided with the
15** Software or, alternatively, in accordance with the terms contained in
16** a written agreement between you and The Qt Company. For licensing terms
17** and conditions see http://www.qt.io/terms-conditions. For further
18** information use the contact form at http://www.qt.io/contact-us.
19**
20** GNU Lesser General Public License Usage
21** Alternatively, this file may be used under the terms of the GNU Lesser
22** General Public License version 2.1 or version 3 as published by the Free
23** Software Foundation and appearing in the file LICENSE.LGPLv21 and
24** LICENSE.LGPLv3 included in the packaging of this file. Please review the
25** following information to ensure the GNU Lesser General Public License
26** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
27** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
28**
29** As a special exception, The Qt Company gives you certain additional
30** rights. These rights are described in The Qt Company LGPL Exception
31** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
32**
33** GNU General Public License Usage
34** Alternatively, this file may be used under the terms of the GNU
35** General Public License version 3.0 as published by the Free Software
36** Foundation and appearing in the file LICENSE.GPL included in the
37** packaging of this file.  Please review the following information to
38** ensure the GNU General Public License version 3.0 requirements will be
39** met: http://www.gnu.org/copyleft/gpl.html.
40**
41** $QT_END_LICENSE$
42**
43*********************************************************************</comment>
44  <exportmacro></exportmacro>
45  <class>DatabaseConnectionBase</class>
46  <widget class="QDialog" name="DatabaseConnectionBase">
47    <property name="geometry">
48      <rect>
49        <x>0</x>
50        <y>0</y>
51        <width>512</width>
52        <height>309</height>
53      </rect>
54    </property>
55    <property name="windowTitle">
56      <string>Edit Database Connections</string>
57    </property>
58    <property name="sizeGripEnabled">
59      <bool>true</bool>
60    </property>
61    <layout class="QGridLayout">
62      <property name="margin">
63        <number>11</number>
64      </property>
65      <property name="spacing">
66        <number>6</number>
67      </property>
68      <item row="0" column="1">
69        <widget class="QPushButton" name="buttonNew">
70          <property name="text">
71            <string>&amp;New Connection</string>
72          </property>
73        </widget>
74      </item>
75      <item row="0" column="0" rowspan="5" colspan="1">
76        <widget class="Q3ListBox" name="listConnections"/>
77      </item>
78      <item row="1" column="1">
79        <widget class="QPushButton" name="buttonDelete">
80          <property name="text">
81            <string>&amp;Delete Connection</string>
82          </property>
83        </widget>
84      </item>
85      <item row="5" column="0" rowspan="1" colspan="3">
86        <layout class="QHBoxLayout">
87          <property name="margin">
88            <number>0</number>
89          </property>
90          <property name="spacing">
91            <number>6</number>
92          </property>
93          <item>
94            <widget class="QPushButton" name="buttonHelp">
95              <property name="text">
96                <string>&amp;Help</string>
97              </property>
98              <property name="autoDefault">
99                <bool>true</bool>
100              </property>
101            </widget>
102          </item>
103          <item>
104            <spacer name="Horizontal Spacing2">
105              <property name="sizeHint">
106                <size>
107                  <width>20</width>
108                  <height>20</height>
109                </size>
110              </property>
111              <property name="sizeType">
112                <enum>QSizePolicy::Expanding</enum>
113              </property>
114              <property name="orientation">
115                <enum>Qt::Horizontal</enum>
116              </property>
117            </spacer>
118          </item>
119          <item>
120            <widget class="QPushButton" name="buttonClose">
121              <property name="text">
122                <string>&amp;Close</string>
123              </property>
124              <property name="autoDefault">
125                <bool>true</bool>
126              </property>
127              <property name="whatsThis" stdset="0">
128                <string>Close the dialog and discard any changes.</string>
129              </property>
130            </widget>
131          </item>
132        </layout>
133      </item>
134      <item row="2" column="1" rowspan="3" colspan="1">
135        <spacer name="Spacer1">
136          <property name="sizeHint">
137            <size>
138              <width>20</width>
139              <height>20</height>
140            </size>
141          </property>
142          <property name="sizeType">
143            <enum>QSizePolicy::Expanding</enum>
144          </property>
145          <property name="orientation">
146            <enum>Qt::Vertical</enum>
147          </property>
148        </spacer>
149      </item>
150      <item row="0" column="2" rowspan="3" colspan="1">
151        <widget class="Q3GroupBox" name="grp">
152          <property name="title">
153            <string>Connection</string>
154          </property>
155          <layout class="QGridLayout">
156            <property name="margin">
157              <number>11</number>
158            </property>
159            <property name="spacing">
160              <number>6</number>
161            </property>
162            <item row="0" column="0">
163              <spacer name="Spacer3">
164                <property name="sizeHint">
165                  <size>
166                    <width>20</width>
167                    <height>20</height>
168                  </size>
169                </property>
170                <property name="sizeType">
171                  <enum>QSizePolicy::Expanding</enum>
172                </property>
173                <property name="orientation">
174                  <enum>Qt::Vertical</enum>
175                </property>
176              </spacer>
177            </item>
178          </layout>
179        </widget>
180      </item>
181      <item row="3" column="2">
182        <layout class="QHBoxLayout">
183          <property name="margin">
184            <number>0</number>
185          </property>
186          <property name="spacing">
187            <number>6</number>
188          </property>
189          <item>
190            <spacer name="Spacer4">
191              <property name="sizeHint">
192                <size>
193                  <width>20</width>
194                  <height>20</height>
195                </size>
196              </property>
197              <property name="sizeType">
198                <enum>QSizePolicy::Expanding</enum>
199              </property>
200              <property name="orientation">
201                <enum>Qt::Horizontal</enum>
202              </property>
203            </spacer>
204          </item>
205          <item>
206            <widget class="QPushButton" name="buttonConnect">
207              <property name="enabled">
208                <bool>false</bool>
209              </property>
210              <property name="text">
211                <string>Connec&amp;t</string>
212              </property>
213            </widget>
214          </item>
215          <item>
216            <spacer name="Spacer5">
217              <property name="sizeHint">
218                <size>
219                  <width>20</width>
220                  <height>20</height>
221                </size>
222              </property>
223              <property name="sizeType">
224                <enum>QSizePolicy::Expanding</enum>
225              </property>
226              <property name="orientation">
227                <enum>Qt::Horizontal</enum>
228              </property>
229            </spacer>
230          </item>
231        </layout>
232      </item>
233      <item row="4" column="2">
234        <spacer name="Spacer6">
235          <property name="sizeHint">
236            <size>
237              <width>20</width>
238              <height>20</height>
239            </size>
240          </property>
241          <property name="sizeType">
242            <enum>QSizePolicy::Expanding</enum>
243          </property>
244          <property name="orientation">
245            <enum>Qt::Vertical</enum>
246          </property>
247        </spacer>
248      </item>
249    </layout>
250  </widget>
251  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
252  <tabstops>
253    <tabstop>buttonClose</tabstop>
254    <tabstop>listConnections</tabstop>
255    <tabstop>buttonNew</tabstop>
256    <tabstop>buttonDelete</tabstop>
257    <tabstop>buttonConnect</tabstop>
258    <tabstop>buttonHelp</tabstop>
259  </tabstops>
260  <connections>
261    <connection>
262      <sender>buttonClose</sender>
263      <signal>clicked()</signal>
264      <receiver>DatabaseConnectionBase</receiver>
265      <slot>accept()</slot>
266    </connection>
267    <connection>
268      <sender>buttonNew</sender>
269      <signal>clicked()</signal>
270      <receiver>DatabaseConnectionBase</receiver>
271      <slot>newConnection()</slot>
272    </connection>
273    <connection>
274      <sender>buttonDelete</sender>
275      <signal>clicked()</signal>
276      <receiver>DatabaseConnectionBase</receiver>
277      <slot>deleteConnection()</slot>
278    </connection>
279    <connection>
280      <sender>buttonConnect</sender>
281      <signal>clicked()</signal>
282      <receiver>DatabaseConnectionBase</receiver>
283      <slot>doConnect()</slot>
284    </connection>
285    <connection>
286      <sender>listConnections</sender>
287      <signal>highlighted(QString)</signal>
288      <receiver>DatabaseConnectionBase</receiver>
289      <slot>currentConnectionChanged(QString)</slot>
290    </connection>
291    <connection>
292      <sender>listConnections</sender>
293      <signal>selected(QString)</signal>
294      <receiver>DatabaseConnectionBase</receiver>
295      <slot>currentConnectionChanged(QString)</slot>
296    </connection>
297  </connections>
298</ui>
299