Commit 21e7d304 authored by Carl Schwan's avatar Carl Schwan 🚴
Browse files

Remove frame from openxchange config dialog

Additionally also do:
* Add buddy for better accessibility
* Simplify layout of QFormLayout
parent 6b9e6eb0
Pipeline #68845 canceled with stage
......@@ -10,7 +10,7 @@
<height>202</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<layout class="QFormLayout" name="verticalLayout">
<property name="leftMargin">
<number>0</number>
</property>
......@@ -23,119 +23,80 @@
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Connection</string>
<item row="0" column="0">
<widget class="QLabel" name="label_BaseUrl">
<property name="text">
<string>Server URL:</string>
</property>
<property name="checkable">
<property name="buddy">
<cstring>kcfg_BaseUrl</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="kcfg_BaseUrl">
<property name="toolTip">
<string>The URL of the Open-Xchange server, should be something like https://myserver.org/</string>
</property>
<property name="whatsThis">
<string>The URL of the Open-Xchange server, should be something like https://myserver.org/</string>
</property>
<property name="placeholderText">
<string notr="true">https://myserver.org</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_Username">
<property name="text">
<string>Username:</string>
</property>
<property name="buddy">
<cstring>kcfg_Username</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="kcfg_Username">
<property name="toolTip">
<string>The username that is used to log into the Open-Xchange server</string>
</property>
<property name="whatsThis">
<string>The username that is used to log into the Open-Xchange server</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_Password">
<property name="text">
<string>Password:</string>
</property>
<property name="buddy">
<cstring>kcfg_Password</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="kcfg_Password">
<property name="toolTip">
<string>The password that is used to log into the Open-Xchange server</string>
</property>
<property name="whatsThis">
<string>The password that is used to log into the Open-Xchange server</string>
</property>
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QPushButton" name="checkConnectionButton">
<property name="enabled">
<bool>false</bool>
</property>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_BaseUrl">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Server URL:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="kcfg_BaseUrl">
<property name="toolTip">
<string>The URL of the Open-Xchange server, should be something like https://myserver.org/</string>
</property>
<property name="whatsThis">
<string>The URL of the Open-Xchange server, should be something like https://myserver.org/</string>
</property>
<property name="placeholderText">
<string notr="true">https://myserver.org</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_Username">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Username:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="kcfg_Username">
<property name="toolTip">
<string>The username that is used to log into the Open-Xchange server</string>
</property>
<property name="whatsThis">
<string>The username that is used to log into the Open-Xchange server</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_Password">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Password:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="kcfg_Password">
<property name="toolTip">
<string>The password that is used to log into the Open-Xchange server</string>
</property>
<property name="whatsThis">
<string>The password that is used to log into the Open-Xchange server</string>
</property>
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QPushButton" name="checkConnectionButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Test Connection...</string>
</property>
</widget>
</item>
</layout>
<property name="text">
<string>Test Connection...</string>
</property>
</widget>
</item>
</layout>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment