Skip to content

Commit 84c9d39

Browse files
committed
Rollback changes to connection dialog
1 parent e893853 commit 84c9d39

File tree

1 file changed

+45
-45
lines changed

1 file changed

+45
-45
lines changed

src/app/forms/connection.ui

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -147,26 +147,23 @@
147147
<string>SSL</string>
148148
</attribute>
149149
<layout class="QGridLayout" name="gridLayout_5">
150-
<item row="0" column="0" colspan="3">
151-
<widget class="QCheckBox" name="useSsl">
152-
<property name="layoutDirection">
153-
<enum>Qt::LeftToRight</enum>
150+
<item row="3" column="2">
151+
<widget class="QPushButton" name="sslPrivateKeyButton">
152+
<property name="maximumSize">
153+
<size>
154+
<width>60</width>
155+
<height>16777215</height>
156+
</size>
154157
</property>
155158
<property name="text">
156-
<string>Use SSL Protocol</string>
159+
<string>...</string>
157160
</property>
158161
</widget>
159162
</item>
160-
<item row="3" column="0">
161-
<widget class="QLabel" name="sslPrivateKey">
162-
<property name="sizePolicy">
163-
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
164-
<horstretch>0</horstretch>
165-
<verstretch>0</verstretch>
166-
</sizepolicy>
167-
</property>
168-
<property name="text">
169-
<string>Private key:</string>
163+
<item row="3" column="1">
164+
<widget class="QLineEdit" name="sslPrivateKeyEdit">
165+
<property name="placeholderText">
166+
<string>(Optional) Private key in PEM format</string>
170167
</property>
171168
</widget>
172169
</item>
@@ -189,15 +186,38 @@
189186
</property>
190187
</widget>
191188
</item>
192-
<item row="3" column="1">
193-
<widget class="QLineEdit" name="sslPrivateKeyEdit">
189+
<item row="3" column="0">
190+
<widget class="QLabel" name="sslPrivateKey">
191+
<property name="sizePolicy">
192+
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
193+
<horstretch>0</horstretch>
194+
<verstretch>0</verstretch>
195+
</sizepolicy>
196+
</property>
197+
<property name="text">
198+
<string>Private key:</string>
199+
</property>
200+
</widget>
201+
</item>
202+
<item row="0" column="0" colspan="3">
203+
<widget class="QCheckBox" name="useSsl">
204+
<property name="layoutDirection">
205+
<enum>Qt::LeftToRight</enum>
206+
</property>
207+
<property name="text">
208+
<string>Use SSL Protocol</string>
209+
</property>
210+
</widget>
211+
</item>
212+
<item row="2" column="1">
213+
<widget class="QLineEdit" name="sslLocalCertEdit">
194214
<property name="placeholderText">
195-
<string>Private key in PEM format</string>
215+
<string>Public key in PEM format</string>
196216
</property>
197217
</widget>
198218
</item>
199-
<item row="3" column="2">
200-
<widget class="QPushButton" name="sslPrivateKeyButton">
219+
<item row="2" column="2">
220+
<widget class="QPushButton" name="sslLocalCertButton">
201221
<property name="maximumSize">
202222
<size>
203223
<width>60</width>
@@ -209,14 +229,7 @@
209229
</property>
210230
</widget>
211231
</item>
212-
<item row="1" column="1">
213-
<widget class="QLineEdit" name="sslCACertEdit">
214-
<property name="placeholderText">
215-
<string>Authority in PEM format</string>
216-
</property>
217-
</widget>
218-
</item>
219-
<item row="1" column="0">
232+
<item row="4" column="0">
220233
<widget class="QLabel" name="label_2">
221234
<property name="sizePolicy">
222235
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
@@ -229,27 +242,14 @@
229242
</property>
230243
</widget>
231244
</item>
232-
<item row="2" column="1">
233-
<widget class="QLineEdit" name="sslLocalCertEdit">
245+
<item row="4" column="1">
246+
<widget class="QLineEdit" name="sslCACertEdit">
234247
<property name="placeholderText">
235-
<string>Public key in PEM format</string>
236-
</property>
237-
</widget>
238-
</item>
239-
<item row="2" column="2">
240-
<widget class="QPushButton" name="sslLocalCertButton">
241-
<property name="maximumSize">
242-
<size>
243-
<width>60</width>
244-
<height>16777215</height>
245-
</size>
246-
</property>
247-
<property name="text">
248-
<string>...</string>
248+
<string>(Optional) Authority in PEM format</string>
249249
</property>
250250
</widget>
251251
</item>
252-
<item row="1" column="2">
252+
<item row="4" column="2">
253253
<widget class="QPushButton" name="sslCACertButton">
254254
<property name="maximumSize">
255255
<size>

0 commit comments

Comments
 (0)