ike compile fix for blackPanther OS 
Charles Barcza 2016 11 30
diff -ruN ike.orig/CMakeLists.txt ike/CMakeLists.txt
--- ike.orig/CMakeLists.txt	2013-05-01 06:59:02.000000000 +0200
+++ ike/CMakeLists.txt	2016-11-10 14:59:09.000000000 +0100
@@ -61,6 +61,8 @@
 	/usr/share
 	/usr )
 
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
+
 #
 # Apple OSX Target Constants
 #
@@ -76,8 +78,9 @@
 	set(
 		CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations" )
 
-endif( APPLE )
 
+
+endif( APPLE )
 #
 # Path Option Checks
 #
diff -ruN ike.orig/source/iked/CMakeLists.txt ike/source/iked/CMakeLists.txt
--- ike.orig/source/iked/CMakeLists.txt	2012-11-28 06:53:09.000000000 +0100
+++ ike/source/iked/CMakeLists.txt	2016-11-10 15:06:20.000000000 +0100
@@ -111,7 +111,7 @@
 add_custom_command(
 	SOURCE conf.token.ll
 	COMMAND ${PATH_BIN_FLEX}
-	ARGS -d -oconf.token.cpp conf.token.ll
+	ARGS -d -oconf.token.cpp ${IKE_SOURCE_DIR}/source/iked/conf.token.ll
 	TARGET ConfParser
 	OUTPUTS conf.token.cpp )
 
@@ -120,7 +120,7 @@
 add_custom_command(
 	SOURCE conf.parse.yy
 	COMMAND ${PATH_BIN_BISON}
-	ARGS -oconf.parse.cpp conf.parse.yy
+	ARGS -oconf.parse.cpp ${IKE_SOURCE_DIR}/source/iked/conf.parse.yy
 	TARGET ConfParser
 	OUTPUTS conf.parse.cpp conf.parse.hpp location.hh position.hh stack.hh )
 
diff -ruN ike.orig/source/qikea/ui_about.h ike/source/qikea/ui_about.h
--- ike.orig/source/qikea/ui_about.h	1970-01-01 01:00:00.000000000 +0100
+++ ike/source/qikea/ui_about.h	2016-11-10 15:07:02.000000000 +0100
@@ -0,0 +1,162 @@
+/********************************************************************************
+** Form generated from reading UI file 'about.ui'
+**
+** Created by: Qt User Interface Compiler version 4.8.7
+**
+** WARNING! All changes made in this file will be lost when recompiling UI file!
+********************************************************************************/
+
+#ifndef UI_ABOUT_H
+#define UI_ABOUT_H
+
+#include <QtCore/QVariant>
+#include <QtGui/QAction>
+#include <QtGui/QApplication>
+#include <QtGui/QButtonGroup>
+#include <QtGui/QDialog>
+#include <QtGui/QHBoxLayout>
+#include <QtGui/QHeaderView>
+#include <QtGui/QLabel>
+#include <QtGui/QPushButton>
+#include <QtGui/QSpacerItem>
+#include <QtGui/QTextBrowser>
+#include <QtGui/QVBoxLayout>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_qikeaAbout
+{
+public:
+    QVBoxLayout *vboxLayout;
+    QLabel *labelLogo;
+    QVBoxLayout *vboxLayout1;
+    QHBoxLayout *hboxLayout;
+    QLabel *textLabelLecense;
+    QSpacerItem *spacerItem;
+    QLabel *textLabelVersion;
+    QTextBrowser *textBrowser;
+    QHBoxLayout *hboxLayout1;
+    QSpacerItem *spacerItem1;
+    QPushButton *buttonOk;
+
+    void setupUi(QDialog *qikeaAbout)
+    {
+        if (qikeaAbout->objectName().isEmpty())
+            qikeaAbout->setObjectName(QString::fromUtf8("qikeaAbout"));
+        qikeaAbout->setWindowModality(Qt::ApplicationModal);
+        qikeaAbout->resize(330, 339);
+        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
+        sizePolicy.setHorizontalStretch(0);
+        sizePolicy.setVerticalStretch(0);
+        sizePolicy.setHeightForWidth(qikeaAbout->sizePolicy().hasHeightForWidth());
+        qikeaAbout->setSizePolicy(sizePolicy);
+        qikeaAbout->setMaximumSize(QSize(330, 16777215));
+        QIcon icon;
+        icon.addFile(QString::fromUtf8(":/png/ikea.png"), QSize(), QIcon::Normal, QIcon::Off);
+        qikeaAbout->setWindowIcon(icon);
+        qikeaAbout->setSizeGripEnabled(false);
+        vboxLayout = new QVBoxLayout(qikeaAbout);
+#ifndef Q_OS_MAC
+        vboxLayout->setSpacing(6);
+#endif
+        vboxLayout->setContentsMargins(0, 0, 0, 0);
+        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
+        labelLogo = new QLabel(qikeaAbout);
+        labelLogo->setObjectName(QString::fromUtf8("labelLogo"));
+        QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed);
+        sizePolicy1.setHorizontalStretch(0);
+        sizePolicy1.setVerticalStretch(0);
+        sizePolicy1.setHeightForWidth(labelLogo->sizePolicy().hasHeightForWidth());
+        labelLogo->setSizePolicy(sizePolicy1);
+        labelLogo->setPixmap(QPixmap(QString::fromUtf8(":/png/logo_ssoft.png")));
+
+        vboxLayout->addWidget(labelLogo);
+
+        vboxLayout1 = new QVBoxLayout();
+        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
+        vboxLayout1->setContentsMargins(9, 0, 9, 9);
+        hboxLayout = new QHBoxLayout();
+        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
+        textLabelLecense = new QLabel(qikeaAbout);
+        textLabelLecense->setObjectName(QString::fromUtf8("textLabelLecense"));
+
+        hboxLayout->addWidget(textLabelLecense);
+
+        spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
+
+        hboxLayout->addItem(spacerItem);
+
+        textLabelVersion = new QLabel(qikeaAbout);
+        textLabelVersion->setObjectName(QString::fromUtf8("textLabelVersion"));
+
+        hboxLayout->addWidget(textLabelVersion);
+
+
+        vboxLayout1->addLayout(hboxLayout);
+
+        textBrowser = new QTextBrowser(qikeaAbout);
+        textBrowser->setObjectName(QString::fromUtf8("textBrowser"));
+
+        vboxLayout1->addWidget(textBrowser);
+
+        hboxLayout1 = new QHBoxLayout();
+        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
+        spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
+
+        hboxLayout1->addItem(spacerItem1);
+
+        buttonOk = new QPushButton(qikeaAbout);
+        buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
+
+        hboxLayout1->addWidget(buttonOk);
+
+
+        vboxLayout1->addLayout(hboxLayout1);
+
+
+        vboxLayout->addLayout(vboxLayout1);
+
+
+        retranslateUi(qikeaAbout);
+
+        QMetaObject::connectSlotsByName(qikeaAbout);
+    } // setupUi
+
+    void retranslateUi(QDialog *qikeaAbout)
+    {
+        qikeaAbout->setWindowTitle(QApplication::translate("qikeaAbout", "Dialog", 0, QApplication::UnicodeUTF8));
+        labelLogo->setText(QString());
+        textLabelLecense->setText(QApplication::translate("qikeaAbout", "License ", 0, QApplication::UnicodeUTF8));
+        textLabelVersion->setText(QApplication::translate("qikeaAbout", "Ver 2.0.0", 0, QApplication::UnicodeUTF8));
+        textBrowser->setHtml(QApplication::translate("qikeaAbout", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
+"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
+"p, li { white-space: pre-wrap; }\n"
+"</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
+"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Copyright (C) 2012</p>\n"
+"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Shrew Soft Inc.</p>\n"
+"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">All rights reserved.</p>\n"
+"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
+"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-bloc"
+                        "k-indent:0; text-indent:0px;\">Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p>\n"
+"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
+"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</p>\n"
+"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
+"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/"
+                        "or other materials provided with the distribution.</p>\n"
+"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
+"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">3) Redistributions in any form must be accompanied by information on how to obtain complete source code for the software and any accompanying software that uses the software.  The source code must either be included in the distribution or be available for no more than the cost of distribution plus a nominal fee, and must be freely redistributable under reasonable conditions.  For an executable file, complete source code means the source code for all modules it contains.  It does not include source code for modules or files that typically accompany the major components of the operating system on which the executable file runs.</p>\n"
+"<p style=\"-qt-paragraph-type:empty; margin-top:"
+                        "0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
+"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">THIS SOFTWARE IS PROVIDED BY SHREW SOFT INC ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE DISCLAIMED.  IN NO EVENT SHALL SHREW SOFT INC BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p></body></html>", 0, QApplication::UnicodeUTF8));
+        buttonOk->setText(QApplication::translate("qikeaAbout", "&Ok", 0, QApplication::UnicodeUTF8));
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class qikeaAbout: public Ui_qikeaAbout {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_ABOUT_H
diff -ruN ike.orig/source/qikea/ui_conflict.h ike/source/qikea/ui_conflict.h
--- ike.orig/source/qikea/ui_conflict.h	1970-01-01 01:00:00.000000000 +0100
+++ ike/source/qikea/ui_conflict.h	2016-11-10 15:07:02.000000000 +0100
@@ -0,0 +1,107 @@
+/********************************************************************************
+** Form generated from reading UI file 'conflict.ui'
+**
+** Created by: Qt User Interface Compiler version 4.8.7
+**
+** WARNING! All changes made in this file will be lost when recompiling UI file!
+********************************************************************************/
+
+#ifndef UI_CONFLICT_H
+#define UI_CONFLICT_H
+
+#include <QtCore/QVariant>
+#include <QtGui/QAction>
+#include <QtGui/QApplication>
+#include <QtGui/QButtonGroup>
+#include <QtGui/QDialog>
+#include <QtGui/QHBoxLayout>
+#include <QtGui/QHeaderView>
+#include <QtGui/QLabel>
+#include <QtGui/QLineEdit>
+#include <QtGui/QPushButton>
+#include <QtGui/QSpacerItem>
+#include <QtGui/QVBoxLayout>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_qikeaConflict
+{
+public:
+    QVBoxLayout *vboxLayout;
+    QLabel *textConflictMessage;
+    QLineEdit *lineConflictName;
+    QHBoxLayout *hboxLayout;
+    QSpacerItem *spacerItem;
+    QPushButton *buttonOverwrite;
+    QPushButton *buttonContinue;
+
+    void setupUi(QDialog *qikeaConflict)
+    {
+        if (qikeaConflict->objectName().isEmpty())
+            qikeaConflict->setObjectName(QString::fromUtf8("qikeaConflict"));
+        qikeaConflict->resize(292, 99);
+        QIcon icon;
+        icon.addFile(QString::fromUtf8(":/png/ikea.png"), QSize(), QIcon::Normal, QIcon::Off);
+        qikeaConflict->setWindowIcon(icon);
+        vboxLayout = new QVBoxLayout(qikeaConflict);
+        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
+        textConflictMessage = new QLabel(qikeaConflict);
+        textConflictMessage->setObjectName(QString::fromUtf8("textConflictMessage"));
+        textConflictMessage->setAlignment(Qt::AlignVCenter);
+        textConflictMessage->setWordWrap(true);
+
+        vboxLayout->addWidget(textConflictMessage);
+
+        lineConflictName = new QLineEdit(qikeaConflict);
+        lineConflictName->setObjectName(QString::fromUtf8("lineConflictName"));
+
+        vboxLayout->addWidget(lineConflictName);
+
+        hboxLayout = new QHBoxLayout();
+        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
+        spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
+
+        hboxLayout->addItem(spacerItem);
+
+        buttonOverwrite = new QPushButton(qikeaConflict);
+        buttonOverwrite->setObjectName(QString::fromUtf8("buttonOverwrite"));
+        buttonOverwrite->setAutoDefault(false);
+        buttonOverwrite->setDefault(false);
+
+        hboxLayout->addWidget(buttonOverwrite);
+
+        buttonContinue = new QPushButton(qikeaConflict);
+        buttonContinue->setObjectName(QString::fromUtf8("buttonContinue"));
+        buttonContinue->setAutoDefault(true);
+        buttonContinue->setDefault(true);
+
+        hboxLayout->addWidget(buttonContinue);
+
+
+        vboxLayout->addLayout(hboxLayout);
+
+
+        retranslateUi(qikeaConflict);
+
+        QMetaObject::connectSlotsByName(qikeaConflict);
+    } // setupUi
+
+    void retranslateUi(QDialog *qikeaConflict)
+    {
+        qikeaConflict->setWindowTitle(QApplication::translate("qikeaConflict", "Naming Conflict Detected", 0, QApplication::UnicodeUTF8));
+        textConflictMessage->setText(QApplication::translate("qikeaConflict", "A file with the same name already exists. Please select overwrite or enter a different name to continue.", 0, QApplication::UnicodeUTF8));
+        buttonOverwrite->setText(QApplication::translate("qikeaConflict", "&Overwrite", 0, QApplication::UnicodeUTF8));
+        buttonOverwrite->setShortcut(QApplication::translate("qikeaConflict", "Alt+O", 0, QApplication::UnicodeUTF8));
+        buttonContinue->setText(QApplication::translate("qikeaConflict", "&Continue", 0, QApplication::UnicodeUTF8));
+        buttonContinue->setShortcut(QApplication::translate("qikeaConflict", "Alt+C", 0, QApplication::UnicodeUTF8));
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class qikeaConflict: public Ui_qikeaConflict {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_CONFLICT_H
diff -ruN ike.orig/source/qikea/ui_root.h ike/source/qikea/ui_root.h
--- ike.orig/source/qikea/ui_root.h	1970-01-01 01:00:00.000000000 +0100
+++ ike/source/qikea/ui_root.h	2016-11-10 15:07:02.000000000 +0100
@@ -0,0 +1,239 @@
+/********************************************************************************
+** Form generated from reading UI file 'root.ui'
+**
+** Created by: Qt User Interface Compiler version 4.8.7
+**
+** WARNING! All changes made in this file will be lost when recompiling UI file!
+********************************************************************************/
+
+#ifndef UI_ROOT_H
+#define UI_ROOT_H
+
+#include <QtCore/QVariant>
+#include <QtGui/QAction>
+#include <QtGui/QApplication>
+#include <QtGui/QButtonGroup>
+#include <QtGui/QHeaderView>
+#include <QtGui/QListWidget>
+#include <QtGui/QMainWindow>
+#include <QtGui/QMenu>
+#include <QtGui/QMenuBar>
+#include <QtGui/QToolBar>
+#include <QtGui/QVBoxLayout>
+#include <QtGui/QWidget>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_qikeaRoot
+{
+public:
+    QAction *actionConnect;
+    QAction *actionAdd;
+    QAction *actionDelete;
+    QAction *actionModify;
+    QAction *actionImport;
+    QAction *actionExport;
+    QAction *actionExit;
+    QAction *actionRename;
+    QAction *actionAbout;
+    QAction *actionLarge_Icons;
+    QAction *actionViewLarge;
+    QAction *actionViewSmall;
+    QAction *actionViewDetail;
+    QAction *actionViewToolBar;
+    QWidget *centralwidget;
+    QVBoxLayout *vboxLayout;
+    QListWidget *listWidgetSites;
+    QMenuBar *menubar;
+    QMenu *menuFile;
+    QMenu *menuEdit;
+    QMenu *menuHelp;
+    QMenu *menuView;
+    QToolBar *toolBar;
+
+    void setupUi(QMainWindow *qikeaRoot)
+    {
+        if (qikeaRoot->objectName().isEmpty())
+            qikeaRoot->setObjectName(QString::fromUtf8("qikeaRoot"));
+        qikeaRoot->resize(380, 270);
+        QIcon icon;
+        icon.addFile(QString::fromUtf8(":/png/ikea.png"), QSize(), QIcon::Normal, QIcon::Off);
+        qikeaRoot->setWindowIcon(icon);
+        qikeaRoot->setStyleSheet(QString::fromUtf8(""));
+        actionConnect = new QAction(qikeaRoot);
+        actionConnect->setObjectName(QString::fromUtf8("actionConnect"));
+        QIcon icon1;
+        icon1.addFile(QString::fromUtf8(":/png/site_con.png"), QSize(), QIcon::Normal, QIcon::Off);
+        actionConnect->setIcon(icon1);
+        actionAdd = new QAction(qikeaRoot);
+        actionAdd->setObjectName(QString::fromUtf8("actionAdd"));
+        QIcon icon2;
+        icon2.addFile(QString::fromUtf8(":/png/site_add.png"), QSize(), QIcon::Normal, QIcon::Off);
+        actionAdd->setIcon(icon2);
+        actionDelete = new QAction(qikeaRoot);
+        actionDelete->setObjectName(QString::fromUtf8("actionDelete"));
+        QIcon icon3;
+        icon3.addFile(QString::fromUtf8(":/png/site_del.png"), QSize(), QIcon::Normal, QIcon::Off);
+        actionDelete->setIcon(icon3);
+        actionModify = new QAction(qikeaRoot);
+        actionModify->setObjectName(QString::fromUtf8("actionModify"));
+        QIcon icon4;
+        icon4.addFile(QString::fromUtf8(":/png/site_mod.png"), QSize(), QIcon::Normal, QIcon::Off);
+        actionModify->setIcon(icon4);
+        actionImport = new QAction(qikeaRoot);
+        actionImport->setObjectName(QString::fromUtf8("actionImport"));
+        actionExport = new QAction(qikeaRoot);
+        actionExport->setObjectName(QString::fromUtf8("actionExport"));
+        actionExit = new QAction(qikeaRoot);
+        actionExit->setObjectName(QString::fromUtf8("actionExit"));
+        actionRename = new QAction(qikeaRoot);
+        actionRename->setObjectName(QString::fromUtf8("actionRename"));
+        actionAbout = new QAction(qikeaRoot);
+        actionAbout->setObjectName(QString::fromUtf8("actionAbout"));
+        actionLarge_Icons = new QAction(qikeaRoot);
+        actionLarge_Icons->setObjectName(QString::fromUtf8("actionLarge_Icons"));
+        actionViewLarge = new QAction(qikeaRoot);
+        actionViewLarge->setObjectName(QString::fromUtf8("actionViewLarge"));
+        actionViewLarge->setCheckable(true);
+        actionViewLarge->setChecked(true);
+        actionViewSmall = new QAction(qikeaRoot);
+        actionViewSmall->setObjectName(QString::fromUtf8("actionViewSmall"));
+        actionViewSmall->setCheckable(true);
+        actionViewDetail = new QAction(qikeaRoot);
+        actionViewDetail->setObjectName(QString::fromUtf8("actionViewDetail"));
+        actionViewToolBar = new QAction(qikeaRoot);
+        actionViewToolBar->setObjectName(QString::fromUtf8("actionViewToolBar"));
+        actionViewToolBar->setCheckable(true);
+        actionViewToolBar->setChecked(true);
+        centralwidget = new QWidget(qikeaRoot);
+        centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
+        vboxLayout = new QVBoxLayout(centralwidget);
+        vboxLayout->setSpacing(0);
+        vboxLayout->setContentsMargins(0, 0, 0, 0);
+        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
+        listWidgetSites = new QListWidget(centralwidget);
+        listWidgetSites->setObjectName(QString::fromUtf8("listWidgetSites"));
+        listWidgetSites->setContextMenuPolicy(Qt::CustomContextMenu);
+        listWidgetSites->setEditTriggers(QAbstractItemView::EditKeyPressed);
+        listWidgetSites->setMovement(QListView::Static);
+        listWidgetSites->setResizeMode(QListView::Adjust);
+        listWidgetSites->setViewMode(QListView::IconMode);
+        listWidgetSites->setUniformItemSizes(true);
+        listWidgetSites->setSortingEnabled(true);
+
+        vboxLayout->addWidget(listWidgetSites);
+
+        qikeaRoot->setCentralWidget(centralwidget);
+        menubar = new QMenuBar(qikeaRoot);
+        menubar->setObjectName(QString::fromUtf8("menubar"));
+        menubar->setGeometry(QRect(0, 0, 380, 24));
+        menuFile = new QMenu(menubar);
+        menuFile->setObjectName(QString::fromUtf8("menuFile"));
+        menuEdit = new QMenu(menubar);
+        menuEdit->setObjectName(QString::fromUtf8("menuEdit"));
+        menuHelp = new QMenu(menubar);
+        menuHelp->setObjectName(QString::fromUtf8("menuHelp"));
+        menuView = new QMenu(menubar);
+        menuView->setObjectName(QString::fromUtf8("menuView"));
+        qikeaRoot->setMenuBar(menubar);
+        toolBar = new QToolBar(qikeaRoot);
+        toolBar->setObjectName(QString::fromUtf8("toolBar"));
+        toolBar->setFocusPolicy(Qt::TabFocus);
+        toolBar->setAutoFillBackground(false);
+        toolBar->setMovable(true);
+        toolBar->setIconSize(QSize(32, 32));
+        toolBar->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
+        qikeaRoot->addToolBar(Qt::TopToolBarArea, toolBar);
+
+        menubar->addAction(menuFile->menuAction());
+        menubar->addAction(menuEdit->menuAction());
+        menubar->addAction(menuView->menuAction());
+        menubar->addAction(menuHelp->menuAction());
+        menuFile->addAction(actionConnect);
+        menuFile->addSeparator();
+        menuFile->addAction(actionImport);
+        menuFile->addAction(actionExport);
+        menuFile->addSeparator();
+        menuFile->addAction(actionExit);
+        menuEdit->addAction(actionAdd);
+        menuEdit->addAction(actionDelete);
+        menuEdit->addAction(actionRename);
+        menuEdit->addSeparator();
+        menuEdit->addAction(actionModify);
+        menuHelp->addAction(actionAbout);
+        menuView->addAction(actionViewLarge);
+        menuView->addAction(actionViewSmall);
+        menuView->addSeparator();
+        toolBar->addAction(actionConnect);
+        toolBar->addSeparator();
+        toolBar->addAction(actionAdd);
+        toolBar->addAction(actionModify);
+        toolBar->addAction(actionDelete);
+
+        retranslateUi(qikeaRoot);
+
+        QMetaObject::connectSlotsByName(qikeaRoot);
+    } // setupUi
+
+    void retranslateUi(QMainWindow *qikeaRoot)
+    {
+        qikeaRoot->setWindowTitle(QApplication::translate("qikeaRoot", "Shrew Soft VPN Access Manager", 0, QApplication::UnicodeUTF8));
+        actionConnect->setText(QApplication::translate("qikeaRoot", "&Connect", 0, QApplication::UnicodeUTF8));
+        actionConnect->setIconText(QApplication::translate("qikeaRoot", "Connect", 0, QApplication::UnicodeUTF8));
+#ifndef QT_NO_TOOLTIP
+        actionConnect->setToolTip(QApplication::translate("qikeaRoot", "Connect using this site configuration", 0, QApplication::UnicodeUTF8));
+#endif // QT_NO_TOOLTIP
+        actionAdd->setText(QApplication::translate("qikeaRoot", "&Add", 0, QApplication::UnicodeUTF8));
+        actionAdd->setIconText(QApplication::translate("qikeaRoot", "Add", 0, QApplication::UnicodeUTF8));
+#ifndef QT_NO_TOOLTIP
+        actionAdd->setToolTip(QApplication::translate("qikeaRoot", "Add a new site configuration", 0, QApplication::UnicodeUTF8));
+#endif // QT_NO_TOOLTIP
+        actionDelete->setText(QApplication::translate("qikeaRoot", "&Delete", 0, QApplication::UnicodeUTF8));
+        actionDelete->setIconText(QApplication::translate("qikeaRoot", "Delete", 0, QApplication::UnicodeUTF8));
+#ifndef QT_NO_TOOLTIP
+        actionDelete->setToolTip(QApplication::translate("qikeaRoot", "Delete this site configuration", 0, QApplication::UnicodeUTF8));
+#endif // QT_NO_TOOLTIP
+        actionModify->setText(QApplication::translate("qikeaRoot", "&Modify", 0, QApplication::UnicodeUTF8));
+        actionModify->setIconText(QApplication::translate("qikeaRoot", "Modify", 0, QApplication::UnicodeUTF8));
+#ifndef QT_NO_TOOLTIP
+        actionModify->setToolTip(QApplication::translate("qikeaRoot", "Modify this site configuration", 0, QApplication::UnicodeUTF8));
+#endif // QT_NO_TOOLTIP
+        actionImport->setText(QApplication::translate("qikeaRoot", "Import", 0, QApplication::UnicodeUTF8));
+        actionExport->setText(QApplication::translate("qikeaRoot", "Export", 0, QApplication::UnicodeUTF8));
+        actionExit->setText(QApplication::translate("qikeaRoot", "Exit", 0, QApplication::UnicodeUTF8));
+        actionRename->setText(QApplication::translate("qikeaRoot", "Rename", 0, QApplication::UnicodeUTF8));
+        actionAbout->setText(QApplication::translate("qikeaRoot", "About", 0, QApplication::UnicodeUTF8));
+        actionLarge_Icons->setText(QApplication::translate("qikeaRoot", "Large Icons", 0, QApplication::UnicodeUTF8));
+        actionViewLarge->setText(QApplication::translate("qikeaRoot", "Large Icons", 0, QApplication::UnicodeUTF8));
+        actionViewLarge->setIconText(QApplication::translate("qikeaRoot", "&Large Icons", 0, QApplication::UnicodeUTF8));
+#ifndef QT_NO_TOOLTIP
+        actionViewLarge->setToolTip(QApplication::translate("qikeaRoot", "Large Icon View", 0, QApplication::UnicodeUTF8));
+#endif // QT_NO_TOOLTIP
+        actionViewSmall->setText(QApplication::translate("qikeaRoot", "Small Icons", 0, QApplication::UnicodeUTF8));
+        actionViewSmall->setIconText(QApplication::translate("qikeaRoot", "&Small Icons", 0, QApplication::UnicodeUTF8));
+#ifndef QT_NO_TOOLTIP
+        actionViewSmall->setToolTip(QApplication::translate("qikeaRoot", "Small Icon View", 0, QApplication::UnicodeUTF8));
+#endif // QT_NO_TOOLTIP
+        actionViewDetail->setText(QApplication::translate("qikeaRoot", "Details", 0, QApplication::UnicodeUTF8));
+        actionViewDetail->setIconText(QApplication::translate("qikeaRoot", "&Details", 0, QApplication::UnicodeUTF8));
+#ifndef QT_NO_TOOLTIP
+        actionViewDetail->setToolTip(QApplication::translate("qikeaRoot", "Detailed View", 0, QApplication::UnicodeUTF8));
+#endif // QT_NO_TOOLTIP
+        actionViewToolBar->setText(QApplication::translate("qikeaRoot", "Toolbar", 0, QApplication::UnicodeUTF8));
+        actionViewToolBar->setIconText(QApplication::translate("qikeaRoot", "&Toolbar", 0, QApplication::UnicodeUTF8));
+        menuFile->setTitle(QApplication::translate("qikeaRoot", "&File", 0, QApplication::UnicodeUTF8));
+        menuEdit->setTitle(QApplication::translate("qikeaRoot", "&Edit", 0, QApplication::UnicodeUTF8));
+        menuHelp->setTitle(QApplication::translate("qikeaRoot", "&Help", 0, QApplication::UnicodeUTF8));
+        menuView->setTitle(QApplication::translate("qikeaRoot", "&View", 0, QApplication::UnicodeUTF8));
+        toolBar->setWindowTitle(QApplication::translate("qikeaRoot", "toolBar", 0, QApplication::UnicodeUTF8));
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class qikeaRoot: public Ui_qikeaRoot {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_ROOT_H
diff -ruN ike.orig/source/qikea/ui_site.h ike/source/qikea/ui_site.h
--- ike.orig/source/qikea/ui_site.h	1970-01-01 01:00:00.000000000 +0100
+++ ike/source/qikea/ui_site.h	2016-11-10 15:07:02.000000000 +0100
@@ -0,0 +1,1818 @@
+/********************************************************************************
+** Form generated from reading UI file 'site.ui'
+**
+** Created by: Qt User Interface Compiler version 4.8.7
+**
+** WARNING! All changes made in this file will be lost when recompiling UI file!
+********************************************************************************/
+
+#ifndef UI_SITE_H
+#define UI_SITE_H
+
+#include <QtCore/QVariant>
+#include <QtGui/QAction>
+#include <QtGui/QApplication>
+#include <QtGui/QButtonGroup>
+#include <QtGui/QCheckBox>
+#include <QtGui/QComboBox>
+#include <QtGui/QDialog>
+#include <QtGui/QGridLayout>
+#include <QtGui/QGroupBox>
+#include <QtGui/QHBoxLayout>
+#include <QtGui/QHeaderView>
+#include <QtGui/QLabel>
+#include <QtGui/QLineEdit>
+#include <QtGui/QPushButton>
+#include <QtGui/QSpacerItem>
+#include <QtGui/QTabWidget>
+#include <QtGui/QToolButton>
+#include <QtGui/QTreeWidget>
+#include <QtGui/QVBoxLayout>
+#include <QtGui/QWidget>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_qikeaSite
+{
+public:
+    QVBoxLayout *vboxLayout;
+    QTabWidget *tabWidget;
+    QWidget *tabGeneral;
+    QVBoxLayout *vboxLayout1;
+    QGroupBox *groupBoxRemoteHost;
+    QVBoxLayout *vboxLayout2;
+    QHBoxLayout *hboxLayout;
+    QVBoxLayout *vboxLayout3;
+    QLabel *textLabelHost;
+    QLineEdit *lineEditHost;
+    QVBoxLayout *vboxLayout4;
+    QLabel *textLabelPort;
+    QLineEdit *lineEditPort;
+    QHBoxLayout *hboxLayout1;
+    QLabel *textLabelConfigMethod;
+    QComboBox *comboBoxConfigMethod;
+    QGroupBox *groupBoxLocalHost;
+    QGridLayout *gridLayout;
+    QVBoxLayout *vboxLayout5;
+    QLabel *textLabelAddressMethod;
+    QComboBox *comboBoxAddressMethod;
+    QVBoxLayout *vboxLayout6;
+    QSpacerItem *spacerItem;
+    QLabel *textLabelMTU;
+    QLineEdit *lineEditMTU;
+    QHBoxLayout *hboxLayout2;
+    QSpacerItem *spacerItem1;
+    QVBoxLayout *vboxLayout7;
+    QCheckBox *checkBoxAddressAuto;
+    QHBoxLayout *hboxLayout3;
+    QLabel *textLabelAddress;
+    QLineEdit *lineEditAddress;
+    QHBoxLayout *hboxLayout4;
+    QLabel *textLabelNetmask;
+    QLineEdit *lineEditNetmask;
+    QSpacerItem *spacerItem2;
+    QWidget *tabClient;
+    QVBoxLayout *vboxLayout8;
+    QGroupBox *groupBoxFirewall;
+    QVBoxLayout *vboxLayout9;
+    QHBoxLayout *hboxLayout5;
+    QLabel *textLabelNATTMode;
+    QComboBox *comboBoxNATTMode;
+    QHBoxLayout *hboxLayout6;
+    QLabel *textLabelNATTPort;
+    QHBoxLayout *hboxLayout7;
+    QLineEdit *lineEditNATTPort;
+    QLabel *label;
+    QHBoxLayout *hboxLayout8;
+    QLabel *textLabelNATTRate;
+    QHBoxLayout *hboxLayout9;
+    QLineEdit *lineEditNATTRate;
+    QLabel *textLabelNATTSecs;
+    QHBoxLayout *hboxLayout10;
+    QLabel *textLabelFragMode;
+    QComboBox *comboBoxFragMode;
+    QHBoxLayout *hboxLayout11;
+    QLabel *textLabelFragSize;
+    QHBoxLayout *hboxLayout12;
+    QLineEdit *lineEditFragSize;
+    QLabel *textLabelFragBytes;
+    QGroupBox *groupBoxOther;
+    QVBoxLayout *vboxLayout10;
+    QCheckBox *checkBoxDPD;
+    QCheckBox *checkBoxNotify;
+    QCheckBox *checkBoxBanner;
+    QSpacerItem *spacerItem3;
+    QWidget *tabNameResolution;
+    QGridLayout *gridLayout1;
+    QHBoxLayout *hboxLayout13;
+    QCheckBox *checkBoxDNSEnable;
+    QCheckBox *checkBoxDNSAuto;
+    QHBoxLayout *hboxLayout14;
+    QLabel *textLabelDNSServer1;
+    QLineEdit *lineEditDNSServer1;
+    QHBoxLayout *hboxLayout15;
+    QLabel *textLabelDNSServer2;
+    QLineEdit *lineEditDNSServer2;
+    QHBoxLayout *hboxLayout16;
+    QLabel *textLabelDNSServer3;
+    QLineEdit *lineEditDNSServer3;
+    QHBoxLayout *hboxLayout17;
+    QLabel *textLabelDNSServer4;
+    QLineEdit *lineEditDNSServer4;
+    QCheckBox *checkBoxSuffixAuto;
+    QHBoxLayout *hboxLayout18;
+    QLabel *textLabelDNSSuffix;
+    QLineEdit *lineEditDNSSuffix;
+    QSpacerItem *spacerItem4;
+    QWidget *tabAuthentication;
+    QVBoxLayout *vboxLayout11;
+    QHBoxLayout *hboxLayout19;
+    QLabel *textLabelAuthMethod;
+    QComboBox *comboBoxAuthMethod;
+    QTabWidget *tabWidgetAuthInfo;
+    QWidget *tab;
+    QVBoxLayout *vboxLayout12;
+    QLabel *textLabelLocalIDType;
+    QComboBox *comboBoxLocalIDType;
+    QLabel *textLabelLocalIDData;
+    QLineEdit *lineEditLocalIDData;
+    QCheckBox *checkBoxLocalIDOption;
+    QSpacerItem *spacerItem5;
+    QWidget *tab_2;
+    QVBoxLayout *vboxLayout13;
+    QLabel *textLabelRemoteIDType;
+    QComboBox *comboBoxRemoteIDType;
+    QLabel *textLabelRemoteIDData;
+    QLineEdit *lineEditRemoteIDData;
+    QCheckBox *checkBoxRemoteIDOption;
+    QSpacerItem *spacerItem6;
+    QWidget *TabPage;
+    QVBoxLayout *vboxLayout14;
+    QLabel *textLabelCAFile;
+    QHBoxLayout *hboxLayout20;
+    QLineEdit *lineEditCAName;
+    QToolButton *toolButtonCAFile;
+    QLabel *textLabelCertFile;
+    QHBoxLayout *hboxLayout21;
+    QLineEdit *lineEditCertName;
+    QToolButton *toolButtonCertFile;
+    QLabel *textLabelPKeyFile;
+    QHBoxLayout *hboxLayout22;
+    QLineEdit *lineEditPKeyName;
+    QToolButton *toolButtonPKeyFile;
+    QLabel *textLabelPSK;
+    QLineEdit *lineEditPSK;
+    QSpacerItem *spacerItem7;
+    QSpacerItem *spacerItem8;
+    QWidget *tabPhase1;
+    QVBoxLayout *vboxLayout15;
+    QGroupBox *groupBoxP1Proposal;
+    QVBoxLayout *vboxLayout16;
+    QHBoxLayout *hboxLayout23;
+    QLabel *textLabelP1Exchange;
+    QComboBox *comboBoxP1Exchange;
+    QHBoxLayout *hboxLayout24;
+    QLabel *textLabelP1DHGroup;
+    QComboBox *comboBoxP1DHGroup;
+    QHBoxLayout *hboxLayout25;
+    QLabel *textLabelP1Cipher;
+    QComboBox *comboBoxP1Cipher;
+    QHBoxLayout *hboxLayout26;
+    QLabel *textLabelP1Keylen;
+    QHBoxLayout *hboxLayout27;
+    QComboBox *comboBoxP1Keylen;
+    QLabel *textLabelP1KeyBits;
+    QHBoxLayout *hboxLayout28;
+    QLabel *textLabelP1Hash;
+    QComboBox *comboBoxP1Hash;
+    QHBoxLayout *hboxLayout29;
+    QLabel *textLabelP1LifeTime;
+    QHBoxLayout *hboxLayout30;
+    QLineEdit *lineEditP1LifeTime;
+    QLabel *textLabelLifeSecs;
+    QHBoxLayout *hboxLayout31;
+    QLabel *textLabelLifeData;
+    QHBoxLayout *hboxLayout32;
+    QLineEdit *lineEditP1LifeData;
+    QLabel *textLabelLifeKBs;
+    QCheckBox *checkBoxCheckpointID;
+    QSpacerItem *spacerItem9;
+    QWidget *tabPhase2;
+    QVBoxLayout *vboxLayout17;
+    QGroupBox *groupBoxP2Proposal;
+    QVBoxLayout *vboxLayout18;
+    QHBoxLayout *hboxLayout33;
+    QLabel *textLabelP2Transform;
+    QComboBox *comboBoxP2Transform;
+    QHBoxLayout *hboxLayout34;
+    QLabel *textLabelP2Keylen;
+    QHBoxLayout *hboxLayout35;
+    QComboBox *comboBoxP2Keylen;
+    QLabel *textLabelP2KeyBits;
+    QHBoxLayout *hboxLayout36;
+    QLabel *textLabelP2HMAC;
+    QComboBox *comboBoxP2HMAC;
+    QHBoxLayout *hboxLayout37;
+    QLabel *textLabelP2PFSGroup;
+    QComboBox *comboBoxP2PFSGroup;
+    QHBoxLayout *hboxLayout38;
+    QLabel *textLabelP2Compress;
+    QComboBox *comboBoxP2Compress;
+    QHBoxLayout *hboxLayout39;
+    QLabel *textLabelP2LifeTime;
+    QHBoxLayout *hboxLayout40;
+    QLineEdit *lineEditP2LifeTime;
+    QLabel *textLabelP2LifeSecs;
+    QHBoxLayout *hboxLayout41;
+    QLabel *textLabelP2LifeData;
+    QHBoxLayout *hboxLayout42;
+    QLineEdit *lineEditP2LifeData;
+    QLabel *textLabelP2LifeKBs;
+    QSpacerItem *spacerItem10;
+    QWidget *tabPolicy;
+    QVBoxLayout *vboxLayout19;
+    QGroupBox *groupBoxPolicy;
+    QVBoxLayout *verticalLayout;
+    QHBoxLayout *horizontalLayout;
+    QLabel *textLabelPolicyLevel;
+    QComboBox *comboBoxPolicyLevel;
+    QCheckBox *checkBoxPolicyNailed;
+    QCheckBox *checkBoxPolicyAuto;
+    QTreeWidget *treeWidgetPolicies;
+    QHBoxLayout *hboxLayout43;
+    QPushButton *pushButtonPolicyAdd;
+    QPushButton *pushButtonPolicyMod;
+    QPushButton *pushButtonPolicyDel;
+    QHBoxLayout *hboxLayout44;
+    QSpacerItem *spacerItem11;
+    QPushButton *buttonSave;
+    QPushButton *buttonCancel;
+
+    void setupUi(QDialog *qikeaSite)
+    {
+        if (qikeaSite->objectName().isEmpty())
+            qikeaSite->setObjectName(QString::fromUtf8("qikeaSite"));
+        qikeaSite->setWindowModality(Qt::ApplicationModal);
+        qikeaSite->resize(318, 376);
+        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
+        sizePolicy.setHorizontalStretch(0);
+        sizePolicy.setVerticalStretch(0);
+        sizePolicy.setHeightForWidth(qikeaSite->sizePolicy().hasHeightForWidth());
+        qikeaSite->setSizePolicy(sizePolicy);
+        QIcon icon;
+        icon.addFile(QString::fromUtf8(":/png/site_mod.png"), QSize(), QIcon::Normal, QIcon::Off);
+        qikeaSite->setWindowIcon(icon);
+        qikeaSite->setAutoFillBackground(true);
+        qikeaSite->setSizeGripEnabled(false);
+        qikeaSite->setModal(true);
+        vboxLayout = new QVBoxLayout(qikeaSite);
+        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
+        tabWidget = new QTabWidget(qikeaSite);
+        tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
+        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Expanding);
+        sizePolicy1.setHorizontalStretch(0);
+        sizePolicy1.setVerticalStretch(0);
+        sizePolicy1.setHeightForWidth(tabWidget->sizePolicy().hasHeightForWidth());
+        tabWidget->setSizePolicy(sizePolicy1);
+        tabGeneral = new QWidget();
+        tabGeneral->setObjectName(QString::fromUtf8("tabGeneral"));
+        vboxLayout1 = new QVBoxLayout(tabGeneral);
+        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
+        groupBoxRemoteHost = new QGroupBox(tabGeneral);
+        groupBoxRemoteHost->setObjectName(QString::fromUtf8("groupBoxRemoteHost"));
+        vboxLayout2 = new QVBoxLayout(groupBoxRemoteHost);
+        vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
+        hboxLayout = new QHBoxLayout();
+        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
+        vboxLayout3 = new QVBoxLayout();
+        vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3"));
+        textLabelHost = new QLabel(groupBoxRemoteHost);
+        textLabelHost->setObjectName(QString::fromUtf8("textLabelHost"));
+        textLabelHost->setWordWrap(false);
+
+        vboxLayout3->addWidget(textLabelHost);
+
+        lineEditHost = new QLineEdit(groupBoxRemoteHost);
+        lineEditHost->setObjectName(QString::fromUtf8("lineEditHost"));
+        QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Preferred);
+        sizePolicy2.setHorizontalStretch(1);
+        sizePolicy2.setVerticalStretch(0);
+        sizePolicy2.setHeightForWidth(lineEditHost->sizePolicy().hasHeightForWidth());
+        lineEditHost->setSizePolicy(sizePolicy2);
+
+        vboxLayout3->addWidget(lineEditHost);
+
+
+        hboxLayout->addLayout(vboxLayout3);
+
+        vboxLayout4 = new QVBoxLayout();
+        vboxLayout4->setObjectName(QString::fromUtf8("vboxLayout4"));
+        textLabelPort = new QLabel(groupBoxRemoteHost);
+        textLabelPort->setObjectName(QString::fromUtf8("textLabelPort"));
+        textLabelPort->setWordWrap(false);
+
+        vboxLayout4->addWidget(textLabelPort);
+
+        lineEditPort = new QLineEdit(groupBoxRemoteHost);
+        lineEditPort->setObjectName(QString::fromUtf8("lineEditPort"));
+        QSizePolicy sizePolicy3(QSizePolicy::Fixed, QSizePolicy::Preferred);
+        sizePolicy3.setHorizontalStretch(0);
+        sizePolicy3.setVerticalStretch(0);
+        sizePolicy3.setHeightForWidth(lineEditPort->sizePolicy().hasHeightForWidth());
+        lineEditPort->setSizePolicy(sizePolicy3);
+        lineEditPort->setMaximumSize(QSize(50, 16777215));
+        lineEditPort->setAlignment(Qt::AlignRight);
+
+        vboxLayout4->addWidget(lineEditPort);
+
+
+        hboxLayout->addLayout(vboxLayout4);
+
+
+        vboxLayout2->addLayout(hboxLayout);
+
+        hboxLayout1 = new QHBoxLayout();
+        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
+        textLabelConfigMethod = new QLabel(groupBoxRemoteHost);
+        textLabelConfigMethod->setObjectName(QString::fromUtf8("textLabelConfigMethod"));
+        textLabelConfigMethod->setWordWrap(false);
+
+        hboxLayout1->addWidget(textLabelConfigMethod);
+
+        comboBoxConfigMethod = new QComboBox(groupBoxRemoteHost);
+        comboBoxConfigMethod->setObjectName(QString::fromUtf8("comboBoxConfigMethod"));
+
+        hboxLayout1->addWidget(comboBoxConfigMethod);
+
+
+        vboxLayout2->addLayout(hboxLayout1);
+
+
+        vboxLayout1->addWidget(groupBoxRemoteHost);
+
+        groupBoxLocalHost = new QGroupBox(tabGeneral);
+        groupBoxLocalHost->setObjectName(QString::fromUtf8("groupBoxLocalHost"));
+        gridLayout = new QGridLayout(groupBoxLocalHost);
+        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
+        vboxLayout5 = new QVBoxLayout();
+        vboxLayout5->setObjectName(QString::fromUtf8("vboxLayout5"));
+        textLabelAddressMethod = new QLabel(groupBoxLocalHost);
+        textLabelAddressMethod->setObjectName(QString::fromUtf8("textLabelAddressMethod"));
+        textLabelAddressMethod->setWordWrap(false);
+
+        vboxLayout5->addWidget(textLabelAddressMethod);
+
+        comboBoxAddressMethod = new QComboBox(groupBoxLocalHost);
+        comboBoxAddressMethod->setObjectName(QString::fromUtf8("comboBoxAddressMethod"));
+
+        vboxLayout5->addWidget(comboBoxAddressMethod);
+
+
+        gridLayout->addLayout(vboxLayout5, 0, 0, 1, 2);
+
+        vboxLayout6 = new QVBoxLayout();
+        vboxLayout6->setObjectName(QString::fromUtf8("vboxLayout6"));
+        spacerItem = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
+
+        vboxLayout6->addItem(spacerItem);
+
+        textLabelMTU = new QLabel(groupBoxLocalHost);
+        textLabelMTU->setObjectName(QString::fromUtf8("textLabelMTU"));
+        textLabelMTU->setWordWrap(false);
+
+        vboxLayout6->addWidget(textLabelMTU);
+
+        lineEditMTU = new QLineEdit(groupBoxLocalHost);
+        lineEditMTU->setObjectName(QString::fromUtf8("lineEditMTU"));
+        lineEditMTU->setMaximumSize(QSize(50, 16777215));
+        lineEditMTU->setAlignment(Qt::AlignRight);
+
+        vboxLayout6->addWidget(lineEditMTU);
+
+
+        gridLayout->addLayout(vboxLayout6, 1, 0, 1, 1);
+
+        hboxLayout2 = new QHBoxLayout();
+        hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
+        spacerItem1 = new QSpacerItem(20, 20, QSizePolicy::Preferred, QSizePolicy::Minimum);
+
+        hboxLayout2->addItem(spacerItem1);
+
+        vboxLayout7 = new QVBoxLayout();
+        vboxLayout7->setObjectName(QString::fromUtf8("vboxLayout7"));
+        checkBoxAddressAuto = new QCheckBox(groupBoxLocalHost);
+        checkBoxAddressAuto->setObjectName(QString::fromUtf8("checkBoxAddressAuto"));
+        checkBoxAddressAuto->setChecked(true);
+
+        vboxLayout7->addWidget(checkBoxAddressAuto);
+
+        hboxLayout3 = new QHBoxLayout();
+        hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
+        textLabelAddress = new QLabel(groupBoxLocalHost);
+        textLabelAddress->setObjectName(QString::fromUtf8("textLabelAddress"));
+        sizePolicy.setHeightForWidth(textLabelAddress->sizePolicy().hasHeightForWidth());
+        textLabelAddress->setSizePolicy(sizePolicy);
+        textLabelAddress->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
+        textLabelAddress->setWordWrap(false);
+
+        hboxLayout3->addWidget(textLabelAddress);
+
+        lineEditAddress = new QLineEdit(groupBoxLocalHost);
+        lineEditAddress->setObjectName(QString::fromUtf8("lineEditAddress"));
+        lineEditAddress->setEnabled(false);
+        QSizePolicy sizePolicy4(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
+        sizePolicy4.setHorizontalStretch(0);
+        sizePolicy4.setVerticalStretch(0);
+        sizePolicy4.setHeightForWidth(lineEditAddress->sizePolicy().hasHeightForWidth());
+        lineEditAddress->setSizePolicy(sizePolicy4);
+        lineEditAddress->setAlignment(Qt::AlignHCenter);
+
+        hboxLayout3->addWidget(lineEditAddress);
+
+
+        vboxLayout7->addLayout(hboxLayout3);
+
+        hboxLayout4 = new QHBoxLayout();
+        hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4"));
+        textLabelNetmask = new QLabel(groupBoxLocalHost);
+        textLabelNetmask->setObjectName(QString::fromUtf8("textLabelNetmask"));
+        sizePolicy.setHeightForWidth(textLabelNetmask->sizePolicy().hasHeightForWidth());
+        textLabelNetmask->setSizePolicy(sizePolicy);
+        textLabelNetmask->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
+        textLabelNetmask->setWordWrap(false);
+
+        hboxLayout4->addWidget(textLabelNetmask);
+
+        lineEditNetmask = new QLineEdit(groupBoxLocalHost);
+        lineEditNetmask->setObjectName(QString::fromUtf8("lineEditNetmask"));
+        lineEditNetmask->setEnabled(false);
+        sizePolicy4.setHeightForWidth(lineEditNetmask->sizePolicy().hasHeightForWidth());
+        lineEditNetmask->setSizePolicy(sizePolicy4);
+        lineEditNetmask->setAlignment(Qt::AlignHCenter);
+
+        hboxLayout4->addWidget(lineEditNetmask);
+
+
+        vboxLayout7->addLayout(hboxLayout4);
+
+
+        hboxLayout2->addLayout(vboxLayout7);
+
+
+        gridLayout->addLayout(hboxLayout2, 1, 1, 1, 1);
+
+
+        vboxLayout1->addWidget(groupBoxLocalHost);
+
+        spacerItem2 = new QSpacerItem(20, 61, QSizePolicy::Minimum, QSizePolicy::Expanding);
+
+        vboxLayout1->addItem(spacerItem2);
+
+        tabWidget->addTab(tabGeneral, QString());
+        tabClient = new QWidget();
+        tabClient->setObjectName(QString::fromUtf8("tabClient"));
+        vboxLayout8 = new QVBoxLayout(tabClient);
+        vboxLayout8->setObjectName(QString::fromUtf8("vboxLayout8"));
+        groupBoxFirewall = new QGroupBox(tabClient);
+        groupBoxFirewall->setObjectName(QString::fromUtf8("groupBoxFirewall"));
+        vboxLayout9 = new QVBoxLayout(groupBoxFirewall);
+        vboxLayout9->setObjectName(QString::fromUtf8("vboxLayout9"));
+        hboxLayout5 = new QHBoxLayout();
+        hboxLayout5->setObjectName(QString::fromUtf8("hboxLayout5"));
+        textLabelNATTMode = new QLabel(groupBoxFirewall);
+        textLabelNATTMode->setObjectName(QString::fromUtf8("textLabelNATTMode"));
+        textLabelNATTMode->setEnabled(false);
+        textLabelNATTMode->setWordWrap(false);
+
+        hboxLayout5->addWidget(textLabelNATTMode);
+
+        comboBoxNATTMode = new QComboBox(groupBoxFirewall);
+        comboBoxNATTMode->setObjectName(QString::fromUtf8("comboBoxNATTMode"));
+        comboBoxNATTMode->setEnabled(false);
+
+        hboxLayout5->addWidget(comboBoxNATTMode);
+
+
+        vboxLayout9->addLayout(hboxLayout5);
+
+        hboxLayout6 = new QHBoxLayout();
+        hboxLayout6->setObjectName(QString::fromUtf8("hboxLayout6"));
+        textLabelNATTPort = new QLabel(groupBoxFirewall);
+        textLabelNATTPort->setObjectName(QString::fromUtf8("textLabelNATTPort"));
+        textLabelNATTPort->setEnabled(false);
+        textLabelNATTPort->setWordWrap(false);
+
+        hboxLayout6->addWidget(textLabelNATTPort);
+
+        hboxLayout7 = new QHBoxLayout();
+        hboxLayout7->setObjectName(QString::fromUtf8("hboxLayout7"));
+        lineEditNATTPort = new QLineEdit(groupBoxFirewall);
+        lineEditNATTPort->setObjectName(QString::fromUtf8("lineEditNATTPort"));
+        lineEditNATTPort->setEnabled(false);
+        QSizePolicy sizePolicy5(QSizePolicy::Minimum, QSizePolicy::Fixed);
+        sizePolicy5.setHorizontalStretch(0);
+        sizePolicy5.setVerticalStretch(0);
+        sizePolicy5.setHeightForWidth(lineEditNATTPort->sizePolicy().hasHeightForWidth());
+        lineEditNATTPort->setSizePolicy(sizePolicy5);
+        lineEditNATTPort->setMaximumSize(QSize(50, 16777215));
+        lineEditNATTPort->setAlignment(Qt::AlignRight);
+
+        hboxLayout7->addWidget(lineEditNATTPort);
+
+        label = new QLabel(groupBoxFirewall);
+        label->setObjectName(QString::fromUtf8("label"));
+
+        hboxLayout7->addWidget(label);
+
+
+        hboxLayout6->addLayout(hboxLayout7);
+
+
+        vboxLayout9->addLayout(hboxLayout6);
+
+        hboxLayout8 = new QHBoxLayout();
+        hboxLayout8->setObjectName(QString::fromUtf8("hboxLayout8"));
+        textLabelNATTRate = new QLabel(groupBoxFirewall);
+        textLabelNATTRate->setObjectName(QString::fromUtf8("textLabelNATTRate"));
+        textLabelNATTRate->setEnabled(false);
+        textLabelNATTRate->setWordWrap(false);
+
+        hboxLayout8->addWidget(textLabelNATTRate);
+
+        hboxLayout9 = new QHBoxLayout();
+        hboxLayout9->setObjectName(QString::fromUtf8("hboxLayout9"));
+        lineEditNATTRate = new QLineEdit(groupBoxFirewall);
+        lineEditNATTRate->setObjectName(QString::fromUtf8("lineEditNATTRate"));
+        lineEditNATTRate->setEnabled(false);
+        sizePolicy5.setHeightForWidth(lineEditNATTRate->sizePolicy().hasHeightForWidth());
+        lineEditNATTRate->setSizePolicy(sizePolicy5);
+        lineEditNATTRate->setMaximumSize(QSize(50, 16777215));
+        lineEditNATTRate->setAlignment(Qt::AlignRight);
+
+        hboxLayout9->addWidget(lineEditNATTRate);
+
+        textLabelNATTSecs = new QLabel(groupBoxFirewall);
+        textLabelNATTSecs->setObjectName(QString::fromUtf8("textLabelNATTSecs"));
+        textLabelNATTSecs->setEnabled(false);
+        sizePolicy.setHeightForWidth(textLabelNATTSecs->sizePolicy().hasHeightForWidth());
+        textLabelNATTSecs->setSizePolicy(sizePolicy);
+        textLabelNATTSecs->setWordWrap(false);
+
+        hboxLayout9->addWidget(textLabelNATTSecs);
+
+
+        hboxLayout8->addLayout(hboxLayout9);
+
+
+        vboxLayout9->addLayout(hboxLayout8);
+
+        hboxLayout10 = new QHBoxLayout();
+        hboxLayout10->setObjectName(QString::fromUtf8("hboxLayout10"));
+        textLabelFragMode = new QLabel(groupBoxFirewall);
+        textLabelFragMode->setObjectName(QString::fromUtf8("textLabelFragMode"));
+        textLabelFragMode->setWordWrap(false);
+
+        hboxLayout10->addWidget(textLabelFragMode);
+
+        comboBoxFragMode = new QComboBox(groupBoxFirewall);
+        comboBoxFragMode->setObjectName(QString::fromUtf8("comboBoxFragMode"));
+
+        hboxLayout10->addWidget(comboBoxFragMode);
+
+
+        vboxLayout9->addLayout(hboxLayout10);
+
+        hboxLayout11 = new QHBoxLayout();
+        hboxLayout11->setObjectName(QString::fromUtf8("hboxLayout11"));
+        textLabelFragSize = new QLabel(groupBoxFirewall);
+        textLabelFragSize->setObjectName(QString::fromUtf8("textLabelFragSize"));
+        textLabelFragSize->setWordWrap(false);
+
+        hboxLayout11->addWidget(textLabelFragSize);
+
+        hboxLayout12 = new QHBoxLayout();
+        hboxLayout12->setObjectName(QString::fromUtf8("hboxLayout12"));
+        lineEditFragSize = new QLineEdit(groupBoxFirewall);
+        lineEditFragSize->setObjectName(QString::fromUtf8("lineEditFragSize"));
+        sizePolicy5.setHeightForWidth(lineEditFragSize->sizePolicy().hasHeightForWidth());
+        lineEditFragSize->setSizePolicy(sizePolicy5);
+        lineEditFragSize->setMaximumSize(QSize(50, 16777215));
+        lineEditFragSize->setLayoutDirection(Qt::RightToLeft);
+
+        hboxLayout12->addWidget(lineEditFragSize);
+
+        textLabelFragBytes = new QLabel(groupBoxFirewall);
+        textLabelFragBytes->setObjectName(QString::fromUtf8("textLabelFragBytes"));
+        sizePolicy.setHeightForWidth(textLabelFragBytes->sizePolicy().hasHeightForWidth());
+        textLabelFragBytes->setSizePolicy(sizePolicy);
+        textLabelFragBytes->setWordWrap(false);
+
+        hboxLayout12->addWidget(textLabelFragBytes);
+
+
+        hboxLayout11->addLayout(hboxLayout12);
+
+
+        vboxLayout9->addLayout(hboxLayout11);
+
+
+        vboxLayout8->addWidget(groupBoxFirewall);
+
+        groupBoxOther = new QGroupBox(tabClient);
+        groupBoxOther->setObjectName(QString::fromUtf8("groupBoxOther"));
+        vboxLayout10 = new QVBoxLayout(groupBoxOther);
+        vboxLayout10->setObjectName(QString::fromUtf8("vboxLayout10"));
+        checkBoxDPD = new QCheckBox(groupBoxOther);
+        checkBoxDPD->setObjectName(QString::fromUtf8("checkBoxDPD"));
+        checkBoxDPD->setChecked(true);
+
+        vboxLayout10->addWidget(checkBoxDPD);
+
+        checkBoxNotify = new QCheckBox(groupBoxOther);
+        checkBoxNotify->setObjectName(QString::fromUtf8("checkBoxNotify"));
+        checkBoxNotify->setChecked(true);
+
+        vboxLayout10->addWidget(checkBoxNotify);
+
+        checkBoxBanner = new QCheckBox(groupBoxOther);
+        checkBoxBanner->setObjectName(QString::fromUtf8("checkBoxBanner"));
+        checkBoxBanner->setChecked(true);
+
+        vboxLayout10->addWidget(checkBoxBanner);
+
+
+        vboxLayout8->addWidget(groupBoxOther);
+
+        spacerItem3 = new QSpacerItem(20, 291, QSizePolicy::Minimum, QSizePolicy::Expanding);
+
+        vboxLayout8->addItem(spacerItem3);
+
+        tabWidget->addTab(tabClient, QString());
+        tabNameResolution = new QWidget();
+        tabNameResolution->setObjectName(QString::fromUtf8("tabNameResolution"));
+        gridLayout1 = new QGridLayout(tabNameResolution);
+        gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
+        hboxLayout13 = new QHBoxLayout();
+        hboxLayout13->setObjectName(QString::fromUtf8("hboxLayout13"));
+        checkBoxDNSEnable = new QCheckBox(tabNameResolution);
+        checkBoxDNSEnable->setObjectName(QString::fromUtf8("checkBoxDNSEnable"));
+        checkBoxDNSEnable->setChecked(true);
+
+        hboxLayout13->addWidget(checkBoxDNSEnable);
+
+        checkBoxDNSAuto = new QCheckBox(tabNameResolution);
+        checkBoxDNSAuto->setObjectName(QString::fromUtf8("checkBoxDNSAuto"));
+        checkBoxDNSAuto->setChecked(true);
+
+        hboxLayout13->addWidget(checkBoxDNSAuto);
+
+
+        gridLayout1->addLayout(hboxLayout13, 0, 0, 1, 2);
+
+        hboxLayout14 = new QHBoxLayout();
+        hboxLayout14->setObjectName(QString::fromUtf8("hboxLayout14"));
+        textLabelDNSServer1 = new QLabel(tabNameResolution);
+        textLabelDNSServer1->setObjectName(QString::fromUtf8("textLabelDNSServer1"));
+        textLabelDNSServer1->setWordWrap(false);
+
+        hboxLayout14->addWidget(textLabelDNSServer1);
+
+        lineEditDNSServer1 = new QLineEdit(tabNameResolution);
+        lineEditDNSServer1->setObjectName(QString::fromUtf8("lineEditDNSServer1"));
+        lineEditDNSServer1->setEnabled(false);
+        QSizePolicy sizePolicy6(QSizePolicy::Preferred, QSizePolicy::Fixed);
+        sizePolicy6.setHorizontalStretch(0);
+        sizePolicy6.setVerticalStretch(0);
+        sizePolicy6.setHeightForWidth(lineEditDNSServer1->sizePolicy().hasHeightForWidth());
+        lineEditDNSServer1->setSizePolicy(sizePolicy6);
+        lineEditDNSServer1->setAlignment(Qt::AlignHCenter);
+
+        hboxLayout14->addWidget(lineEditDNSServer1);
+
+
+        gridLayout1->addLayout(hboxLayout14, 1, 0, 1, 2);
+
+        hboxLayout15 = new QHBoxLayout();
+        hboxLayout15->setObjectName(QString::fromUtf8("hboxLayout15"));
+        textLabelDNSServer2 = new QLabel(tabNameResolution);
+        textLabelDNSServer2->setObjectName(QString::fromUtf8("textLabelDNSServer2"));
+        textLabelDNSServer2->setWordWrap(false);
+
+        hboxLayout15->addWidget(textLabelDNSServer2);
+
+        lineEditDNSServer2 = new QLineEdit(tabNameResolution);
+        lineEditDNSServer2->setObjectName(QString::fromUtf8("lineEditDNSServer2"));
+        lineEditDNSServer2->setEnabled(false);
+        sizePolicy6.setHeightForWidth(lineEditDNSServer2->sizePolicy().hasHeightForWidth());
+        lineEditDNSServer2->setSizePolicy(sizePolicy6);
+        lineEditDNSServer2->setAlignment(Qt::AlignHCenter);
+
+        hboxLayout15->addWidget(lineEditDNSServer2);
+
+
+        gridLayout1->addLayout(hboxLayout15, 2, 0, 1, 2);
+
+        hboxLayout16 = new QHBoxLayout();
+        hboxLayout16->setObjectName(QString::fromUtf8("hboxLayout16"));
+        textLabelDNSServer3 = new QLabel(tabNameResolution);
+        textLabelDNSServer3->setObjectName(QString::fromUtf8("textLabelDNSServer3"));
+        textLabelDNSServer3->setWordWrap(false);
+
+        hboxLayout16->addWidget(textLabelDNSServer3);
+
+        lineEditDNSServer3 = new QLineEdit(tabNameResolution);
+        lineEditDNSServer3->setObjectName(QString::fromUtf8("lineEditDNSServer3"));
+        lineEditDNSServer3->setEnabled(false);
+        sizePolicy6.setHeightForWidth(lineEditDNSServer3->sizePolicy().hasHeightForWidth());
+        lineEditDNSServer3->setSizePolicy(sizePolicy6);
+        lineEditDNSServer3->setAlignment(Qt::AlignHCenter);
+
+        hboxLayout16->addWidget(lineEditDNSServer3);
+
+
+        gridLayout1->addLayout(hboxLayout16, 3, 0, 1, 2);
+
+        hboxLayout17 = new QHBoxLayout();
+        hboxLayout17->setObjectName(QString::fromUtf8("hboxLayout17"));
+        textLabelDNSServer4 = new QLabel(tabNameResolution);
+        textLabelDNSServer4->setObjectName(QString::fromUtf8("textLabelDNSServer4"));
+        textLabelDNSServer4->setWordWrap(false);
+
+        hboxLayout17->addWidget(textLabelDNSServer4);
+
+        lineEditDNSServer4 = new QLineEdit(tabNameResolution);
+        lineEditDNSServer4->setObjectName(QString::fromUtf8("lineEditDNSServer4"));
+        lineEditDNSServer4->setEnabled(false);
+        sizePolicy6.setHeightForWidth(lineEditDNSServer4->sizePolicy().hasHeightForWidth());
+        lineEditDNSServer4->setSizePolicy(sizePolicy6);
+        lineEditDNSServer4->setAlignment(Qt::AlignHCenter);
+
+        hboxLayout17->addWidget(lineEditDNSServer4);
+
+
+        gridLayout1->addLayout(hboxLayout17, 4, 0, 1, 2);
+
+        checkBoxSuffixAuto = new QCheckBox(tabNameResolution);
+        checkBoxSuffixAuto->setObjectName(QString::fromUtf8("checkBoxSuffixAuto"));
+        checkBoxSuffixAuto->setChecked(true);
+
+        gridLayout1->addWidget(checkBoxSuffixAuto, 5, 1, 1, 1);
+
+        hboxLayout18 = new QHBoxLayout();
+        hboxLayout18->setObjectName(QString::fromUtf8("hboxLayout18"));
+        textLabelDNSSuffix = new QLabel(tabNameResolution);
+        textLabelDNSSuffix->setObjectName(QString::fromUtf8("textLabelDNSSuffix"));
+        textLabelDNSSuffix->setWordWrap(false);
+
+        hboxLayout18->addWidget(textLabelDNSSuffix);
+
+        lineEditDNSSuffix = new QLineEdit(tabNameResolution);
+        lineEditDNSSuffix->setObjectName(QString::fromUtf8("lineEditDNSSuffix"));
+        lineEditDNSSuffix->setEnabled(false);
+        sizePolicy6.setHeightForWidth(lineEditDNSSuffix->sizePolicy().hasHeightForWidth());
+        lineEditDNSSuffix->setSizePolicy(sizePolicy6);
+
+        hboxLayout18->addWidget(lineEditDNSSuffix);
+
+
+        gridLayout1->addLayout(hboxLayout18, 6, 0, 1, 2);
+
+        spacerItem4 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
+
+        gridLayout1->addItem(spacerItem4, 7, 0, 1, 1);
+
+        tabWidget->addTab(tabNameResolution, QString());
+        tabAuthentication = new QWidget();
+        tabAuthentication->setObjectName(QString::fromUtf8("tabAuthentication"));
+        vboxLayout11 = new QVBoxLayout(tabAuthentication);
+        vboxLayout11->setObjectName(QString::fromUtf8("vboxLayout11"));
+        hboxLayout19 = new QHBoxLayout();
+        hboxLayout19->setObjectName(QString::fromUtf8("hboxLayout19"));
+        textLabelAuthMethod = new QLabel(tabAuthentication);
+        textLabelAuthMethod->setObjectName(QString::fromUtf8("textLabelAuthMethod"));
+        textLabelAuthMethod->setWordWrap(false);
+
+        hboxLayout19->addWidget(textLabelAuthMethod);
+
+        comboBoxAuthMethod = new QComboBox(tabAuthentication);
+        comboBoxAuthMethod->setObjectName(QString::fromUtf8("comboBoxAuthMethod"));
+
+        hboxLayout19->addWidget(comboBoxAuthMethod);
+
+
+        vboxLayout11->addLayout(hboxLayout19);
+
+        tabWidgetAuthInfo = new QTabWidget(tabAuthentication);
+        tabWidgetAuthInfo->setObjectName(QString::fromUtf8("tabWidgetAuthInfo"));
+        tab = new QWidget();
+        tab->setObjectName(QString::fromUtf8("tab"));
+        vboxLayout12 = new QVBoxLayout(tab);
+        vboxLayout12->setObjectName(QString::fromUtf8("vboxLayout12"));
+        textLabelLocalIDType = new QLabel(tab);
+        textLabelLocalIDType->setObjectName(QString::fromUtf8("textLabelLocalIDType"));
+        textLabelLocalIDType->setWordWrap(false);
+
+        vboxLayout12->addWidget(textLabelLocalIDType);
+
+        comboBoxLocalIDType = new QComboBox(tab);
+        comboBoxLocalIDType->setObjectName(QString::fromUtf8("comboBoxLocalIDType"));
+
+        vboxLayout12->addWidget(comboBoxLocalIDType);
+
+        textLabelLocalIDData = new QLabel(tab);
+        textLabelLocalIDData->setObjectName(QString::fromUtf8("textLabelLocalIDData"));
+        textLabelLocalIDData->setWordWrap(false);
+
+        vboxLayout12->addWidget(textLabelLocalIDData);
+
+        lineEditLocalIDData = new QLineEdit(tab);
+        lineEditLocalIDData->setObjectName(QString::fromUtf8("lineEditLocalIDData"));
+        lineEditLocalIDData->setEnabled(false);
+
+        vboxLayout12->addWidget(lineEditLocalIDData);
+
+        checkBoxLocalIDOption = new QCheckBox(tab);
+        checkBoxLocalIDOption->setObjectName(QString::fromUtf8("checkBoxLocalIDOption"));
+        checkBoxLocalIDOption->setChecked(true);
+
+        vboxLayout12->addWidget(checkBoxLocalIDOption);
+
+        spacerItem5 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
+
+        vboxLayout12->addItem(spacerItem5);
+
+        tabWidgetAuthInfo->addTab(tab, QString());
+        tab_2 = new QWidget();
+        tab_2->setObjectName(QString::fromUtf8("tab_2"));
+        vboxLayout13 = new QVBoxLayout(tab_2);
+        vboxLayout13->setObjectName(QString::fromUtf8("vboxLayout13"));
+        textLabelRemoteIDType = new QLabel(tab_2);
+        textLabelRemoteIDType->setObjectName(QString::fromUtf8("textLabelRemoteIDType"));
+        textLabelRemoteIDType->setWordWrap(false);
+
+        vboxLayout13->addWidget(textLabelRemoteIDType);
+
+        comboBoxRemoteIDType = new QComboBox(tab_2);
+        comboBoxRemoteIDType->setObjectName(QString::fromUtf8("comboBoxRemoteIDType"));
+
+        vboxLayout13->addWidget(comboBoxRemoteIDType);
+
+        textLabelRemoteIDData = new QLabel(tab_2);
+        textLabelRemoteIDData->setObjectName(QString::fromUtf8("textLabelRemoteIDData"));
+        textLabelRemoteIDData->setWordWrap(false);
+
+        vboxLayout13->addWidget(textLabelRemoteIDData);
+
+        lineEditRemoteIDData = new QLineEdit(tab_2);
+        lineEditRemoteIDData->setObjectName(QString::fromUtf8("lineEditRemoteIDData"));
+        lineEditRemoteIDData->setEnabled(false);
+
+        vboxLayout13->addWidget(lineEditRemoteIDData);
+
+        checkBoxRemoteIDOption = new QCheckBox(tab_2);
+        checkBoxRemoteIDOption->setObjectName(QString::fromUtf8("checkBoxRemoteIDOption"));
+        checkBoxRemoteIDOption->setChecked(true);
+
+        vboxLayout13->addWidget(checkBoxRemoteIDOption);
+
+        spacerItem6 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
+
+        vboxLayout13->addItem(spacerItem6);
+
+        tabWidgetAuthInfo->addTab(tab_2, QString());
+        TabPage = new QWidget();
+        TabPage->setObjectName(QString::fromUtf8("TabPage"));
+        vboxLayout14 = new QVBoxLayout(TabPage);
+        vboxLayout14->setObjectName(QString::fromUtf8("vboxLayout14"));
+        textLabelCAFile = new QLabel(TabPage);
+        textLabelCAFile->setObjectName(QString::fromUtf8("textLabelCAFile"));
+        textLabelCAFile->setWordWrap(false);
+
+        vboxLayout14->addWidget(textLabelCAFile);
+
+        hboxLayout20 = new QHBoxLayout();
+        hboxLayout20->setObjectName(QString::fromUtf8("hboxLayout20"));
+        lineEditCAName = new QLineEdit(TabPage);
+        lineEditCAName->setObjectName(QString::fromUtf8("lineEditCAName"));
+        lineEditCAName->setEnabled(true);
+        lineEditCAName->setReadOnly(true);
+
+        hboxLayout20->addWidget(lineEditCAName);
+
+        toolButtonCAFile = new QToolButton(TabPage);
+        toolButtonCAFile->setObjectName(QString::fromUtf8("toolButtonCAFile"));
+
+        hboxLayout20->addWidget(toolButtonCAFile);
+
+
+        vboxLayout14->addLayout(hboxLayout20);
+
+        textLabelCertFile = new QLabel(TabPage);
+        textLabelCertFile->setObjectName(QString::fromUtf8("textLabelCertFile"));
+        textLabelCertFile->setWordWrap(false);
+
+        vboxLayout14->addWidget(textLabelCertFile);
+
+        hboxLayout21 = new QHBoxLayout();
+        hboxLayout21->setObjectName(QString::fromUtf8("hboxLayout21"));
+        lineEditCertName = new QLineEdit(TabPage);
+        lineEditCertName->setObjectName(QString::fromUtf8("lineEditCertName"));
+        lineEditCertName->setEnabled(true);
+        lineEditCertName->setReadOnly(true);
+
+        hboxLayout21->addWidget(lineEditCertName);
+
+        toolButtonCertFile = new QToolButton(TabPage);
+        toolButtonCertFile->setObjectName(QString::fromUtf8("toolButtonCertFile"));
+
+        hboxLayout21->addWidget(toolButtonCertFile);
+
+
+        vboxLayout14->addLayout(hboxLayout21);
+
+        textLabelPKeyFile = new QLabel(TabPage);
+        textLabelPKeyFile->setObjectName(QString::fromUtf8("textLabelPKeyFile"));
+        textLabelPKeyFile->setWordWrap(false);
+
+        vboxLayout14->addWidget(textLabelPKeyFile);
+
+        hboxLayout22 = new QHBoxLayout();
+        hboxLayout22->setObjectName(QString::fromUtf8("hboxLayout22"));
+        lineEditPKeyName = new QLineEdit(TabPage);
+        lineEditPKeyName->setObjectName(QString::fromUtf8("lineEditPKeyName"));
+        lineEditPKeyName->setEnabled(true);
+        lineEditPKeyName->setFrame(true);
+        lineEditPKeyName->setReadOnly(true);
+
+        hboxLayout22->addWidget(lineEditPKeyName);
+
+        toolButtonPKeyFile = new QToolButton(TabPage);
+        toolButtonPKeyFile->setObjectName(QString::fromUtf8("toolButtonPKeyFile"));
+
+        hboxLayout22->addWidget(toolButtonPKeyFile);
+
+
+        vboxLayout14->addLayout(hboxLayout22);
+
+        textLabelPSK = new QLabel(TabPage);
+        textLabelPSK->setObjectName(QString::fromUtf8("textLabelPSK"));
+        textLabelPSK->setWordWrap(false);
+
+        vboxLayout14->addWidget(textLabelPSK);
+
+        lineEditPSK = new QLineEdit(TabPage);
+        lineEditPSK->setObjectName(QString::fromUtf8("lineEditPSK"));
+        lineEditPSK->setEchoMode(QLineEdit::Password);
+
+        vboxLayout14->addWidget(lineEditPSK);
+
+        spacerItem7 = new QSpacerItem(254, 20, QSizePolicy::Minimum, QSizePolicy::Expanding);
+
+        vboxLayout14->addItem(spacerItem7);
+
+        tabWidgetAuthInfo->addTab(TabPage, QString());
+
+        vboxLayout11->addWidget(tabWidgetAuthInfo);
+
+        spacerItem8 = new QSpacerItem(278, 16, QSizePolicy::Minimum, QSizePolicy::Expanding);
+
+        vboxLayout11->addItem(spacerItem8);
+
+        tabWidget->addTab(tabAuthentication, QString());
+        tabPhase1 = new QWidget();
+        tabPhase1->setObjectName(QString::fromUtf8("tabPhase1"));
+        vboxLayout15 = new QVBoxLayout(tabPhase1);
+        vboxLayout15->setObjectName(QString::fromUtf8("vboxLayout15"));
+        groupBoxP1Proposal = new QGroupBox(tabPhase1);
+        groupBoxP1Proposal->setObjectName(QString::fromUtf8("groupBoxP1Proposal"));
+        vboxLayout16 = new QVBoxLayout(groupBoxP1Proposal);
+        vboxLayout16->setObjectName(QString::fromUtf8("vboxLayout16"));
+        hboxLayout23 = new QHBoxLayout();
+        hboxLayout23->setObjectName(QString::fromUtf8("hboxLayout23"));
+        textLabelP1Exchange = new QLabel(groupBoxP1Proposal);
+        textLabelP1Exchange->setObjectName(QString::fromUtf8("textLabelP1Exchange"));
+        sizePolicy.setHeightForWidth(textLabelP1Exchange->sizePolicy().hasHeightForWidth());
+        textLabelP1Exchange->setSizePolicy(sizePolicy);
+        textLabelP1Exchange->setWordWrap(false);
+
+        hboxLayout23->addWidget(textLabelP1Exchange);
+
+        comboBoxP1Exchange = new QComboBox(groupBoxP1Proposal);
+        comboBoxP1Exchange->setObjectName(QString::fromUtf8("comboBoxP1Exchange"));
+
+        hboxLayout23->addWidget(comboBoxP1Exchange);
+
+
+        vboxLayout16->addLayout(hboxLayout23);
+
+        hboxLayout24 = new QHBoxLayout();
+        hboxLayout24->setObjectName(QString::fromUtf8("hboxLayout24"));
+        textLabelP1DHGroup = new QLabel(groupBoxP1Proposal);
+        textLabelP1DHGroup->setObjectName(QString::fromUtf8("textLabelP1DHGroup"));
+        sizePolicy.setHeightForWidth(textLabelP1DHGroup->sizePolicy().hasHeightForWidth());
+        textLabelP1DHGroup->setSizePolicy(sizePolicy);
+        textLabelP1DHGroup->setWordWrap(false);
+
+        hboxLayout24->addWidget(textLabelP1DHGroup);
+
+        comboBoxP1DHGroup = new QComboBox(groupBoxP1Proposal);
+        comboBoxP1DHGroup->setObjectName(QString::fromUtf8("comboBoxP1DHGroup"));
+
+        hboxLayout24->addWidget(comboBoxP1DHGroup);
+
+
+        vboxLayout16->addLayout(hboxLayout24);
+
+        hboxLayout25 = new QHBoxLayout();
+        hboxLayout25->setObjectName(QString::fromUtf8("hboxLayout25"));
+        textLabelP1Cipher = new QLabel(groupBoxP1Proposal);
+        textLabelP1Cipher->setObjectName(QString::fromUtf8("textLabelP1Cipher"));
+        sizePolicy.setHeightForWidth(textLabelP1Cipher->sizePolicy().hasHeightForWidth());
+        textLabelP1Cipher->setSizePolicy(sizePolicy);
+        textLabelP1Cipher->setWordWrap(false);
+
+        hboxLayout25->addWidget(textLabelP1Cipher);
+
+        comboBoxP1Cipher = new QComboBox(groupBoxP1Proposal);
+        comboBoxP1Cipher->setObjectName(QString::fromUtf8("comboBoxP1Cipher"));
+
+        hboxLayout25->addWidget(comboBoxP1Cipher);
+
+
+        vboxLayout16->addLayout(hboxLayout25);
+
+        hboxLayout26 = new QHBoxLayout();
+        hboxLayout26->setObjectName(QString::fromUtf8("hboxLayout26"));
+        textLabelP1Keylen = new QLabel(groupBoxP1Proposal);
+        textLabelP1Keylen->setObjectName(QString::fromUtf8("textLabelP1Keylen"));
+        sizePolicy.setHeightForWidth(textLabelP1Keylen->sizePolicy().hasHeightForWidth());
+        textLabelP1Keylen->setSizePolicy(sizePolicy);
+        textLabelP1Keylen->setWordWrap(false);
+
+        hboxLayout26->addWidget(textLabelP1Keylen);
+
+        hboxLayout27 = new QHBoxLayout();
+        hboxLayout27->setObjectName(QString::fromUtf8("hboxLayout27"));
+        comboBoxP1Keylen = new QComboBox(groupBoxP1Proposal);
+        comboBoxP1Keylen->setObjectName(QString::fromUtf8("comboBoxP1Keylen"));
+        comboBoxP1Keylen->setEnabled(false);
+
+        hboxLayout27->addWidget(comboBoxP1Keylen);
+
+        textLabelP1KeyBits = new QLabel(groupBoxP1Proposal);
+        textLabelP1KeyBits->setObjectName(QString::fromUtf8("textLabelP1KeyBits"));
+        textLabelP1KeyBits->setWordWrap(false);
+
+        hboxLayout27->addWidget(textLabelP1KeyBits);
+
+
+        hboxLayout26->addLayout(hboxLayout27);
+
+
+        vboxLayout16->addLayout(hboxLayout26);
+
+        hboxLayout28 = new QHBoxLayout();
+        hboxLayout28->setObjectName(QString::fromUtf8("hboxLayout28"));
+        textLabelP1Hash = new QLabel(groupBoxP1Proposal);
+        textLabelP1Hash->setObjectName(QString::fromUtf8("textLabelP1Hash"));
+        sizePolicy.setHeightForWidth(textLabelP1Hash->sizePolicy().hasHeightForWidth());
+        textLabelP1Hash->setSizePolicy(sizePolicy);
+        textLabelP1Hash->setWordWrap(false);
+
+        hboxLayout28->addWidget(textLabelP1Hash);
+
+        comboBoxP1Hash = new QComboBox(groupBoxP1Proposal);
+        comboBoxP1Hash->setObjectName(QString::fromUtf8("comboBoxP1Hash"));
+
+        hboxLayout28->addWidget(comboBoxP1Hash);
+
+
+        vboxLayout16->addLayout(hboxLayout28);
+
+        hboxLayout29 = new QHBoxLayout();
+        hboxLayout29->setObjectName(QString::fromUtf8("hboxLayout29"));
+        textLabelP1LifeTime = new QLabel(groupBoxP1Proposal);
+        textLabelP1LifeTime->setObjectName(QString::fromUtf8("textLabelP1LifeTime"));
+        sizePolicy.setHeightForWidth(textLabelP1LifeTime->sizePolicy().hasHeightForWidth());
+        textLabelP1LifeTime->setSizePolicy(sizePolicy);
+        textLabelP1LifeTime->setWordWrap(false);
+
+        hboxLayout29->addWidget(textLabelP1LifeTime);
+
+        hboxLayout30 = new QHBoxLayout();
+        hboxLayout30->setObjectName(QString::fromUtf8("hboxLayout30"));
+        lineEditP1LifeTime = new QLineEdit(groupBoxP1Proposal);
+        lineEditP1LifeTime->setObjectName(QString::fromUtf8("lineEditP1LifeTime"));
+        sizePolicy5.setHeightForWidth(lineEditP1LifeTime->sizePolicy().hasHeightForWidth());
+        lineEditP1LifeTime->setSizePolicy(sizePolicy5);
+        lineEditP1LifeTime->setMaximumSize(QSize(50, 16777215));
+        lineEditP1LifeTime->setAlignment(Qt::AlignRight);
+
+        hboxLayout30->addWidget(lineEditP1LifeTime);
+
+        textLabelLifeSecs = new QLabel(groupBoxP1Proposal);
+        textLabelLifeSecs->setObjectName(QString::fromUtf8("textLabelLifeSecs"));
+        sizePolicy.setHeightForWidth(textLabelLifeSecs->sizePolicy().hasHeightForWidth());
+        textLabelLifeSecs->setSizePolicy(sizePolicy);
+        textLabelLifeSecs->setWordWrap(false);
+
+        hboxLayout30->addWidget(textLabelLifeSecs);
+
+
+        hboxLayout29->addLayout(hboxLayout30);
+
+
+        vboxLayout16->addLayout(hboxLayout29);
+
+        hboxLayout31 = new QHBoxLayout();
+        hboxLayout31->setObjectName(QString::fromUtf8("hboxLayout31"));
+        textLabelLifeData = new QLabel(groupBoxP1Proposal);
+        textLabelLifeData->setObjectName(QString::fromUtf8("textLabelLifeData"));
+        sizePolicy.setHeightForWidth(textLabelLifeData->sizePolicy().hasHeightForWidth());
+        textLabelLifeData->setSizePolicy(sizePolicy);
+        textLabelLifeData->setWordWrap(false);
+
+        hboxLayout31->addWidget(textLabelLifeData);
+
+        hboxLayout32 = new QHBoxLayout();
+        hboxLayout32->setObjectName(QString::fromUtf8("hboxLayout32"));
+        lineEditP1LifeData = new QLineEdit(groupBoxP1Proposal);
+        lineEditP1LifeData->setObjectName(QString::fromUtf8("lineEditP1LifeData"));
+        sizePolicy5.setHeightForWidth(lineEditP1LifeData->sizePolicy().hasHeightForWidth());
+        lineEditP1LifeData->setSizePolicy(sizePolicy5);
+        lineEditP1LifeData->setMaximumSize(QSize(50, 16777215));
+        lineEditP1LifeData->setAlignment(Qt::AlignRight);
+
+        hboxLayout32->addWidget(lineEditP1LifeData);
+
+        textLabelLifeKBs = new QLabel(groupBoxP1Proposal);
+        textLabelLifeKBs->setObjectName(QString::fromUtf8("textLabelLifeKBs"));
+        textLabelLifeKBs->setWordWrap(false);
+
+        hboxLayout32->addWidget(textLabelLifeKBs);
+
+
+        hboxLayout31->addLayout(hboxLayout32);
+
+
+        vboxLayout16->addLayout(hboxLayout31);
+
+
+        vboxLayout15->addWidget(groupBoxP1Proposal);
+
+        checkBoxCheckpointID = new QCheckBox(tabPhase1);
+        checkBoxCheckpointID->setObjectName(QString::fromUtf8("checkBoxCheckpointID"));
+        checkBoxCheckpointID->setChecked(false);
+
+        vboxLayout15->addWidget(checkBoxCheckpointID);
+
+        spacerItem9 = new QSpacerItem(21, 101, QSizePolicy::Minimum, QSizePolicy::Expanding);
+
+        vboxLayout15->addItem(spacerItem9);
+
+        tabWidget->addTab(tabPhase1, QString());
+        tabPhase2 = new QWidget();
+        tabPhase2->setObjectName(QString::fromUtf8("tabPhase2"));
+        vboxLayout17 = new QVBoxLayout(tabPhase2);
+        vboxLayout17->setObjectName(QString::fromUtf8("vboxLayout17"));
+        groupBoxP2Proposal = new QGroupBox(tabPhase2);
+        groupBoxP2Proposal->setObjectName(QString::fromUtf8("groupBoxP2Proposal"));
+        vboxLayout18 = new QVBoxLayout(groupBoxP2Proposal);
+        vboxLayout18->setObjectName(QString::fromUtf8("vboxLayout18"));
+        hboxLayout33 = new QHBoxLayout();
+        hboxLayout33->setObjectName(QString::fromUtf8("hboxLayout33"));
+        textLabelP2Transform = new QLabel(groupBoxP2Proposal);
+        textLabelP2Transform->setObjectName(QString::fromUtf8("textLabelP2Transform"));
+        textLabelP2Transform->setWordWrap(false);
+
+        hboxLayout33->addWidget(textLabelP2Transform);
+
+        comboBoxP2Transform = new QComboBox(groupBoxP2Proposal);
+        comboBoxP2Transform->setObjectName(QString::fromUtf8("comboBoxP2Transform"));
+
+        hboxLayout33->addWidget(comboBoxP2Transform);
+
+
+        vboxLayout18->addLayout(hboxLayout33);
+
+        hboxLayout34 = new QHBoxLayout();
+        hboxLayout34->setObjectName(QString::fromUtf8("hboxLayout34"));
+        textLabelP2Keylen = new QLabel(groupBoxP2Proposal);
+        textLabelP2Keylen->setObjectName(QString::fromUtf8("textLabelP2Keylen"));
+        textLabelP2Keylen->setWordWrap(false);
+
+        hboxLayout34->addWidget(textLabelP2Keylen);
+
+        hboxLayout35 = new QHBoxLayout();
+        hboxLayout35->setObjectName(QString::fromUtf8("hboxLayout35"));
+        comboBoxP2Keylen = new QComboBox(groupBoxP2Proposal);
+        comboBoxP2Keylen->setObjectName(QString::fromUtf8("comboBoxP2Keylen"));
+        comboBoxP2Keylen->setEnabled(false);
+
+        hboxLayout35->addWidget(comboBoxP2Keylen);
+
+        textLabelP2KeyBits = new QLabel(groupBoxP2Proposal);
+        textLabelP2KeyBits->setObjectName(QString::fromUtf8("textLabelP2KeyBits"));
+        textLabelP2KeyBits->setWordWrap(false);
+
+        hboxLayout35->addWidget(textLabelP2KeyBits);
+
+
+        hboxLayout34->addLayout(hboxLayout35);
+
+
+        vboxLayout18->addLayout(hboxLayout34);
+
+        hboxLayout36 = new QHBoxLayout();
+        hboxLayout36->setObjectName(QString::fromUtf8("hboxLayout36"));
+        textLabelP2HMAC = new QLabel(groupBoxP2Proposal);
+        textLabelP2HMAC->setObjectName(QString::fromUtf8("textLabelP2HMAC"));
+        textLabelP2HMAC->setWordWrap(false);
+
+        hboxLayout36->addWidget(textLabelP2HMAC);
+
+        comboBoxP2HMAC = new QComboBox(groupBoxP2Proposal);
+        comboBoxP2HMAC->setObjectName(QString::fromUtf8("comboBoxP2HMAC"));
+
+        hboxLayout36->addWidget(comboBoxP2HMAC);
+
+
+        vboxLayout18->addLayout(hboxLayout36);
+
+        hboxLayout37 = new QHBoxLayout();
+        hboxLayout37->setObjectName(QString::fromUtf8("hboxLayout37"));
+        textLabelP2PFSGroup = new QLabel(groupBoxP2Proposal);
+        textLabelP2PFSGroup->setObjectName(QString::fromUtf8("textLabelP2PFSGroup"));
+        textLabelP2PFSGroup->setWordWrap(false);
+
+        hboxLayout37->addWidget(textLabelP2PFSGroup);
+
+        comboBoxP2PFSGroup = new QComboBox(groupBoxP2Proposal);
+        comboBoxP2PFSGroup->setObjectName(QString::fromUtf8("comboBoxP2PFSGroup"));
+
+        hboxLayout37->addWidget(comboBoxP2PFSGroup);
+
+
+        vboxLayout18->addLayout(hboxLayout37);
+
+        hboxLayout38 = new QHBoxLayout();
+        hboxLayout38->setObjectName(QString::fromUtf8("hboxLayout38"));
+        textLabelP2Compress = new QLabel(groupBoxP2Proposal);
+        textLabelP2Compress->setObjectName(QString::fromUtf8("textLabelP2Compress"));
+        textLabelP2Compress->setWordWrap(false);
+
+        hboxLayout38->addWidget(textLabelP2Compress);
+
+        comboBoxP2Compress = new QComboBox(groupBoxP2Proposal);
+        comboBoxP2Compress->setObjectName(QString::fromUtf8("comboBoxP2Compress"));
+
+        hboxLayout38->addWidget(comboBoxP2Compress);
+
+
+        vboxLayout18->addLayout(hboxLayout38);
+
+        hboxLayout39 = new QHBoxLayout();
+        hboxLayout39->setObjectName(QString::fromUtf8("hboxLayout39"));
+        textLabelP2LifeTime = new QLabel(groupBoxP2Proposal);
+        textLabelP2LifeTime->setObjectName(QString::fromUtf8("textLabelP2LifeTime"));
+        textLabelP2LifeTime->setWordWrap(false);
+
+        hboxLayout39->addWidget(textLabelP2LifeTime);
+
+        hboxLayout40 = new QHBoxLayout();
+        hboxLayout40->setObjectName(QString::fromUtf8("hboxLayout40"));
+        lineEditP2LifeTime = new QLineEdit(groupBoxP2Proposal);
+        lineEditP2LifeTime->setObjectName(QString::fromUtf8("lineEditP2LifeTime"));
+        sizePolicy5.setHeightForWidth(lineEditP2LifeTime->sizePolicy().hasHeightForWidth());
+        lineEditP2LifeTime->setSizePolicy(sizePolicy5);
+        lineEditP2LifeTime->setMaximumSize(QSize(50, 16777215));
+        lineEditP2LifeTime->setAlignment(Qt::AlignRight);
+
+        hboxLayout40->addWidget(lineEditP2LifeTime);
+
+        textLabelP2LifeSecs = new QLabel(groupBoxP2Proposal);
+        textLabelP2LifeSecs->setObjectName(QString::fromUtf8("textLabelP2LifeSecs"));
+        textLabelP2LifeSecs->setWordWrap(false);
+
+        hboxLayout40->addWidget(textLabelP2LifeSecs);
+
+
+        hboxLayout39->addLayout(hboxLayout40);
+
+
+        vboxLayout18->addLayout(hboxLayout39);
+
+        hboxLayout41 = new QHBoxLayout();
+        hboxLayout41->setObjectName(QString::fromUtf8("hboxLayout41"));
+        textLabelP2LifeData = new QLabel(groupBoxP2Proposal);
+        textLabelP2LifeData->setObjectName(QString::fromUtf8("textLabelP2LifeData"));
+        textLabelP2LifeData->setWordWrap(false);
+
+        hboxLayout41->addWidget(textLabelP2LifeData);
+
+        hboxLayout42 = new QHBoxLayout();
+        hboxLayout42->setObjectName(QString::fromUtf8("hboxLayout42"));
+        lineEditP2LifeData = new QLineEdit(groupBoxP2Proposal);
+        lineEditP2LifeData->setObjectName(QString::fromUtf8("lineEditP2LifeData"));
+        sizePolicy5.setHeightForWidth(lineEditP2LifeData->sizePolicy().hasHeightForWidth());
+        lineEditP2LifeData->setSizePolicy(sizePolicy5);
+        lineEditP2LifeData->setMaximumSize(QSize(50, 16777215));
+        lineEditP2LifeData->setAlignment(Qt::AlignRight);
+
+        hboxLayout42->addWidget(lineEditP2LifeData);
+
+        textLabelP2LifeKBs = new QLabel(groupBoxP2Proposal);
+        textLabelP2LifeKBs->setObjectName(QString::fromUtf8("textLabelP2LifeKBs"));
+        textLabelP2LifeKBs->setWordWrap(false);
+
+        hboxLayout42->addWidget(textLabelP2LifeKBs);
+
+
+        hboxLayout41->addLayout(hboxLayout42);
+
+
+        vboxLayout18->addLayout(hboxLayout41);
+
+
+        vboxLayout17->addWidget(groupBoxP2Proposal);
+
+        spacerItem10 = new QSpacerItem(20, 81, QSizePolicy::Minimum, QSizePolicy::Expanding);
+
+        vboxLayout17->addItem(spacerItem10);
+
+        tabWidget->addTab(tabPhase2, QString());
+        tabPolicy = new QWidget();
+        tabPolicy->setObjectName(QString::fromUtf8("tabPolicy"));
+        vboxLayout19 = new QVBoxLayout(tabPolicy);
+        vboxLayout19->setObjectName(QString::fromUtf8("vboxLayout19"));
+        groupBoxPolicy = new QGroupBox(tabPolicy);
+        groupBoxPolicy->setObjectName(QString::fromUtf8("groupBoxPolicy"));
+        verticalLayout = new QVBoxLayout(groupBoxPolicy);
+        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
+        horizontalLayout = new QHBoxLayout();
+        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
+        textLabelPolicyLevel = new QLabel(groupBoxPolicy);
+        textLabelPolicyLevel->setObjectName(QString::fromUtf8("textLabelPolicyLevel"));
+        textLabelPolicyLevel->setWordWrap(false);
+
+        horizontalLayout->addWidget(textLabelPolicyLevel);
+
+        comboBoxPolicyLevel = new QComboBox(groupBoxPolicy);
+        comboBoxPolicyLevel->setObjectName(QString::fromUtf8("comboBoxPolicyLevel"));
+
+        horizontalLayout->addWidget(comboBoxPolicyLevel);
+
+
+        verticalLayout->addLayout(horizontalLayout);
+
+        checkBoxPolicyNailed = new QCheckBox(groupBoxPolicy);
+        checkBoxPolicyNailed->setObjectName(QString::fromUtf8("checkBoxPolicyNailed"));
+        checkBoxPolicyNailed->setChecked(false);
+        checkBoxPolicyNailed->setAutoRepeat(false);
+
+        verticalLayout->addWidget(checkBoxPolicyNailed);
+
+        checkBoxPolicyAuto = new QCheckBox(groupBoxPolicy);
+        checkBoxPolicyAuto->setObjectName(QString::fromUtf8("checkBoxPolicyAuto"));
+        checkBoxPolicyAuto->setChecked(true);
+        checkBoxPolicyAuto->setAutoRepeat(false);
+
+        verticalLayout->addWidget(checkBoxPolicyAuto);
+
+        treeWidgetPolicies = new QTreeWidget(groupBoxPolicy);
+        treeWidgetPolicies->setObjectName(QString::fromUtf8("treeWidgetPolicies"));
+
+        verticalLayout->addWidget(treeWidgetPolicies);
+
+        hboxLayout43 = new QHBoxLayout();
+        hboxLayout43->setObjectName(QString::fromUtf8("hboxLayout43"));
+        pushButtonPolicyAdd = new QPushButton(groupBoxPolicy);
+        pushButtonPolicyAdd->setObjectName(QString::fromUtf8("pushButtonPolicyAdd"));
+        pushButtonPolicyAdd->setEnabled(false);
+        sizePolicy4.setHeightForWidth(pushButtonPolicyAdd->sizePolicy().hasHeightForWidth());
+        pushButtonPolicyAdd->setSizePolicy(sizePolicy4);
+
+        hboxLayout43->addWidget(pushButtonPolicyAdd);
+
+        pushButtonPolicyMod = new QPushButton(groupBoxPolicy);
+        pushButtonPolicyMod->setObjectName(QString::fromUtf8("pushButtonPolicyMod"));
+        pushButtonPolicyMod->setEnabled(false);
+        sizePolicy4.setHeightForWidth(pushButtonPolicyMod->sizePolicy().hasHeightForWidth());
+        pushButtonPolicyMod->setSizePolicy(sizePolicy4);
+
+        hboxLayout43->addWidget(pushButtonPolicyMod);
+
+        pushButtonPolicyDel = new QPushButton(groupBoxPolicy);
+        pushButtonPolicyDel->setObjectName(QString::fromUtf8("pushButtonPolicyDel"));
+        pushButtonPolicyDel->setEnabled(false);
+        sizePolicy4.setHeightForWidth(pushButtonPolicyDel->sizePolicy().hasHeightForWidth());
+        pushButtonPolicyDel->setSizePolicy(sizePolicy4);
+
+        hboxLayout43->addWidget(pushButtonPolicyDel);
+
+
+        verticalLayout->addLayout(hboxLayout43);
+
+
+        vboxLayout19->addWidget(groupBoxPolicy);
+
+        tabWidget->addTab(tabPolicy, QString());
+
+        vboxLayout->addWidget(tabWidget);
+
+        hboxLayout44 = new QHBoxLayout();
+        hboxLayout44->setObjectName(QString::fromUtf8("hboxLayout44"));
+        spacerItem11 = new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
+
+        hboxLayout44->addItem(spacerItem11);
+
+        buttonSave = new QPushButton(qikeaSite);
+        buttonSave->setObjectName(QString::fromUtf8("buttonSave"));
+        buttonSave->setAutoDefault(true);
+        buttonSave->setDefault(true);
+
+        hboxLayout44->addWidget(buttonSave);
+
+        buttonCancel = new QPushButton(qikeaSite);
+        buttonCancel->setObjectName(QString::fromUtf8("buttonCancel"));
+        buttonCancel->setAutoDefault(true);
+
+        hboxLayout44->addWidget(buttonCancel);
+
+
+        vboxLayout->addLayout(hboxLayout44);
+
+        QWidget::setTabOrder(tabWidget, lineEditHost);
+        QWidget::setTabOrder(lineEditHost, lineEditPort);
+        QWidget::setTabOrder(lineEditPort, comboBoxConfigMethod);
+        QWidget::setTabOrder(comboBoxConfigMethod, comboBoxAddressMethod);
+        QWidget::setTabOrder(comboBoxAddressMethod, checkBoxAddressAuto);
+        QWidget::setTabOrder(checkBoxAddressAuto, lineEditMTU);
+        QWidget::setTabOrder(lineEditMTU, lineEditAddress);
+        QWidget::setTabOrder(lineEditAddress, lineEditNetmask);
+        QWidget::setTabOrder(lineEditNetmask, comboBoxNATTMode);
+        QWidget::setTabOrder(comboBoxNATTMode, lineEditNATTPort);
+        QWidget::setTabOrder(lineEditNATTPort, lineEditNATTRate);
+        QWidget::setTabOrder(lineEditNATTRate, comboBoxFragMode);
+        QWidget::setTabOrder(comboBoxFragMode, lineEditFragSize);
+        QWidget::setTabOrder(lineEditFragSize, checkBoxDPD);
+        QWidget::setTabOrder(checkBoxDPD, checkBoxNotify);
+        QWidget::setTabOrder(checkBoxNotify, checkBoxBanner);
+        QWidget::setTabOrder(checkBoxBanner, checkBoxDNSEnable);
+        QWidget::setTabOrder(checkBoxDNSEnable, checkBoxDNSAuto);
+        QWidget::setTabOrder(checkBoxDNSAuto, lineEditDNSServer1);
+        QWidget::setTabOrder(lineEditDNSServer1, lineEditDNSServer2);
+        QWidget::setTabOrder(lineEditDNSServer2, lineEditDNSServer3);
+        QWidget::setTabOrder(lineEditDNSServer3, lineEditDNSServer4);
+        QWidget::setTabOrder(lineEditDNSServer4, checkBoxSuffixAuto);
+        QWidget::setTabOrder(checkBoxSuffixAuto, lineEditDNSSuffix);
+        QWidget::setTabOrder(lineEditDNSSuffix, comboBoxAuthMethod);
+        QWidget::setTabOrder(comboBoxAuthMethod, tabWidgetAuthInfo);
+        QWidget::setTabOrder(tabWidgetAuthInfo, comboBoxLocalIDType);
+        QWidget::setTabOrder(comboBoxLocalIDType, lineEditLocalIDData);
+        QWidget::setTabOrder(lineEditLocalIDData, checkBoxLocalIDOption);
+        QWidget::setTabOrder(checkBoxLocalIDOption, comboBoxRemoteIDType);
+        QWidget::setTabOrder(comboBoxRemoteIDType, lineEditRemoteIDData);
+        QWidget::setTabOrder(lineEditRemoteIDData, checkBoxRemoteIDOption);
+        QWidget::setTabOrder(checkBoxRemoteIDOption, lineEditCAName);
+        QWidget::setTabOrder(lineEditCAName, toolButtonCAFile);
+        QWidget::setTabOrder(toolButtonCAFile, lineEditCertName);
+        QWidget::setTabOrder(lineEditCertName, toolButtonCertFile);
+        QWidget::setTabOrder(toolButtonCertFile, lineEditPKeyName);
+        QWidget::setTabOrder(lineEditPKeyName, toolButtonPKeyFile);
+        QWidget::setTabOrder(toolButtonPKeyFile, lineEditPSK);
+        QWidget::setTabOrder(lineEditPSK, comboBoxP1Exchange);
+        QWidget::setTabOrder(comboBoxP1Exchange, comboBoxP1DHGroup);
+        QWidget::setTabOrder(comboBoxP1DHGroup, comboBoxP1Cipher);
+        QWidget::setTabOrder(comboBoxP1Cipher, comboBoxP1Keylen);
+        QWidget::setTabOrder(comboBoxP1Keylen, comboBoxP1Hash);
+        QWidget::setTabOrder(comboBoxP1Hash, lineEditP1LifeTime);
+        QWidget::setTabOrder(lineEditP1LifeTime, lineEditP1LifeData);
+        QWidget::setTabOrder(lineEditP1LifeData, checkBoxCheckpointID);
+        QWidget::setTabOrder(checkBoxCheckpointID, comboBoxP2Transform);
+        QWidget::setTabOrder(comboBoxP2Transform, comboBoxP2Keylen);
+        QWidget::setTabOrder(comboBoxP2Keylen, comboBoxP2HMAC);
+        QWidget::setTabOrder(comboBoxP2HMAC, comboBoxP2PFSGroup);
+        QWidget::setTabOrder(comboBoxP2PFSGroup, comboBoxP2Compress);
+        QWidget::setTabOrder(comboBoxP2Compress, lineEditP2LifeTime);
+        QWidget::setTabOrder(lineEditP2LifeTime, lineEditP2LifeData);
+        QWidget::setTabOrder(lineEditP2LifeData, comboBoxPolicyLevel);
+        QWidget::setTabOrder(comboBoxPolicyLevel, checkBoxPolicyNailed);
+        QWidget::setTabOrder(checkBoxPolicyNailed, checkBoxPolicyAuto);
+        QWidget::setTabOrder(checkBoxPolicyAuto, treeWidgetPolicies);
+        QWidget::setTabOrder(treeWidgetPolicies, pushButtonPolicyAdd);
+        QWidget::setTabOrder(pushButtonPolicyAdd, pushButtonPolicyMod);
+        QWidget::setTabOrder(pushButtonPolicyMod, pushButtonPolicyDel);
+        QWidget::setTabOrder(pushButtonPolicyDel, buttonSave);
+        QWidget::setTabOrder(buttonSave, buttonCancel);
+
+        retranslateUi(qikeaSite);
+
+        tabWidget->setCurrentIndex(0);
+        comboBoxNATTMode->setCurrentIndex(0);
+        comboBoxFragMode->setCurrentIndex(1);
+        tabWidgetAuthInfo->setCurrentIndex(0);
+
+
+        QMetaObject::connectSlotsByName(qikeaSite);
+    } // setupUi
+
+    void retranslateUi(QDialog *qikeaSite)
+    {
+        qikeaSite->setWindowTitle(QApplication::translate("qikeaSite", "VPN Site Configuration", 0, QApplication::UnicodeUTF8));
+        groupBoxRemoteHost->setTitle(QApplication::translate("qikeaSite", "Remote Host", 0, QApplication::UnicodeUTF8));
+        textLabelHost->setText(QApplication::translate("qikeaSite", "Host Name or IP Address", 0, QApplication::UnicodeUTF8));
+        textLabelPort->setText(QApplication::translate("qikeaSite", "Port", 0, QApplication::UnicodeUTF8));
+        lineEditPort->setText(QApplication::translate("qikeaSite", "500", 0, QApplication::UnicodeUTF8));
+        textLabelConfigMethod->setText(QApplication::translate("qikeaSite", "Auto Configuration", 0, QApplication::UnicodeUTF8));
+        comboBoxConfigMethod->clear();
+        comboBoxConfigMethod->insertItems(0, QStringList()
+         << QApplication::translate("qikeaSite", "disabled", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "ike config pull", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "ike config push", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "dhcp over ipsec", 0, QApplication::UnicodeUTF8)
+        );
+        groupBoxLocalHost->setTitle(QApplication::translate("qikeaSite", "Local Host", 0, QApplication::UnicodeUTF8));
+        textLabelAddressMethod->setText(QApplication::translate("qikeaSite", "Address Method", 0, QApplication::UnicodeUTF8));
+        comboBoxAddressMethod->clear();
+        comboBoxAddressMethod->insertItems(0, QStringList()
+         << QApplication::translate("qikeaSite", "Use a virtual adapter and assigned address", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "Use a virtual adapter and random address", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "Use an existing adapter and current address", 0, QApplication::UnicodeUTF8)
+        );
+        textLabelMTU->setText(QApplication::translate("qikeaSite", "MTU", 0, QApplication::UnicodeUTF8));
+        lineEditMTU->setText(QApplication::translate("qikeaSite", "1380", 0, QApplication::UnicodeUTF8));
+        checkBoxAddressAuto->setText(QApplication::translate("qikeaSite", "Obtain Automatically", 0, QApplication::UnicodeUTF8));
+        textLabelAddress->setText(QApplication::translate("qikeaSite", "Address", 0, QApplication::UnicodeUTF8));
+        lineEditAddress->setInputMask(QApplication::translate("qikeaSite", "009 . 009 . 009 . 009; ", 0, QApplication::UnicodeUTF8));
+        lineEditAddress->setText(QApplication::translate("qikeaSite", "0 . 0 . 0 . 0", 0, QApplication::UnicodeUTF8));
+        textLabelNetmask->setText(QApplication::translate("qikeaSite", "Netmask", 0, QApplication::UnicodeUTF8));
+        lineEditNetmask->setInputMask(QApplication::translate("qikeaSite", "009 . 009 . 009 . 009; ", 0, QApplication::UnicodeUTF8));
+        lineEditNetmask->setText(QApplication::translate("qikeaSite", "0 . 0 . 0 . 0", 0, QApplication::UnicodeUTF8));
+        tabWidget->setTabText(tabWidget->indexOf(tabGeneral), QApplication::translate("qikeaSite", "General", 0, QApplication::UnicodeUTF8));
+        groupBoxFirewall->setTitle(QApplication::translate("qikeaSite", "Firewall Options", 0, QApplication::UnicodeUTF8));
+        textLabelNATTMode->setText(QApplication::translate("qikeaSite", "NAT Traversal", 0, QApplication::UnicodeUTF8));
+        comboBoxNATTMode->clear();
+        comboBoxNATTMode->insertItems(0, QStringList()
+         << QApplication::translate("qikeaSite", "disable", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "enable", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "force-draft", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "force-rfc", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "force-cisco-udp", 0, QApplication::UnicodeUTF8)
+        );
+        textLabelNATTPort->setText(QApplication::translate("qikeaSite", "NAT Traversal Port", 0, QApplication::UnicodeUTF8));
+        lineEditNATTPort->setText(QApplication::translate("qikeaSite", "4500", 0, QApplication::UnicodeUTF8));
+        label->setText(QString());
+        textLabelNATTRate->setText(QApplication::translate("qikeaSite", "Keep-Alive Packet Rate", 0, QApplication::UnicodeUTF8));
+        lineEditNATTRate->setText(QApplication::translate("qikeaSite", "15", 0, QApplication::UnicodeUTF8));
+        textLabelNATTSecs->setText(QApplication::translate("qikeaSite", "Secs", 0, QApplication::UnicodeUTF8));
+        textLabelFragMode->setText(QApplication::translate("qikeaSite", "IKE Fragmentation", 0, QApplication::UnicodeUTF8));
+        comboBoxFragMode->clear();
+        comboBoxFragMode->insertItems(0, QStringList()
+         << QApplication::translate("qikeaSite", "disable", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "enable", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "force", 0, QApplication::UnicodeUTF8)
+        );
+        textLabelFragSize->setText(QApplication::translate("qikeaSite", "Maximum Packet Size", 0, QApplication::UnicodeUTF8));
+        lineEditFragSize->setText(QApplication::translate("qikeaSite", "540", 0, QApplication::UnicodeUTF8));
+        textLabelFragBytes->setText(QApplication::translate("qikeaSite", "Bytes", 0, QApplication::UnicodeUTF8));
+        groupBoxOther->setTitle(QApplication::translate("qikeaSite", "Other Options", 0, QApplication::UnicodeUTF8));
+        checkBoxDPD->setText(QApplication::translate("qikeaSite", "Enable Dead Peer Detection", 0, QApplication::UnicodeUTF8));
+        checkBoxNotify->setText(QApplication::translate("qikeaSite", "Enable IKSAMP Failure Notifications", 0, QApplication::UnicodeUTF8));
+        checkBoxBanner->setText(QApplication::translate("qikeaSite", "Enable Client Login Banner", 0, QApplication::UnicodeUTF8));
+        tabWidget->setTabText(tabWidget->indexOf(tabClient), QApplication::translate("qikeaSite", "Client", 0, QApplication::UnicodeUTF8));
+        checkBoxDNSEnable->setText(QApplication::translate("qikeaSite", "Enable DNS", 0, QApplication::UnicodeUTF8));
+        checkBoxDNSAuto->setText(QApplication::translate("qikeaSite", "Obtain Automatically", 0, QApplication::UnicodeUTF8));
+        textLabelDNSServer1->setText(QApplication::translate("qikeaSite", "Server Address #1", 0, QApplication::UnicodeUTF8));
+        lineEditDNSServer1->setInputMask(QApplication::translate("qikeaSite", "009 . 009 . 009 . 009; ", 0, QApplication::UnicodeUTF8));
+        lineEditDNSServer1->setText(QApplication::translate("qikeaSite", "0 . 0 . 0 . 0", 0, QApplication::UnicodeUTF8));
+        textLabelDNSServer2->setText(QApplication::translate("qikeaSite", "Server Address #2", 0, QApplication::UnicodeUTF8));
+        lineEditDNSServer2->setInputMask(QApplication::translate("qikeaSite", "009 . 009 . 009 . 009; ", 0, QApplication::UnicodeUTF8));
+        lineEditDNSServer2->setText(QApplication::translate("qikeaSite", "0 . 0 . 0 . 0", 0, QApplication::UnicodeUTF8));
+        textLabelDNSServer3->setText(QApplication::translate("qikeaSite", "Server Address #3", 0, QApplication::UnicodeUTF8));
+        lineEditDNSServer3->setInputMask(QApplication::translate("qikeaSite", "009 . 009 . 009 . 009; ", 0, QApplication::UnicodeUTF8));
+        lineEditDNSServer3->setText(QApplication::translate("qikeaSite", "0 . 0 . 0 . 0", 0, QApplication::UnicodeUTF8));
+        textLabelDNSServer4->setText(QApplication::translate("qikeaSite", "Server Address #4", 0, QApplication::UnicodeUTF8));
+        lineEditDNSServer4->setInputMask(QApplication::translate("qikeaSite", "009 . 009 . 009 . 009; ", 0, QApplication::UnicodeUTF8));
+        lineEditDNSServer4->setText(QApplication::translate("qikeaSite", "0 . 0 . 0 . 0", 0, QApplication::UnicodeUTF8));
+        checkBoxSuffixAuto->setText(QApplication::translate("qikeaSite", "Obtain Automatically", 0, QApplication::UnicodeUTF8));
+        textLabelDNSSuffix->setText(QApplication::translate("qikeaSite", "DNS Suffix", 0, QApplication::UnicodeUTF8));
+        tabWidget->setTabText(tabWidget->indexOf(tabNameResolution), QApplication::translate("qikeaSite", "NameResolution", 0, QApplication::UnicodeUTF8));
+        textLabelAuthMethod->setText(QApplication::translate("qikeaSite", "Authentication Method", 0, QApplication::UnicodeUTF8));
+        comboBoxAuthMethod->clear();
+        comboBoxAuthMethod->insertItems(0, QStringList()
+         << QApplication::translate("qikeaSite", "Hybrid RSA + XAuth", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "Hybrid GRP + XAuth", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "Mutual RSA + XAuth", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "Mutual PSK + XAuth", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "Mutual RSA", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "Mutual PSK", 0, QApplication::UnicodeUTF8)
+        );
+        textLabelLocalIDType->setText(QApplication::translate("qikeaSite", "Identification Type", 0, QApplication::UnicodeUTF8));
+        comboBoxLocalIDType->clear();
+        comboBoxLocalIDType->insertItems(0, QStringList()
+         << QApplication::translate("qikeaSite", "ASN.1 Distinguished Name", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "Fully Qualified Domain Name", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "User Fully Qualified Domain Name", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "IP Address", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "Key Identifier", 0, QApplication::UnicodeUTF8)
+        );
+        textLabelLocalIDData->setText(QApplication::translate("qikeaSite", "Identification Data", 0, QApplication::UnicodeUTF8));
+        checkBoxLocalIDOption->setText(QApplication::translate("qikeaSite", "Obtain Identification Automatically", 0, QApplication::UnicodeUTF8));
+        tabWidgetAuthInfo->setTabText(tabWidgetAuthInfo->indexOf(tab), QApplication::translate("qikeaSite", "Local Identity", 0, QApplication::UnicodeUTF8));
+        textLabelRemoteIDType->setText(QApplication::translate("qikeaSite", "Identification Type", 0, QApplication::UnicodeUTF8));
+        comboBoxRemoteIDType->clear();
+        comboBoxRemoteIDType->insertItems(0, QStringList()
+         << QApplication::translate("qikeaSite", "Any", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "ASN.1 Distinguished Name", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "Fully Qualified Domain Name", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "User Fully Qualified Domain Name", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "IP Address", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "Key Identifier", 0, QApplication::UnicodeUTF8)
+        );
+        textLabelRemoteIDData->setText(QApplication::translate("qikeaSite", "Identification Data", 0, QApplication::UnicodeUTF8));
+        checkBoxRemoteIDOption->setText(QApplication::translate("qikeaSite", "Identification Option", 0, QApplication::UnicodeUTF8));
+        tabWidgetAuthInfo->setTabText(tabWidgetAuthInfo->indexOf(tab_2), QApplication::translate("qikeaSite", "Remote Identity", 0, QApplication::UnicodeUTF8));
+        textLabelCAFile->setText(QApplication::translate("qikeaSite", "Server Certificate Authority File", 0, QApplication::UnicodeUTF8));
+        toolButtonCAFile->setText(QApplication::translate("qikeaSite", "...", 0, QApplication::UnicodeUTF8));
+        textLabelCertFile->setText(QApplication::translate("qikeaSite", "Client Certificate File", 0, QApplication::UnicodeUTF8));
+        toolButtonCertFile->setText(QApplication::translate("qikeaSite", "...", 0, QApplication::UnicodeUTF8));
+        textLabelPKeyFile->setText(QApplication::translate("qikeaSite", "Client Private Key File", 0, QApplication::UnicodeUTF8));
+        toolButtonPKeyFile->setText(QApplication::translate("qikeaSite", "...", 0, QApplication::UnicodeUTF8));
+        textLabelPSK->setText(QApplication::translate("qikeaSite", "Pre Shared Key", 0, QApplication::UnicodeUTF8));
+        tabWidgetAuthInfo->setTabText(tabWidgetAuthInfo->indexOf(TabPage), QApplication::translate("qikeaSite", "Credentials", 0, QApplication::UnicodeUTF8));
+        tabWidget->setTabText(tabWidget->indexOf(tabAuthentication), QApplication::translate("qikeaSite", "Authentication", 0, QApplication::UnicodeUTF8));
+        groupBoxP1Proposal->setTitle(QApplication::translate("qikeaSite", "Proposal Parameters", 0, QApplication::UnicodeUTF8));
+        textLabelP1Exchange->setText(QApplication::translate("qikeaSite", "Exchange Type", 0, QApplication::UnicodeUTF8));
+        comboBoxP1Exchange->clear();
+        comboBoxP1Exchange->insertItems(0, QStringList()
+         << QApplication::translate("qikeaSite", "aggressive", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "main", 0, QApplication::UnicodeUTF8)
+        );
+        textLabelP1DHGroup->setText(QApplication::translate("qikeaSite", "DH Exchange", 0, QApplication::UnicodeUTF8));
+        comboBoxP1DHGroup->clear();
+        comboBoxP1DHGroup->insertItems(0, QStringList()
+         << QApplication::translate("qikeaSite", "auto", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "group 1", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "group 2", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "group 5", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "group 14", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "group 15", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "group 16", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "group 17", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "group 18", 0, QApplication::UnicodeUTF8)
+        );
+        textLabelP1Cipher->setText(QApplication::translate("qikeaSite", "Cipher Algorithm", 0, QApplication::UnicodeUTF8));
+        comboBoxP1Cipher->clear();
+        comboBoxP1Cipher->insertItems(0, QStringList()
+         << QApplication::translate("qikeaSite", "auto", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "aes", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "blowfish", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "3des", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "des", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "cast", 0, QApplication::UnicodeUTF8)
+        );
+        textLabelP1Keylen->setText(QApplication::translate("qikeaSite", "Cipher Key Length", 0, QApplication::UnicodeUTF8));
+        comboBoxP1Keylen->clear();
+        comboBoxP1Keylen->insertItems(0, QStringList()
+         << QApplication::translate("qikeaSite", "auto", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "128", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "136", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "144", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "152", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "160", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "168", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "176", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "184", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "192", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "200", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "208", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "216", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "224", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "232", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "240", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "248", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "256", 0, QApplication::UnicodeUTF8)
+        );
+        textLabelP1KeyBits->setText(QApplication::translate("qikeaSite", "Bits", 0, QApplication::UnicodeUTF8));
+        textLabelP1Hash->setText(QApplication::translate("qikeaSite", "Hash Algorithm", 0, QApplication::UnicodeUTF8));
+        comboBoxP1Hash->clear();
+        comboBoxP1Hash->insertItems(0, QStringList()
+         << QApplication::translate("qikeaSite", "auto", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "sha1", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "md5", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "sha2-256", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "sha2-384", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "sha2-512", 0, QApplication::UnicodeUTF8)
+        );
+        textLabelP1LifeTime->setText(QApplication::translate("qikeaSite", "Key Life Time Limit", 0, QApplication::UnicodeUTF8));
+        lineEditP1LifeTime->setText(QApplication::translate("qikeaSite", "86400", 0, QApplication::UnicodeUTF8));
+        textLabelLifeSecs->setText(QApplication::translate("qikeaSite", "Secs", 0, QApplication::UnicodeUTF8));
+        textLabelLifeData->setText(QApplication::translate("qikeaSite", "Key Life Data Limit", 0, QApplication::UnicodeUTF8));
+        lineEditP1LifeData->setText(QApplication::translate("qikeaSite", "0", 0, QApplication::UnicodeUTF8));
+        textLabelLifeKBs->setText(QApplication::translate("qikeaSite", "KBs", 0, QApplication::UnicodeUTF8));
+        checkBoxCheckpointID->setText(QApplication::translate("qikeaSite", "Enable Check Point Compatible Vendor ID", 0, QApplication::UnicodeUTF8));
+        tabWidget->setTabText(tabWidget->indexOf(tabPhase1), QApplication::translate("qikeaSite", "Phase 1", 0, QApplication::UnicodeUTF8));
+        groupBoxP2Proposal->setTitle(QApplication::translate("qikeaSite", "Proposal Parameters", 0, QApplication::UnicodeUTF8));
+        textLabelP2Transform->setText(QApplication::translate("qikeaSite", "Transform Algorithm", 0, QApplication::UnicodeUTF8));
+        comboBoxP2Transform->clear();
+        comboBoxP2Transform->insertItems(0, QStringList()
+         << QApplication::translate("qikeaSite", "auto", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "esp-aes", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "esp-blowfish", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "esp-3des", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "esp-des", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "esp-cast", 0, QApplication::UnicodeUTF8)
+        );
+        textLabelP2Keylen->setText(QApplication::translate("qikeaSite", "Transform Key Length", 0, QApplication::UnicodeUTF8));
+        comboBoxP2Keylen->clear();
+        comboBoxP2Keylen->insertItems(0, QStringList()
+         << QApplication::translate("qikeaSite", "auto", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "128", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "136", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "144", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "152", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "160", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "168", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "176", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "184", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "192", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "200", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "208", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "216", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "224", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "232", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "240", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "248", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "256", 0, QApplication::UnicodeUTF8)
+        );
+        textLabelP2KeyBits->setText(QApplication::translate("qikeaSite", "Bits", 0, QApplication::UnicodeUTF8));
+        textLabelP2HMAC->setText(QApplication::translate("qikeaSite", "HMAC Algorithm", 0, QApplication::UnicodeUTF8));
+        comboBoxP2HMAC->clear();
+        comboBoxP2HMAC->insertItems(0, QStringList()
+         << QApplication::translate("qikeaSite", "auto", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "sha1", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "md5", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "sha2-256", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "sha2-384", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "sha2-512", 0, QApplication::UnicodeUTF8)
+        );
+        textLabelP2PFSGroup->setText(QApplication::translate("qikeaSite", "PFS Exchange", 0, QApplication::UnicodeUTF8));
+        comboBoxP2PFSGroup->clear();
+        comboBoxP2PFSGroup->insertItems(0, QStringList()
+         << QApplication::translate("qikeaSite", "disabled", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "auto", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "group 1", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "group 2", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "group 5", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "group 14", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "group 15", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "group 16", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "group 17", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "group 18", 0, QApplication::UnicodeUTF8)
+        );
+        textLabelP2Compress->setText(QApplication::translate("qikeaSite", "Compression Algorithm", 0, QApplication::UnicodeUTF8));
+        comboBoxP2Compress->clear();
+        comboBoxP2Compress->insertItems(0, QStringList()
+         << QApplication::translate("qikeaSite", "disabled", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "deflate", 0, QApplication::UnicodeUTF8)
+        );
+        textLabelP2LifeTime->setText(QApplication::translate("qikeaSite", "Key Life Time Limit", 0, QApplication::UnicodeUTF8));
+        lineEditP2LifeTime->setText(QApplication::translate("qikeaSite", "3600", 0, QApplication::UnicodeUTF8));
+        textLabelP2LifeSecs->setText(QApplication::translate("qikeaSite", "Secs", 0, QApplication::UnicodeUTF8));
+        textLabelP2LifeData->setText(QApplication::translate("qikeaSite", "Key Life Data Limit", 0, QApplication::UnicodeUTF8));
+        lineEditP2LifeData->setText(QApplication::translate("qikeaSite", "0", 0, QApplication::UnicodeUTF8));
+        textLabelP2LifeKBs->setText(QApplication::translate("qikeaSite", "KBs", 0, QApplication::UnicodeUTF8));
+        tabWidget->setTabText(tabWidget->indexOf(tabPhase2), QApplication::translate("qikeaSite", "Phase 2", 0, QApplication::UnicodeUTF8));
+        groupBoxPolicy->setTitle(QApplication::translate("qikeaSite", "IPsec Policy Configuration", 0, QApplication::UnicodeUTF8));
+        textLabelPolicyLevel->setText(QApplication::translate("qikeaSite", "Policy Generation Level", 0, QApplication::UnicodeUTF8));
+        comboBoxPolicyLevel->clear();
+        comboBoxPolicyLevel->insertItems(0, QStringList()
+         << QApplication::translate("qikeaSite", "auto", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "require", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "unique", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaSite", "shared", 0, QApplication::UnicodeUTF8)
+        );
+        checkBoxPolicyNailed->setText(QApplication::translate("qikeaSite", "Maintain Persistent Security Associations", 0, QApplication::UnicodeUTF8));
+        checkBoxPolicyAuto->setText(QApplication::translate("qikeaSite", "Obtain Topology Automatically or Tunnel All", 0, QApplication::UnicodeUTF8));
+        QTreeWidgetItem *___qtreewidgetitem = treeWidgetPolicies->headerItem();
+        ___qtreewidgetitem->setText(0, QApplication::translate("qikeaSite", "Remote Network Resources", 0, QApplication::UnicodeUTF8));
+        pushButtonPolicyAdd->setText(QApplication::translate("qikeaSite", "Add", 0, QApplication::UnicodeUTF8));
+        pushButtonPolicyMod->setText(QApplication::translate("qikeaSite", "Modify", 0, QApplication::UnicodeUTF8));
+        pushButtonPolicyDel->setText(QApplication::translate("qikeaSite", "Delete", 0, QApplication::UnicodeUTF8));
+        tabWidget->setTabText(tabWidget->indexOf(tabPolicy), QApplication::translate("qikeaSite", "Policy", 0, QApplication::UnicodeUTF8));
+        buttonSave->setText(QApplication::translate("qikeaSite", "&Save", 0, QApplication::UnicodeUTF8));
+        buttonSave->setShortcut(QApplication::translate("qikeaSite", "Alt+S", 0, QApplication::UnicodeUTF8));
+        buttonCancel->setText(QApplication::translate("qikeaSite", "&Cancel", 0, QApplication::UnicodeUTF8));
+        buttonCancel->setShortcut(QString());
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class qikeaSite: public Ui_qikeaSite {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_SITE_H
diff -ruN ike.orig/source/qikea/ui_topology.h ike/source/qikea/ui_topology.h
--- ike.orig/source/qikea/ui_topology.h	1970-01-01 01:00:00.000000000 +0100
+++ ike/source/qikea/ui_topology.h	2016-11-10 15:07:02.000000000 +0100
@@ -0,0 +1,175 @@
+/********************************************************************************
+** Form generated from reading UI file 'topology.ui'
+**
+** Created by: Qt User Interface Compiler version 4.8.7
+**
+** WARNING! All changes made in this file will be lost when recompiling UI file!
+********************************************************************************/
+
+#ifndef UI_TOPOLOGY_H
+#define UI_TOPOLOGY_H
+
+#include <QtCore/QVariant>
+#include <QtGui/QAction>
+#include <QtGui/QApplication>
+#include <QtGui/QButtonGroup>
+#include <QtGui/QComboBox>
+#include <QtGui/QDialog>
+#include <QtGui/QHBoxLayout>
+#include <QtGui/QHeaderView>
+#include <QtGui/QLabel>
+#include <QtGui/QLineEdit>
+#include <QtGui/QPushButton>
+#include <QtGui/QSpacerItem>
+#include <QtGui/QVBoxLayout>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_qikeaTopology
+{
+public:
+    QVBoxLayout *vboxLayout;
+    QHBoxLayout *hboxLayout;
+    QLabel *textLabelType_2;
+    QComboBox *comboBoxType;
+    QHBoxLayout *hboxLayout1;
+    QLabel *textLabelAddress;
+    QLineEdit *lineEditAddress;
+    QHBoxLayout *hboxLayout2;
+    QLabel *textLabelNetmask;
+    QLineEdit *lineEditNetmask;
+    QSpacerItem *spacerItem;
+    QHBoxLayout *hboxLayout3;
+    QSpacerItem *spacerItem1;
+    QPushButton *buttonOk;
+    QPushButton *buttonCancel;
+
+    void setupUi(QDialog *qikeaTopology)
+    {
+        if (qikeaTopology->objectName().isEmpty())
+            qikeaTopology->setObjectName(QString::fromUtf8("qikeaTopology"));
+        qikeaTopology->resize(192, 153);
+        QIcon icon;
+        icon.addFile(QString::fromUtf8(":/png/site_mod.png"), QSize(), QIcon::Normal, QIcon::Off);
+        qikeaTopology->setWindowIcon(icon);
+        vboxLayout = new QVBoxLayout(qikeaTopology);
+        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
+        hboxLayout = new QHBoxLayout();
+        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
+        textLabelType_2 = new QLabel(qikeaTopology);
+        textLabelType_2->setObjectName(QString::fromUtf8("textLabelType_2"));
+        textLabelType_2->setWordWrap(false);
+
+        hboxLayout->addWidget(textLabelType_2);
+
+        comboBoxType = new QComboBox(qikeaTopology);
+        comboBoxType->setObjectName(QString::fromUtf8("comboBoxType"));
+
+        hboxLayout->addWidget(comboBoxType);
+
+
+        vboxLayout->addLayout(hboxLayout);
+
+        hboxLayout1 = new QHBoxLayout();
+        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
+        textLabelAddress = new QLabel(qikeaTopology);
+        textLabelAddress->setObjectName(QString::fromUtf8("textLabelAddress"));
+        textLabelAddress->setWordWrap(false);
+
+        hboxLayout1->addWidget(textLabelAddress);
+
+        lineEditAddress = new QLineEdit(qikeaTopology);
+        lineEditAddress->setObjectName(QString::fromUtf8("lineEditAddress"));
+        QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
+        sizePolicy.setHorizontalStretch(0);
+        sizePolicy.setVerticalStretch(0);
+        sizePolicy.setHeightForWidth(lineEditAddress->sizePolicy().hasHeightForWidth());
+        lineEditAddress->setSizePolicy(sizePolicy);
+        lineEditAddress->setAlignment(Qt::AlignHCenter);
+
+        hboxLayout1->addWidget(lineEditAddress);
+
+
+        vboxLayout->addLayout(hboxLayout1);
+
+        hboxLayout2 = new QHBoxLayout();
+        hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
+        textLabelNetmask = new QLabel(qikeaTopology);
+        textLabelNetmask->setObjectName(QString::fromUtf8("textLabelNetmask"));
+        textLabelNetmask->setWordWrap(false);
+
+        hboxLayout2->addWidget(textLabelNetmask);
+
+        lineEditNetmask = new QLineEdit(qikeaTopology);
+        lineEditNetmask->setObjectName(QString::fromUtf8("lineEditNetmask"));
+        sizePolicy.setHeightForWidth(lineEditNetmask->sizePolicy().hasHeightForWidth());
+        lineEditNetmask->setSizePolicy(sizePolicy);
+        lineEditNetmask->setAlignment(Qt::AlignHCenter);
+
+        hboxLayout2->addWidget(lineEditNetmask);
+
+
+        vboxLayout->addLayout(hboxLayout2);
+
+        spacerItem = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
+
+        vboxLayout->addItem(spacerItem);
+
+        hboxLayout3 = new QHBoxLayout();
+        hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
+        spacerItem1 = new QSpacerItem(41, 31, QSizePolicy::Expanding, QSizePolicy::Minimum);
+
+        hboxLayout3->addItem(spacerItem1);
+
+        buttonOk = new QPushButton(qikeaTopology);
+        buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
+        buttonOk->setAutoDefault(true);
+        buttonOk->setDefault(true);
+
+        hboxLayout3->addWidget(buttonOk);
+
+        buttonCancel = new QPushButton(qikeaTopology);
+        buttonCancel->setObjectName(QString::fromUtf8("buttonCancel"));
+        buttonCancel->setAutoDefault(true);
+
+        hboxLayout3->addWidget(buttonCancel);
+
+
+        vboxLayout->addLayout(hboxLayout3);
+
+
+        retranslateUi(qikeaTopology);
+
+        QMetaObject::connectSlotsByName(qikeaTopology);
+    } // setupUi
+
+    void retranslateUi(QDialog *qikeaTopology)
+    {
+        qikeaTopology->setWindowTitle(QApplication::translate("qikeaTopology", "Tolology Entry", 0, QApplication::UnicodeUTF8));
+        textLabelType_2->setText(QApplication::translate("qikeaTopology", "Type", 0, QApplication::UnicodeUTF8));
+        comboBoxType->clear();
+        comboBoxType->insertItems(0, QStringList()
+         << QApplication::translate("qikeaTopology", "Include", 0, QApplication::UnicodeUTF8)
+         << QApplication::translate("qikeaTopology", "Exclude", 0, QApplication::UnicodeUTF8)
+        );
+        textLabelAddress->setText(QApplication::translate("qikeaTopology", "Address", 0, QApplication::UnicodeUTF8));
+        lineEditAddress->setInputMask(QApplication::translate("qikeaTopology", "009 . 009 . 009 . 009; ", 0, QApplication::UnicodeUTF8));
+        lineEditAddress->setText(QApplication::translate("qikeaTopology", "0 . 0 . 0 . 0", 0, QApplication::UnicodeUTF8));
+        textLabelNetmask->setText(QApplication::translate("qikeaTopology", "Netmask", 0, QApplication::UnicodeUTF8));
+        lineEditNetmask->setInputMask(QApplication::translate("qikeaTopology", "009 . 009 . 009 . 009; ", 0, QApplication::UnicodeUTF8));
+        lineEditNetmask->setText(QApplication::translate("qikeaTopology", "0 . 0 . 0 . 0", 0, QApplication::UnicodeUTF8));
+        buttonOk->setText(QApplication::translate("qikeaTopology", "&Ok", 0, QApplication::UnicodeUTF8));
+        buttonOk->setShortcut(QApplication::translate("qikeaTopology", "Alt+O", 0, QApplication::UnicodeUTF8));
+        buttonCancel->setText(QApplication::translate("qikeaTopology", "&Cancel", 0, QApplication::UnicodeUTF8));
+        buttonCancel->setShortcut(QString());
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class qikeaTopology: public Ui_qikeaTopology {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_TOPOLOGY_H
diff -ruN ike.orig/source/qikec/ui_banner.h ike/source/qikec/ui_banner.h
--- ike.orig/source/qikec/ui_banner.h	1970-01-01 01:00:00.000000000 +0100
+++ ike/source/qikec/ui_banner.h	2016-11-10 15:10:59.000000000 +0100
@@ -0,0 +1,94 @@
+/********************************************************************************
+** Form generated from reading UI file 'banner.ui'
+**
+** Created by: Qt User Interface Compiler version 4.8.7
+**
+** WARNING! All changes made in this file will be lost when recompiling UI file!
+********************************************************************************/
+
+#ifndef UI_BANNER_H
+#define UI_BANNER_H
+
+#include <QtCore/QVariant>
+#include <QtGui/QAction>
+#include <QtGui/QApplication>
+#include <QtGui/QButtonGroup>
+#include <QtGui/QDialog>
+#include <QtGui/QHBoxLayout>
+#include <QtGui/QHeaderView>
+#include <QtGui/QPushButton>
+#include <QtGui/QSpacerItem>
+#include <QtGui/QTextBrowser>
+#include <QtGui/QVBoxLayout>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_ikecBanner
+{
+public:
+    QVBoxLayout *vboxLayout;
+    QTextBrowser *textBrowserMOTD;
+    QHBoxLayout *hboxLayout;
+    QSpacerItem *spacerItem;
+    QPushButton *buttonOk;
+
+    void setupUi(QDialog *ikecBanner)
+    {
+        if (ikecBanner->objectName().isEmpty())
+            ikecBanner->setObjectName(QString::fromUtf8("ikecBanner"));
+        ikecBanner->resize(340, 204);
+        const QIcon icon = QIcon(QString::fromUtf8(":/png/png/ikec.png"));
+        ikecBanner->setWindowIcon(icon);
+        vboxLayout = new QVBoxLayout(ikecBanner);
+        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
+        textBrowserMOTD = new QTextBrowser(ikecBanner);
+        textBrowserMOTD->setObjectName(QString::fromUtf8("textBrowserMOTD"));
+
+        vboxLayout->addWidget(textBrowserMOTD);
+
+        hboxLayout = new QHBoxLayout();
+        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
+        spacerItem = new QSpacerItem(386, 16, QSizePolicy::Expanding, QSizePolicy::Minimum);
+
+        hboxLayout->addItem(spacerItem);
+
+        buttonOk = new QPushButton(ikecBanner);
+        buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
+        buttonOk->setWindowModality(Qt::ApplicationModal);
+        QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed);
+        sizePolicy.setHorizontalStretch(0);
+        sizePolicy.setVerticalStretch(0);
+        sizePolicy.setHeightForWidth(buttonOk->sizePolicy().hasHeightForWidth());
+        buttonOk->setSizePolicy(sizePolicy);
+        buttonOk->setMaximumSize(QSize(32767, 20));
+        buttonOk->setAutoDefault(true);
+        buttonOk->setDefault(true);
+
+        hboxLayout->addWidget(buttonOk);
+
+
+        vboxLayout->addLayout(hboxLayout);
+
+        QWidget::setTabOrder(buttonOk, textBrowserMOTD);
+
+        retranslateUi(ikecBanner);
+
+        QMetaObject::connectSlotsByName(ikecBanner);
+    } // setupUi
+
+    void retranslateUi(QDialog *ikecBanner)
+    {
+        ikecBanner->setWindowTitle(QApplication::translate("ikecBanner", "Login Banner", 0, QApplication::UnicodeUTF8));
+        buttonOk->setText(QApplication::translate("ikecBanner", "&OK", 0, QApplication::UnicodeUTF8));
+        buttonOk->setShortcut(QString());
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class ikecBanner: public Ui_ikecBanner {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_BANNER_H
diff -ruN ike.orig/source/qikec/ui_filepass.h ike/source/qikec/ui_filepass.h
--- ike.orig/source/qikec/ui_filepass.h	1970-01-01 01:00:00.000000000 +0100
+++ ike/source/qikec/ui_filepass.h	2016-11-10 15:10:59.000000000 +0100
@@ -0,0 +1,117 @@
+/********************************************************************************
+** Form generated from reading UI file 'filepass.ui'
+**
+** Created by: Qt User Interface Compiler version 4.8.7
+**
+** WARNING! All changes made in this file will be lost when recompiling UI file!
+********************************************************************************/
+
+#ifndef UI_FILEPASS_H
+#define UI_FILEPASS_H
+
+#include <QtCore/QVariant>
+#include <QtGui/QAction>
+#include <QtGui/QApplication>
+#include <QtGui/QButtonGroup>
+#include <QtGui/QDialog>
+#include <QtGui/QHBoxLayout>
+#include <QtGui/QHeaderView>
+#include <QtGui/QLabel>
+#include <QtGui/QLineEdit>
+#include <QtGui/QPushButton>
+#include <QtGui/QSpacerItem>
+#include <QtGui/QVBoxLayout>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_ikecFilePass
+{
+public:
+    QVBoxLayout *vboxLayout;
+    QLabel *textLabelUsername;
+    QLineEdit *lineEditPassword;
+    QHBoxLayout *hboxLayout;
+    QSpacerItem *spacerItem;
+    QPushButton *buttonOk;
+    QPushButton *buttonCancel;
+
+    void setupUi(QDialog *ikecFilePass)
+    {
+        if (ikecFilePass->objectName().isEmpty())
+            ikecFilePass->setObjectName(QString::fromUtf8("ikecFilePass"));
+        ikecFilePass->setWindowModality(Qt::ApplicationModal);
+        ikecFilePass->resize(249, 88);
+        const QIcon icon = QIcon(QString::fromUtf8(":/png/png/ikec.png"));
+        ikecFilePass->setWindowIcon(icon);
+        vboxLayout = new QVBoxLayout(ikecFilePass);
+        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
+        textLabelUsername = new QLabel(ikecFilePass);
+        textLabelUsername->setObjectName(QString::fromUtf8("textLabelUsername"));
+        textLabelUsername->setFrameShape(QFrame::NoFrame);
+        textLabelUsername->setFrameShadow(QFrame::Plain);
+        textLabelUsername->setWordWrap(false);
+
+        vboxLayout->addWidget(textLabelUsername);
+
+        lineEditPassword = new QLineEdit(ikecFilePass);
+        lineEditPassword->setObjectName(QString::fromUtf8("lineEditPassword"));
+        lineEditPassword->setEchoMode(QLineEdit::Password);
+
+        vboxLayout->addWidget(lineEditPassword);
+
+        hboxLayout = new QHBoxLayout();
+        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
+        spacerItem = new QSpacerItem(52, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
+
+        hboxLayout->addItem(spacerItem);
+
+        buttonOk = new QPushButton(ikecFilePass);
+        buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
+        QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
+        sizePolicy.setHorizontalStretch(0);
+        sizePolicy.setVerticalStretch(0);
+        sizePolicy.setHeightForWidth(buttonOk->sizePolicy().hasHeightForWidth());
+        buttonOk->setSizePolicy(sizePolicy);
+        buttonOk->setMaximumSize(QSize(32767, 20));
+        buttonOk->setAutoDefault(true);
+        buttonOk->setDefault(true);
+
+        hboxLayout->addWidget(buttonOk);
+
+        buttonCancel = new QPushButton(ikecFilePass);
+        buttonCancel->setObjectName(QString::fromUtf8("buttonCancel"));
+        sizePolicy.setHeightForWidth(buttonCancel->sizePolicy().hasHeightForWidth());
+        buttonCancel->setSizePolicy(sizePolicy);
+        buttonCancel->setMaximumSize(QSize(32767, 20));
+        buttonCancel->setAutoDefault(true);
+
+        hboxLayout->addWidget(buttonCancel);
+
+
+        vboxLayout->addLayout(hboxLayout);
+
+
+        retranslateUi(ikecFilePass);
+
+        QMetaObject::connectSlotsByName(ikecFilePass);
+    } // setupUi
+
+    void retranslateUi(QDialog *ikecFilePass)
+    {
+        ikecFilePass->setWindowTitle(QApplication::translate("ikecFilePass", "File Password", 0, QApplication::UnicodeUTF8));
+        textLabelUsername->setText(QApplication::translate("ikecFilePass", "Please enter the file password", 0, QApplication::UnicodeUTF8));
+        buttonOk->setText(QApplication::translate("ikecFilePass", "&OK", 0, QApplication::UnicodeUTF8));
+        buttonOk->setShortcut(QString());
+        buttonCancel->setText(QApplication::translate("ikecFilePass", "&Cancel", 0, QApplication::UnicodeUTF8));
+        buttonCancel->setShortcut(QString());
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class ikecFilePass: public Ui_ikecFilePass {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_FILEPASS_H
diff -ruN ike.orig/source/qikec/ui_root.h ike/source/qikec/ui_root.h
--- ike.orig/source/qikec/ui_root.h	1970-01-01 01:00:00.000000000 +0100
+++ ike/source/qikec/ui_root.h	2016-11-10 15:10:59.000000000 +0100
@@ -0,0 +1,361 @@
+/********************************************************************************
+** Form generated from reading UI file 'root.ui'
+**
+** Created by: Qt User Interface Compiler version 4.8.7
+**
+** WARNING! All changes made in this file will be lost when recompiling UI file!
+********************************************************************************/
+
+#ifndef UI_ROOT_H
+#define UI_ROOT_H
+
+#include <QtCore/QVariant>
+#include <QtGui/QAction>
+#include <QtGui/QApplication>
+#include <QtGui/QButtonGroup>
+#include <QtGui/QGridLayout>
+#include <QtGui/QGroupBox>
+#include <QtGui/QHBoxLayout>
+#include <QtGui/QHeaderView>
+#include <QtGui/QLabel>
+#include <QtGui/QLineEdit>
+#include <QtGui/QMainWindow>
+#include <QtGui/QPushButton>
+#include <QtGui/QSpacerItem>
+#include <QtGui/QTabWidget>
+#include <QtGui/QTextBrowser>
+#include <QtGui/QVBoxLayout>
+#include <QtGui/QWidget>
+
+QT_BEGIN_NAMESPACE
+
+class Ui_ikecRoot
+{
+public:
+    QWidget *centralwidget;
+    QVBoxLayout *vboxLayout;
+    QTabWidget *tabWidget;
+    QWidget *tabConnect;
+    QVBoxLayout *vboxLayout1;
+    QTextBrowser *textBrowserStatus;
+    QGroupBox *groupBoxCredentials;
+    QGridLayout *gridLayout;
+    QLabel *textLabelUsername;
+    QLineEdit *lineEditUsername;
+    QLabel *textLabelPassword;
+    QLineEdit *lineEditPassword;
+    QHBoxLayout *hboxLayout;
+    QSpacerItem *spacerItem;
+    QPushButton *pushButtonConnect;
+    QPushButton *pushButtonExit;
+    QWidget *tabNetwork;
+    QVBoxLayout *vboxLayout2;
+    QGroupBox *groupBox;
+    QHBoxLayout *hboxLayout1;
+    QLabel *label;
+    QVBoxLayout *vboxLayout3;
+    QSpacerItem *spacerItem1;
+    QGridLayout *gridLayout1;
+    QLabel *textLabelEstablished;
+    QLabel *textLabelEstablishedValue;
+    QLabel *textLabelExpired;
+    QLabel *textLabelExpiredValue;
+    QLabel *textLabelFailed;
+    QLabel *textLabelFailedValue;
+    QSpacerItem *spacerItem2;
+    QGroupBox *groupBox_2;
+    QGridLayout *gridLayout2;
+    QLabel *textLabelStatus;
+    QLabel *textLabelStatusValue;
+    QLabel *textLabelRemote;
+    QLabel *textLabelRemoteValue;
+    QLabel *textLabelTransport;
+    QLabel *textLabelTransportValue;
+    QLabel *textLabelFrag;
+    QLabel *textLabelFragValue;
+    QLabel *textLabelDPD;
+    QLabel *textLabelDPDValue;
+
+    void setupUi(QMainWindow *ikecRoot)
+    {
+        if (ikecRoot->objectName().isEmpty())
+            ikecRoot->setObjectName(QString::fromUtf8("ikecRoot"));
+        ikecRoot->resize(296, 299);
+        const QIcon icon = QIcon(QString::fromUtf8(":/png/png/ikec.png"));
+        ikecRoot->setWindowIcon(icon);
+        centralwidget = new QWidget(ikecRoot);
+        centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
+        vboxLayout = new QVBoxLayout(centralwidget);
+        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
+        tabWidget = new QTabWidget(centralwidget);
+        tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
+        tabConnect = new QWidget();
+        tabConnect->setObjectName(QString::fromUtf8("tabConnect"));
+        vboxLayout1 = new QVBoxLayout(tabConnect);
+        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
+        textBrowserStatus = new QTextBrowser(tabConnect);
+        textBrowserStatus->setObjectName(QString::fromUtf8("textBrowserStatus"));
+        textBrowserStatus->setOpenLinks(false);
+
+        vboxLayout1->addWidget(textBrowserStatus);
+
+        groupBoxCredentials = new QGroupBox(tabConnect);
+        groupBoxCredentials->setObjectName(QString::fromUtf8("groupBoxCredentials"));
+        gridLayout = new QGridLayout(groupBoxCredentials);
+        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
+        textLabelUsername = new QLabel(groupBoxCredentials);
+        textLabelUsername->setObjectName(QString::fromUtf8("textLabelUsername"));
+        textLabelUsername->setWordWrap(false);
+
+        gridLayout->addWidget(textLabelUsername, 0, 0, 1, 1);
+
+        lineEditUsername = new QLineEdit(groupBoxCredentials);
+        lineEditUsername->setObjectName(QString::fromUtf8("lineEditUsername"));
+
+        gridLayout->addWidget(lineEditUsername, 0, 1, 1, 1);
+
+        textLabelPassword = new QLabel(groupBoxCredentials);
+        textLabelPassword->setObjectName(QString::fromUtf8("textLabelPassword"));
+        textLabelPassword->setWordWrap(false);
+
+        gridLayout->addWidget(textLabelPassword, 1, 0, 1, 1);
+
+        lineEditPassword = new QLineEdit(groupBoxCredentials);
+        lineEditPassword->setObjectName(QString::fromUtf8("lineEditPassword"));
+        lineEditPassword->setEchoMode(QLineEdit::Password);
+
+        gridLayout->addWidget(lineEditPassword, 1, 1, 1, 1);
+
+
+        vboxLayout1->addWidget(groupBoxCredentials);
+
+        hboxLayout = new QHBoxLayout();
+        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
+        hboxLayout->setContentsMargins(0, 0, 0, 0);
+        spacerItem = new QSpacerItem(71, 17, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum);
+
+        hboxLayout->addItem(spacerItem);
+
+        pushButtonConnect = new QPushButton(tabConnect);
+        pushButtonConnect->setObjectName(QString::fromUtf8("pushButtonConnect"));
+        pushButtonConnect->setEnabled(true);
+        pushButtonConnect->setAutoDefault(true);
+        pushButtonConnect->setDefault(true);
+
+        hboxLayout->addWidget(pushButtonConnect);
+
+        pushButtonExit = new QPushButton(tabConnect);
+        pushButtonExit->setObjectName(QString::fromUtf8("pushButtonExit"));
+
+        hboxLayout->addWidget(pushButtonExit);
+
+
+        vboxLayout1->addLayout(hboxLayout);
+
+        tabWidget->addTab(tabConnect, QString());
+        tabNetwork = new QWidget();
+        tabNetwork->setObjectName(QString::fromUtf8("tabNetwork"));
+        vboxLayout2 = new QVBoxLayout(tabNetwork);
+        vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
+        groupBox = new QGroupBox(tabNetwork);
+        groupBox->setObjectName(QString::fromUtf8("groupBox"));
+        hboxLayout1 = new QHBoxLayout(groupBox);
+        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
+        label = new QLabel(groupBox);
+        label->setObjectName(QString::fromUtf8("label"));
+        label->setPixmap(QPixmap(QString::fromUtf8(":/png/png/ikec.png")));
+        label->setAlignment(Qt::AlignCenter);
+
+        hboxLayout1->addWidget(label);
+
+        vboxLayout3 = new QVBoxLayout();
+        vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3"));
+        spacerItem1 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
+
+        vboxLayout3->addItem(spacerItem1);
+
+        gridLayout1 = new QGridLayout();
+        gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
+        textLabelEstablished = new QLabel(groupBox);
+        textLabelEstablished->setObjectName(QString::fromUtf8("textLabelEstablished"));
+        textLabelEstablished->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
+        textLabelEstablished->setWordWrap(false);
+
+        gridLayout1->addWidget(textLabelEstablished, 0, 0, 1, 1);
+
+        textLabelEstablishedValue = new QLabel(groupBox);
+        textLabelEstablishedValue->setObjectName(QString::fromUtf8("textLabelEstablishedValue"));
+        textLabelEstablishedValue->setWordWrap(false);
+
+        gridLayout1->addWidget(textLabelEstablishedValue, 0, 1, 1, 1);
+
+        textLabelExpired = new QLabel(groupBox);
+        textLabelExpired->setObjectName(QString::fromUtf8("textLabelExpired"));
+        textLabelExpired->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
+        textLabelExpired->setWordWrap(false);
+
+        gridLayout1->addWidget(textLabelExpired, 1, 0, 1, 1);
+
+        textLabelExpiredValue = new QLabel(groupBox);
+        textLabelExpiredValue->setObjectName(QString::fromUtf8("textLabelExpiredValue"));
+        textLabelExpiredValue->setWordWrap(false);
+
+        gridLayout1->addWidget(textLabelExpiredValue, 1, 1, 1, 1);
+
+        textLabelFailed = new QLabel(groupBox);
+        textLabelFailed->setObjectName(QString::fromUtf8("textLabelFailed"));
+        textLabelFailed->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
+        textLabelFailed->setWordWrap(false);
+
+        gridLayout1->addWidget(textLabelFailed, 2, 0, 1, 1);
+
+        textLabelFailedValue = new QLabel(groupBox);
+        textLabelFailedValue->setObjectName(QString::fromUtf8("textLabelFailedValue"));
+        textLabelFailedValue->setWordWrap(false);
+
+        gridLayout1->addWidget(textLabelFailedValue, 2, 1, 1, 1);
+
+
+        vboxLayout3->addLayout(gridLayout1);
+
+        spacerItem2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
+
+        vboxLayout3->addItem(spacerItem2);
+
+
+        hboxLayout1->addLayout(vboxLayout3);
+
+
+        vboxLayout2->addWidget(groupBox);
+
+        groupBox_2 = new QGroupBox(tabNetwork);
+        groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
+        gridLayout2 = new QGridLayout(groupBox_2);
+        gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
+        textLabelStatus = new QLabel(groupBox_2);
+        textLabelStatus->setObjectName(QString::fromUtf8("textLabelStatus"));
+        textLabelStatus->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
+        textLabelStatus->setWordWrap(false);
+
+        gridLayout2->addWidget(textLabelStatus, 0, 0, 1, 1);
+
+        textLabelStatusValue = new QLabel(groupBox_2);
+        textLabelStatusValue->setObjectName(QString::fromUtf8("textLabelStatusValue"));
+        textLabelStatusValue->setWordWrap(false);
+
+        gridLayout2->addWidget(textLabelStatusValue, 0, 1, 1, 1);
+
+        textLabelRemote = new QLabel(groupBox_2);
+        textLabelRemote->setObjectName(QString::fromUtf8("textLabelRemote"));
+        textLabelRemote->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
+        textLabelRemote->setWordWrap(false);
+
+        gridLayout2->addWidget(textLabelRemote, 1, 0, 1, 1);
+
+        textLabelRemoteValue = new QLabel(groupBox_2);
+        textLabelRemoteValue->setObjectName(QString::fromUtf8("textLabelRemoteValue"));
+        textLabelRemoteValue->setWordWrap(false);
+
+        gridLayout2->addWidget(textLabelRemoteValue, 1, 1, 1, 1);
+
+        textLabelTransport = new QLabel(groupBox_2);
+        textLabelTransport->setObjectName(QString::fromUtf8("textLabelTransport"));
+        textLabelTransport->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
+        textLabelTransport->setWordWrap(false);
+
+        gridLayout2->addWidget(textLabelTransport, 2, 0, 1, 1);
+
+        textLabelTransportValue = new QLabel(groupBox_2);
+        textLabelTransportValue->setObjectName(QString::fromUtf8("textLabelTransportValue"));
+        textLabelTransportValue->setWordWrap(false);
+
+        gridLayout2->addWidget(textLabelTransportValue, 2, 1, 1, 1);
+
+        textLabelFrag = new QLabel(groupBox_2);
+        textLabelFrag->setObjectName(QString::fromUtf8("textLabelFrag"));
+        textLabelFrag->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
+        textLabelFrag->setWordWrap(false);
+
+        gridLayout2->addWidget(textLabelFrag, 3, 0, 1, 1);
+
+        textLabelFragValue = new QLabel(groupBox_2);
+        textLabelFragValue->setObjectName(QString::fromUtf8("textLabelFragValue"));
+        textLabelFragValue->setWordWrap(false);
+
+        gridLayout2->addWidget(textLabelFragValue, 3, 1, 1, 1);
+
+        textLabelDPD = new QLabel(groupBox_2);
+        textLabelDPD->setObjectName(QString::fromUtf8("textLabelDPD"));
+        textLabelDPD->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
+        textLabelDPD->setWordWrap(false);
+
+        gridLayout2->addWidget(textLabelDPD, 4, 0, 1, 1);
+
+        textLabelDPDValue = new QLabel(groupBox_2);
+        textLabelDPDValue->setObjectName(QString::fromUtf8("textLabelDPDValue"));
+        textLabelDPDValue->setWordWrap(false);
+
+        gridLayout2->addWidget(textLabelDPDValue, 4, 1, 1, 1);
+
+
+        vboxLayout2->addWidget(groupBox_2);
+
+        tabWidget->addTab(tabNetwork, QString());
+
+        vboxLayout->addWidget(tabWidget);
+
+        ikecRoot->setCentralWidget(centralwidget);
+        QWidget::setTabOrder(lineEditUsername, lineEditPassword);
+        QWidget::setTabOrder(lineEditPassword, pushButtonConnect);
+        QWidget::setTabOrder(pushButtonConnect, pushButtonExit);
+        QWidget::setTabOrder(pushButtonExit, tabWidget);
+        QWidget::setTabOrder(tabWidget, textBrowserStatus);
+
+        retranslateUi(ikecRoot);
+
+        tabWidget->setCurrentIndex(0);
+
+
+        QMetaObject::connectSlotsByName(ikecRoot);
+    } // setupUi
+
+    void retranslateUi(QMainWindow *ikecRoot)
+    {
+        ikecRoot->setWindowTitle(QApplication::translate("ikecRoot", "Shrew Soft VPN Connect", 0, QApplication::UnicodeUTF8));
+        groupBoxCredentials->setTitle(QApplication::translate("ikecRoot", "Credentials", 0, QApplication::UnicodeUTF8));
+        textLabelUsername->setText(QApplication::translate("ikecRoot", "Username", 0, QApplication::UnicodeUTF8));
+        textLabelPassword->setText(QApplication::translate("ikecRoot", "Password", 0, QApplication::UnicodeUTF8));
+        pushButtonConnect->setText(QApplication::translate("ikecRoot", "Connect", 0, QApplication::UnicodeUTF8));
+        pushButtonExit->setText(QApplication::translate("ikecRoot", "Exit", 0, QApplication::UnicodeUTF8));
+        tabWidget->setTabText(tabWidget->indexOf(tabConnect), QApplication::translate("ikecRoot", "Connect", 0, QApplication::UnicodeUTF8));
+        groupBox->setTitle(QApplication::translate("ikecRoot", "GroupBox", 0, QApplication::UnicodeUTF8));
+        label->setText(QString());
+        textLabelEstablished->setText(QApplication::translate("ikecRoot", "Established  -", 0, QApplication::UnicodeUTF8));
+        textLabelEstablishedValue->setText(QApplication::translate("ikecRoot", "0", 0, QApplication::UnicodeUTF8));
+        textLabelExpired->setText(QApplication::translate("ikecRoot", "Expired  -", 0, QApplication::UnicodeUTF8));
+        textLabelExpiredValue->setText(QApplication::translate("ikecRoot", "0", 0, QApplication::UnicodeUTF8));
+        textLabelFailed->setText(QApplication::translate("ikecRoot", "Failed  -", 0, QApplication::UnicodeUTF8));
+        textLabelFailedValue->setText(QApplication::translate("ikecRoot", "0", 0, QApplication::UnicodeUTF8));
+        groupBox_2->setTitle(QApplication::translate("ikecRoot", "GroupBox", 0, QApplication::UnicodeUTF8));
+        textLabelStatus->setText(QApplication::translate("ikecRoot", "Status  -", 0, QApplication::UnicodeUTF8));
+        textLabelStatusValue->setText(QApplication::translate("ikecRoot", "Disconnected", 0, QApplication::UnicodeUTF8));
+        textLabelRemote->setText(QApplication::translate("ikecRoot", "Remote Host  -", 0, QApplication::UnicodeUTF8));
+        textLabelRemoteValue->setText(QString());
+        textLabelTransport->setText(QApplication::translate("ikecRoot", "Transport Used  -", 0, QApplication::UnicodeUTF8));
+        textLabelTransportValue->setText(QString());
+        textLabelFrag->setText(QApplication::translate("ikecRoot", "IKE Fragmentation  -", 0, QApplication::UnicodeUTF8));
+        textLabelFragValue->setText(QString());
+        textLabelDPD->setText(QApplication::translate("ikecRoot", "Dead Peer Detection  -", 0, QApplication::UnicodeUTF8));
+        textLabelDPDValue->setText(QString());
+        tabWidget->setTabText(tabWidget->indexOf(tabNetwork), QApplication::translate("ikecRoot", "Network", 0, QApplication::UnicodeUTF8));
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class ikecRoot: public Ui_ikecRoot {};
+} // namespace Ui
+
+QT_END_NAMESPACE
+
+#endif // UI_ROOT_H
