|
6 | 6 | <rect> |
7 | 7 | <x>0</x> |
8 | 8 | <y>0</y> |
9 | | - <width>315</width> |
10 | | - <height>243</height> |
| 9 | + <width>226</width> |
| 10 | + <height>179</height> |
11 | 11 | </rect> |
12 | 12 | </property> |
13 | 13 | <property name="windowTitle"> |
|
69 | 69 | </sizepolicy> |
70 | 70 | </property> |
71 | 71 | <property name="text"> |
72 | | - <string>Choose or create a configuration.</string> |
| 72 | + <string>Choose or create an authentication configuration</string> |
73 | 73 | </property> |
74 | 74 | <property name="textFormat"> |
75 | 75 | <enum>Qt::PlainText</enum> |
|
101 | 101 | </sizepolicy> |
102 | 102 | </property> |
103 | 103 | <property name="text"> |
104 | | - <string>Credentials are encrypted and stored in the QGIS authentication database. </string> |
| 104 | + <string>Configurations store encrypted credentials in the QGIS authentication database.</string> |
105 | 105 | </property> |
106 | 106 | <property name="textFormat"> |
107 | 107 | <enum>Qt::PlainText</enum> |
|
146 | 146 | <property name="spacing"> |
147 | 147 | <number>6</number> |
148 | 148 | </property> |
149 | | - <item row="6" column="1"> |
150 | | - <spacer name="verticalSpacer"> |
151 | | - <property name="orientation"> |
152 | | - <enum>Qt::Vertical</enum> |
| 149 | + <item row="4" column="0" colspan="3"> |
| 150 | + <layout class="QHBoxLayout" name="horizontalLayout"> |
| 151 | + <item> |
| 152 | + <widget class="QPushButton" name="btnConvertToEncrypted"> |
| 153 | + <property name="sizePolicy"> |
| 154 | + <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> |
| 155 | + <horstretch>0</horstretch> |
| 156 | + <verstretch>0</verstretch> |
| 157 | + </sizepolicy> |
| 158 | + </property> |
| 159 | + <property name="text"> |
| 160 | + <string>Convert to configuration</string> |
| 161 | + </property> |
| 162 | + </widget> |
| 163 | + </item> |
| 164 | + </layout> |
| 165 | + </item> |
| 166 | + <item row="2" column="2"> |
| 167 | + <widget class="QCheckBox" name="cbStorePassword"> |
| 168 | + <property name="text"> |
| 169 | + <string>Store</string> |
153 | 170 | </property> |
154 | | - <property name="sizeHint" stdset="0"> |
| 171 | + <property name="checked"> |
| 172 | + <bool>false</bool> |
| 173 | + </property> |
| 174 | + </widget> |
| 175 | + </item> |
| 176 | + <item row="3" column="0" colspan="3"> |
| 177 | + <widget class="QLabel" name="lblWarning"> |
| 178 | + <property name="styleSheet"> |
| 179 | + <string notr="true">QLabel{color: rgb(255, 0, 0);font-weight: bold;}</string> |
| 180 | + </property> |
| 181 | + <property name="text"> |
| 182 | + <string>Warning text!</string> |
| 183 | + </property> |
| 184 | + <property name="alignment"> |
| 185 | + <set>Qt::AlignCenter</set> |
| 186 | + </property> |
| 187 | + <property name="wordWrap"> |
| 188 | + <bool>true</bool> |
| 189 | + </property> |
| 190 | + </widget> |
| 191 | + </item> |
| 192 | + <item row="1" column="1"> |
| 193 | + <widget class="QLineEdit" name="txtUserName"> |
| 194 | + <property name="minimumSize"> |
155 | 195 | <size> |
156 | | - <width>0</width> |
| 196 | + <width>80</width> |
157 | 197 | <height>0</height> |
158 | 198 | </size> |
159 | 199 | </property> |
160 | | - </spacer> |
| 200 | + </widget> |
161 | 201 | </item> |
162 | | - <item row="1" column="0"> |
163 | | - <widget class="QLabel" name="label_2"> |
| 202 | + <item row="1" column="2"> |
| 203 | + <widget class="QCheckBox" name="cbStoreUsername"> |
164 | 204 | <property name="text"> |
165 | | - <string>&User name</string> |
| 205 | + <string>Store</string> |
166 | 206 | </property> |
167 | | - <property name="buddy"> |
168 | | - <cstring>txtUserName</cstring> |
| 207 | + <property name="checked"> |
| 208 | + <bool>false</bool> |
169 | 209 | </property> |
170 | 210 | </widget> |
171 | 211 | </item> |
|
195 | 235 | </property> |
196 | 236 | </widget> |
197 | 237 | </item> |
198 | | - <item row="1" column="1"> |
199 | | - <widget class="QLineEdit" name="txtUserName"> |
200 | | - <property name="minimumSize"> |
| 238 | + <item row="6" column="1"> |
| 239 | + <spacer name="verticalSpacer"> |
| 240 | + <property name="orientation"> |
| 241 | + <enum>Qt::Vertical</enum> |
| 242 | + </property> |
| 243 | + <property name="sizeHint" stdset="0"> |
201 | 244 | <size> |
202 | | - <width>80</width> |
| 245 | + <width>0</width> |
203 | 246 | <height>0</height> |
204 | 247 | </size> |
205 | 248 | </property> |
206 | | - </widget> |
207 | | - </item> |
208 | | - <item row="1" column="2"> |
209 | | - <widget class="QCheckBox" name="cbStoreUsername"> |
210 | | - <property name="text"> |
211 | | - <string>Store</string> |
212 | | - </property> |
213 | | - <property name="checked"> |
214 | | - <bool>false</bool> |
215 | | - </property> |
216 | | - </widget> |
217 | | - </item> |
218 | | - <item row="2" column="2"> |
219 | | - <widget class="QCheckBox" name="cbStorePassword"> |
220 | | - <property name="text"> |
221 | | - <string>Store</string> |
222 | | - </property> |
223 | | - <property name="checked"> |
224 | | - <bool>false</bool> |
225 | | - </property> |
226 | | - </widget> |
| 249 | + </spacer> |
227 | 250 | </item> |
228 | | - <item row="3" column="0" colspan="3"> |
229 | | - <widget class="QLabel" name="lblWarning"> |
| 251 | + <item row="1" column="0"> |
| 252 | + <widget class="QLabel" name="label_2"> |
230 | 253 | <property name="text"> |
231 | | - <string><html><head/><body><p><span style=" font-weight:600; color:#ff0000;">Warning: credentials stored unencrypted!</span></p></body></html></string> |
232 | | - </property> |
233 | | - <property name="textFormat"> |
234 | | - <enum>Qt::RichText</enum> |
235 | | - </property> |
236 | | - <property name="alignment"> |
237 | | - <set>Qt::AlignCenter</set> |
| 254 | + <string>&User name</string> |
238 | 255 | </property> |
239 | | - <property name="wordWrap"> |
240 | | - <bool>true</bool> |
| 256 | + <property name="buddy"> |
| 257 | + <cstring>txtUserName</cstring> |
241 | 258 | </property> |
242 | 259 | </widget> |
243 | 260 | </item> |
|
257 | 274 | </property> |
258 | 275 | </widget> |
259 | 276 | </item> |
260 | | - <item row="4" column="0" colspan="3"> |
261 | | - <layout class="QHBoxLayout" name="horizontalLayout"> |
262 | | - <item> |
263 | | - <widget class="QPushButton" name="btnConvertToEncrypted"> |
264 | | - <property name="sizePolicy"> |
265 | | - <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> |
266 | | - <horstretch>0</horstretch> |
267 | | - <verstretch>0</verstretch> |
268 | | - </sizepolicy> |
269 | | - </property> |
270 | | - <property name="text"> |
271 | | - <string>Convert to configuration</string> |
272 | | - </property> |
273 | | - </widget> |
274 | | - </item> |
275 | | - </layout> |
276 | | - </item> |
277 | 277 | </layout> |
278 | 278 | </widget> |
279 | 279 | </widget> |
|
0 commit comments