|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0" stdsetdef="1"> |
|
3 <author></author> |
|
4 <comment></comment> |
|
5 <exportmacro></exportmacro> |
|
6 <class>ConnectDialog</class> |
|
7 <widget class="QDialog" name="ConnectDialog"> |
|
8 <property name="geometry"> |
|
9 <rect> |
|
10 <x>0</x> |
|
11 <y>0</y> |
|
12 <width>303</width> |
|
13 <height>247</height> |
|
14 </rect> |
|
15 </property> |
|
16 <property name="windowTitle"> |
|
17 <string>Connect...</string> |
|
18 </property> |
|
19 <layout class="QVBoxLayout"> |
|
20 <property name="margin"> |
|
21 <number>11</number> |
|
22 </property> |
|
23 <property name="spacing"> |
|
24 <number>6</number> |
|
25 </property> |
|
26 <item> |
|
27 <widget class="Q3GroupBox" name="GroupBox3"> |
|
28 <property name="title"> |
|
29 <string>Connection settings</string> |
|
30 </property> |
|
31 <layout class="QGridLayout"> |
|
32 <property name="margin"> |
|
33 <number>11</number> |
|
34 </property> |
|
35 <property name="spacing"> |
|
36 <number>6</number> |
|
37 </property> |
|
38 <item row="1" column="1"> |
|
39 <widget class="QLineEdit" name="editDatabase"/> |
|
40 </item> |
|
41 <item row="1" column="0"> |
|
42 <widget class="QLabel" name="TextLabel3"> |
|
43 <property name="text"> |
|
44 <string>Database Name:</string> |
|
45 </property> |
|
46 <property name="buddy" stdset="0"> |
|
47 <cstring>comboDatabase</cstring> |
|
48 </property> |
|
49 <property name="wordWrap"> |
|
50 <bool>false</bool> |
|
51 </property> |
|
52 </widget> |
|
53 </item> |
|
54 <item row="3" column="1"> |
|
55 <widget class="QLineEdit" name="editPassword"> |
|
56 <property name="echoMode"> |
|
57 <enum>QLineEdit::Password</enum> |
|
58 </property> |
|
59 </widget> |
|
60 </item> |
|
61 <item row="2" column="0"> |
|
62 <widget class="QLabel" name="TextLabel4"> |
|
63 <property name="text"> |
|
64 <string>&Username:</string> |
|
65 </property> |
|
66 <property name="buddy" stdset="0"> |
|
67 <cstring>editUsername</cstring> |
|
68 </property> |
|
69 <property name="wordWrap"> |
|
70 <bool>false</bool> |
|
71 </property> |
|
72 </widget> |
|
73 </item> |
|
74 <item row="3" column="0"> |
|
75 <widget class="QLabel" name="TextLabel4_2"> |
|
76 <property name="text"> |
|
77 <string>&Password:</string> |
|
78 </property> |
|
79 <property name="buddy" stdset="0"> |
|
80 <cstring>editPassword</cstring> |
|
81 </property> |
|
82 <property name="wordWrap"> |
|
83 <bool>false</bool> |
|
84 </property> |
|
85 </widget> |
|
86 </item> |
|
87 <item row="0" column="1"> |
|
88 <widget class="QComboBox" name="comboDriver"/> |
|
89 </item> |
|
90 <item row="2" column="1"> |
|
91 <widget class="QLineEdit" name="editUsername"/> |
|
92 </item> |
|
93 <item row="4" column="1"> |
|
94 <widget class="QLineEdit" name="editHostname"/> |
|
95 </item> |
|
96 <item row="4" column="0"> |
|
97 <widget class="QLabel" name="TextLabel5"> |
|
98 <property name="text"> |
|
99 <string>&Hostname:</string> |
|
100 </property> |
|
101 <property name="buddy" stdset="0"> |
|
102 <cstring>editHostname</cstring> |
|
103 </property> |
|
104 <property name="wordWrap"> |
|
105 <bool>false</bool> |
|
106 </property> |
|
107 </widget> |
|
108 </item> |
|
109 <item row="5" column="0"> |
|
110 <widget class="QLabel" name="TextLabel5_2"> |
|
111 <property name="text"> |
|
112 <string>P&ort:</string> |
|
113 </property> |
|
114 <property name="buddy" stdset="0"> |
|
115 <cstring>portSpinBox</cstring> |
|
116 </property> |
|
117 <property name="wordWrap"> |
|
118 <bool>false</bool> |
|
119 </property> |
|
120 </widget> |
|
121 </item> |
|
122 <item row="5" column="1"> |
|
123 <widget class="QSpinBox" name="portSpinBox"> |
|
124 <property name="specialValueText"> |
|
125 <string>Default</string> |
|
126 </property> |
|
127 <property name="maximum"> |
|
128 <number>65535</number> |
|
129 </property> |
|
130 <property name="minimum"> |
|
131 <number>-1</number> |
|
132 </property> |
|
133 <property name="value"> |
|
134 <number>-1</number> |
|
135 </property> |
|
136 </widget> |
|
137 </item> |
|
138 <item row="0" column="0"> |
|
139 <widget class="QLabel" name="TextLabel2"> |
|
140 <property name="text"> |
|
141 <string>D&river</string> |
|
142 </property> |
|
143 <property name="buddy" stdset="0"> |
|
144 <cstring>comboDriver</cstring> |
|
145 </property> |
|
146 <property name="wordWrap"> |
|
147 <bool>false</bool> |
|
148 </property> |
|
149 </widget> |
|
150 </item> |
|
151 </layout> |
|
152 </widget> |
|
153 </item> |
|
154 <item> |
|
155 <layout class="QHBoxLayout"> |
|
156 <property name="margin"> |
|
157 <number>0</number> |
|
158 </property> |
|
159 <property name="spacing"> |
|
160 <number>6</number> |
|
161 </property> |
|
162 <item> |
|
163 <spacer name="Spacer1"> |
|
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::Horizontal</enum> |
|
175 </property> |
|
176 </spacer> |
|
177 </item> |
|
178 <item> |
|
179 <widget class="QPushButton" name="PushButton1"> |
|
180 <property name="text"> |
|
181 <string>&OK</string> |
|
182 </property> |
|
183 <property name="default"> |
|
184 <bool>true</bool> |
|
185 </property> |
|
186 </widget> |
|
187 </item> |
|
188 <item> |
|
189 <widget class="QPushButton" name="PushButton2"> |
|
190 <property name="text"> |
|
191 <string>&Cancel</string> |
|
192 </property> |
|
193 </widget> |
|
194 </item> |
|
195 </layout> |
|
196 </item> |
|
197 </layout> |
|
198 </widget> |
|
199 <layoutdefault spacing="6" margin="11"/> |
|
200 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
|
201 <tabstops> |
|
202 <tabstop>comboDriver</tabstop> |
|
203 <tabstop>editDatabase</tabstop> |
|
204 <tabstop>editUsername</tabstop> |
|
205 <tabstop>editPassword</tabstop> |
|
206 <tabstop>editHostname</tabstop> |
|
207 <tabstop>portSpinBox</tabstop> |
|
208 <tabstop>PushButton1</tabstop> |
|
209 <tabstop>PushButton2</tabstop> |
|
210 </tabstops> |
|
211 <connections> |
|
212 <connection> |
|
213 <sender>PushButton1</sender> |
|
214 <signal>clicked()</signal> |
|
215 <receiver>ConnectDialog</receiver> |
|
216 <slot>accept()</slot> |
|
217 </connection> |
|
218 <connection> |
|
219 <sender>PushButton2</sender> |
|
220 <signal>clicked()</signal> |
|
221 <receiver>ConnectDialog</receiver> |
|
222 <slot>reject()</slot> |
|
223 </connection> |
|
224 </connections> |
|
225 </ui> |