Allow editing connection names, create 802.1x settings UI

main
Aaron Rainbolt 1 year ago
parent a0f4cc10be
commit 65f6ab68d7

@ -42,6 +42,9 @@ set(PROJECT_SOURCES
ethernetsettingstab.h
ethernetsettingstab.cpp
ethernetsettingstab.ui
security802_1xtab.h
security802_1xtab.cpp
security802_1xtab.ui
${TS_FILES}
)

@ -7,6 +7,7 @@ QString ConnectionSettingsEngine::targetConnUuidStr = QString();
/*
* The configuration map:
*
* connName: QString
* autoconnectEnabled: bool
* autoconnectPriority: int
* allUsersMayConnect: bool
@ -35,6 +36,7 @@ QVariantMap ConnectionSettingsEngine::readConnectionSettings(QString connUuidStr
NetworkManager::WiredSetting::Ptr connWiredSetting = connSettings->setting(NetworkManager::Setting::Wired).dynamicCast<NetworkManager::WiredSetting>();
NetworkManager::WirelessSetting::Ptr connWirelessSetting = connSettings->setting(NetworkManager::Setting::Wireless).dynamicCast<NetworkManager::WirelessSetting>();
QVariantMap result;
result.insert("connName", connSettings->id());
result.insert("autoconnectEnabled", connSettings->autoconnect());
result.insert("autoconnectPriority", connSettings->autoconnectPriority());
result.insert("allUsersMayConnect", connSettings->permissions().isEmpty() ? true : false);
@ -153,6 +155,9 @@ void ConnectionSettingsEngine::modifyConnectionSettings(QString connUuidStr, QVa
NetworkManager::WiredSetting::Ptr connWiredSetting = connSettings->setting(NetworkManager::Setting::Wired).dynamicCast<NetworkManager::WiredSetting>();
NetworkManager::WirelessSetting::Ptr connWirelessSetting = connSettings->setting(NetworkManager::Setting::Wireless).dynamicCast<NetworkManager::WirelessSetting>();
if (settings["connName"].isValid()) {
connSettings->setId(settings["connName"].toString());
}
if (settings["autoconnectEnabled"].isValid()) {
connSettings->setAutoconnect(settings["autoconnectEnabled"].toBool());
}

@ -1,21 +1,24 @@
#include "ethernetsettings.h"
#include "ui_genericsettings.h"
EthernetSettings::EthernetSettings(QString title, QString connUuidStr, QWidget *parent) :
EthernetSettings::EthernetSettings(QString connUuidStr, QWidget *parent) :
QDialog(parent),
ui(new Ui::GenericSettings)
{
targetConnUuidStr = connUuidStr;
ui->setupUi(this);
this->setWindowTitle(title);
ui->connectionNameLineEdit->setText(title);
QVariantMap connSettings = ConnectionSettingsEngine::readConnectionSettings(connUuidStr);
this->setWindowTitle(connSettings["connName"].toString());
ui->connectionNameLineEdit->setText(connSettings["connName"].toString());
generalSettingsTab = new GeneralSettingsTab();
ethernetSettingsTab = new EthernetSettingsTab();
security802_1xSettingsTab = new Security802_1xTab();
ui->tabWidget->addTab(generalSettingsTab, "General");
ui->tabWidget->addTab(ethernetSettingsTab, "Ethernet");
QVariantMap connSettings = ConnectionSettingsEngine::readConnectionSettings(connUuidStr);
ui->tabWidget->addTab(security802_1xSettingsTab, "802.1x Security");
generalSettingsTab->loadSettings(connSettings);
ethernetSettingsTab->loadSettings(connSettings);
// security802_1xSettingsTab->loadSettings(connSettings);
connect(ui->cancelButton, &QPushButton::clicked, this, &EthernetSettings::onCancelButtonClicked);
connect(ui->saveButton, &QPushButton::clicked, this, &EthernetSettings::onSaveButtonClicked);
}
@ -25,6 +28,7 @@ EthernetSettings::~EthernetSettings()
delete ui;
delete generalSettingsTab;
delete ethernetSettingsTab;
delete security802_1xSettingsTab;
}
void EthernetSettings::onCancelButtonClicked()
@ -36,6 +40,8 @@ void EthernetSettings::onSaveButtonClicked()
{
QVariantMap settings = generalSettingsTab->readSettings();
settings.insert(ethernetSettingsTab->readSettings());
// settings.insert(security802_1xSettingsTab->readSettings());
settings.insert("connName", ui->connectionNameLineEdit->text());
ConnectionSettingsEngine::modifyConnectionSettings(targetConnUuidStr, settings);
this->done(0);
}

@ -4,6 +4,7 @@
#include "connectionsettingsengine.h"
#include "generalsettingstab.h"
#include "ethernetsettingstab.h"
#include "security802_1xtab.h"
#include <QDialog>
@ -16,7 +17,7 @@ class EthernetSettings : public QDialog
Q_OBJECT
public:
explicit EthernetSettings(QString title, QString connUuidStr, QWidget *parent = nullptr);
explicit EthernetSettings(QString connUuidStr, QWidget *parent = nullptr);
~EthernetSettings();
private slots:
@ -29,6 +30,7 @@ private:
QString targetConnUuidStr;
GeneralSettingsTab *generalSettingsTab;
EthernetSettingsTab *ethernetSettingsTab;
Security802_1xTab *security802_1xSettingsTab;
};
#endif // ETHERNETSETTINGS_H

@ -271,9 +271,10 @@ void NetworkSelector::modifyConnection(QModelIndex index)
NetworkManager::ConnectionSettings::ConnectionType connType = connList[i]->settings()->connectionType();
switch(connType) {
case NetworkManager::ConnectionSettings::Wired:
dialogWindow = new EthernetSettings(index.data().toString(), index.data(Qt::UserRole+1).toString());
dialogWindow = new EthernetSettings(index.data(Qt::UserRole+1).toString());
dialogWindow->exec();
delete dialogWindow;
regenConnTree();
break;
case NetworkManager::ConnectionSettings::Wireless:
case NetworkManager::ConnectionSettings::Adsl:

@ -0,0 +1,14 @@
#include "security802_1xtab.h"
#include "ui_security802_1xtab.h"
Security802_1xTab::Security802_1xTab(QWidget *parent) :
QDialog(parent),
ui(new Ui::Security802_1xTab)
{
ui->setupUi(this);
}
Security802_1xTab::~Security802_1xTab()
{
delete ui;
}

@ -0,0 +1,22 @@
#ifndef SECURITY802_1XTAB_H
#define SECURITY802_1XTAB_H
#include <QDialog>
namespace Ui {
class Security802_1xTab;
}
class Security802_1xTab : public QDialog
{
Q_OBJECT
public:
explicit Security802_1xTab(QWidget *parent = nullptr);
~Security802_1xTab();
private:
Ui::Security802_1xTab *ui;
};
#endif // SECURITY802_1XTAB_H

@ -0,0 +1,720 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Security802_1xTab</class>
<widget class="QDialog" name="Security802_1xTab">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>501</width>
<height>546</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QCheckBox" name="enable802_1xCheckBox">
<property name="text">
<string>Use 802.1x security for this connection</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Authentication mode:</string>
</property>
</widget>
</item>
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="md5Tab">
<attribute name="title">
<string>MD5</string>
</attribute>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="1">
<widget class="QLineEdit" name="md5PasswordLineEdit"/>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Username</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="md5UsernameLineEdit"/>
</item>
<item row="2" column="1">
<widget class="QCheckBox" name="md5ShowPasswordCheckBox">
<property name="text">
<string>Show password</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Password</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="md5PasswordStoreComboBox"/>
</item>
<item row="4" column="1">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="tlsTab">
<attribute name="title">
<string>TLS</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_2">
<item row="8" column="1">
<widget class="QCheckBox" name="tlsShowPasswordsCheckBox">
<property name="text">
<string>Show passwords</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLineEdit" name="tlsUserCertificatePasswordLineEdit"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>CA certificate</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Identity</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="tlsDomainLineEdit"/>
</item>
<item row="9" column="1">
<widget class="QComboBox" name="tlsPasswordStoreComboBox"/>
</item>
<item row="7" column="1">
<widget class="QLineEdit" name="tlsUserKeyPasswordLineEdit"/>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>CA certificate password</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Domain</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_10">
<property name="text">
<string>User private key</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="4" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLineEdit" name="tlsCaUserCertificateLineEdit"/>
</item>
<item>
<widget class="QPushButton" name="tlsUserCertificateOpenFileButton">
<property name="text">
<string>Open file...</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>User certificate</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_9">
<property name="text">
<string>User certificate password</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="6" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLineEdit" name="userPrivateKeyLineEdit"/>
</item>
<item>
<widget class="QPushButton" name="tlsUserPrivateKeyOpenFileButton">
<property name="text">
<string>Open file...</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="tlsCaCertificatePasswordLineEdit"/>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="tlsIdentityLineEdit"/>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_11">
<property name="text">
<string>User key password</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="1">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLineEdit" name="tlsCaCertificateLineEdit"/>
</item>
<item>
<widget class="QPushButton" name="tlsCaCertificateOpenFileButton">
<property name="text">
<string>Open file...</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="10" column="1">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="pwdTab">
<attribute name="title">
<string>PWD</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_3">
<item row="1" column="1">
<widget class="QLineEdit" name="pwdPasswordLineEdit"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_13">
<property name="text">
<string>Password</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="pwdUsernameLineEdit"/>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="pwdPasswordStoreComboBox"/>
</item>
<item row="2" column="1">
<widget class="QCheckBox" name="pwdShowPasswordCheckBox">
<property name="text">
<string>Show password</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_12">
<property name="text">
<string>Username</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="4" column="1">
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="fastTab">
<attribute name="title">
<string>FAST</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_4">
<item row="6" column="1">
<widget class="QCheckBox" name="fastShowPasswordCheckBox">
<property name="text">
<string>Show password</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="fastUsernameLineEdit"/>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_18">
<property name="text">
<string>Password</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QComboBox" name="fastStorePasswordComboBox"/>
</item>
<item row="2" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLineEdit" name="fastPacFileLineEdit"/>
</item>
<item>
<widget class="QPushButton" name="fastPacFileOpenFileButton">
<property name="text">
<string>Open file...</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="5" column="1">
<widget class="QLineEdit" name="fastPasswordLineEdit"/>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="fastAnonymousIdentityLineEdit"/>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="fastAutoPacProvisionCheckBox">
<property name="text">
<string>Allow automatic PAC provisioning</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="fastAutoPacProvisionComboBox"/>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_17">
<property name="text">
<string>Username</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_15">
<property name="text">
<string>PAC file</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_14">
<property name="text">
<string>Anonymous identity</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_16">
<property name="text">
<string>Inner authentication</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="fastInnerAuthenticationComboBox"/>
</item>
<item row="8" column="1">
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="tunneledTlsTab">
<attribute name="title">
<string>Tunneled TLS</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_5">
<item row="6" column="0">
<widget class="QLabel" name="label_25">
<property name="text">
<string>Password</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_20">
<property name="text">
<string>Domain</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="ttlsDomainLineEdit"/>
</item>
<item row="2" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLineEdit" name="ttlsCaCertificateLineEdit"/>
</item>
<item>
<widget class="QPushButton" name="ttlsCaCertificateOpenFileButton">
<property name="text">
<string>Open file...</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="ttlsCaCertificatePasswordLineEdit"/>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="ttlsAnonymousIdentityLineEdit"/>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_23">
<property name="text">
<string>Inner authentication</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_22">
<property name="text">
<string>CA certificate password</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QCheckBox" name="ttlsShowPasswordCheckBox">
<property name="text">
<string>Show password</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_19">
<property name="text">
<string>Anonymous identity</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QComboBox" name="ttlsStorePasswordComboBox"/>
</item>
<item row="4" column="1">
<widget class="QComboBox" name="ttlsInnerAuthenticationComboBox"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_21">
<property name="text">
<string>CA certificate</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QLineEdit" name="ttlsPasswordLineEdit"/>
</item>
<item row="5" column="1">
<widget class="QLineEdit" name="ttlsUsernameLineEdit"/>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_24">
<property name="text">
<string>Username</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="9" column="1">
<spacer name="verticalSpacer_5">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="protectedEapTab">
<attribute name="title">
<string>Protected EAP (PEAP)</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_6">
<item row="0" column="0">
<widget class="QLabel" name="label_26">
<property name="text">
<string>Anonymous Identity</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_30">
<property name="text">
<string>PEAP version</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QComboBox" name="peapVersionComboBox"/>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="peapDomainLineEdit"/>
</item>
<item row="6" column="1">
<widget class="QLineEdit" name="peapUsernameLineEdit"/>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="peapAnonymousIdentityLineEdit"/>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_29">
<property name="text">
<string>CA certificate password</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QCheckBox" name="peapShowPasswordCheckBox">
<property name="text">
<string>Show password</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_31">
<property name="text">
<string>Inner authentication</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QLineEdit" name="peapCaCertificateLineEdit"/>
</item>
<item>
<widget class="QPushButton" name="peapCaCertificateOpenFileButton">
<property name="text">
<string>Open file...</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="peapCaCertificatePasswordLineEdit"/>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_32">
<property name="text">
<string>Username</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_28">
<property name="text">
<string>CA certificate</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QLineEdit" name="peapPasswordLineEdit"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_27">
<property name="text">
<string>Domain</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="9" column="1">
<widget class="QComboBox" name="peapStorePasswordComboBox"/>
</item>
<item row="5" column="1">
<widget class="QComboBox" name="peapInnerAuthenticationComboBox"/>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_33">
<property name="text">
<string>Password</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="10" column="1">
<spacer name="verticalSpacer_6">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>
Loading…
Cancel
Save