#include <klocalizedstring.h>

/*
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

*/

/********************************************************************************
** Form generated from reading UI file 'connectionbehavior_config.ui'
**
** Created by: Qt User Interface Compiler version 5.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_CONNECTIONBEHAVIOR_CONFIG_H
#define UI_CONNECTIONBEHAVIOR_CONFIG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kcombobox.h"
#include "klineedit.h"
#include "kpluralhandlingspinbox.h"

QT_BEGIN_NAMESPACE

class Ui_ConnectionBehavior_Config
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *kcfg_AutoReconnect;
    QGridLayout *gridLayout;
    QLabel *reconnectDelayLabel;
    QSpacerItem *spacer53;
    QLabel *textLabel1;
    KPluralHandlingSpinBox *kcfg_ReconnectDelay;
    QSpinBox *kcfg_ReconnectCount;
    QSpacerItem *spacer53_3;
    QGroupBox *debugGBox;
    QGridLayout *gridLayout1;
    QCheckBox *kcfg_RawLog;
    QGroupBox *encryptionGBox;
    QGridLayout *encryptionLayout;
    QLabel *label;
    KComboBox *kcfg_EncryptionType;
    QSpacerItem *horizontalSpacer;
    QGroupBox *kcfg_ProxyEnabled;
    QFormLayout *proxyLayout;
    QLabel *typeLabel;
    KComboBox *kcfg_ProxyType;
    QLabel *addressLabel;
    KLineEdit *kcfg_ProxyAddress;
    QLabel *portLabel;
    QSpinBox *kcfg_ProxyPort;
    QLabel *usernameLabel;
    KLineEdit *kcfg_ProxyUsername;
    QLabel *passwordLabel;
    KLineEdit *m_ProxyPassword;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *ConnectionBehavior_Config)
    {
        if (ConnectionBehavior_Config->objectName().isEmpty())
            ConnectionBehavior_Config->setObjectName(QStringLiteral("ConnectionBehavior_Config"));
        ConnectionBehavior_Config->resize(435, 432);
        verticalLayout = new QVBoxLayout(ConnectionBehavior_Config);
        verticalLayout->setSpacing(6);
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        kcfg_AutoReconnect = new QGroupBox(ConnectionBehavior_Config);
        kcfg_AutoReconnect->setObjectName(QStringLiteral("kcfg_AutoReconnect"));
        kcfg_AutoReconnect->setCheckable(true);
        gridLayout = new QGridLayout(kcfg_AutoReconnect);
        gridLayout->setSpacing(6);
        gridLayout->setContentsMargins(11, 11, 11, 11);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        reconnectDelayLabel = new QLabel(kcfg_AutoReconnect);
        reconnectDelayLabel->setObjectName(QStringLiteral("reconnectDelayLabel"));
        reconnectDelayLabel->setWordWrap(false);

        gridLayout->addWidget(reconnectDelayLabel, 0, 0, 1, 1);

        spacer53 = new QSpacerItem(278, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout->addItem(spacer53, 0, 2, 1, 1);

        textLabel1 = new QLabel(kcfg_AutoReconnect);
        textLabel1->setObjectName(QStringLiteral("textLabel1"));
        textLabel1->setWordWrap(false);

        gridLayout->addWidget(textLabel1, 1, 0, 1, 1);

        kcfg_ReconnectDelay = new KPluralHandlingSpinBox(kcfg_AutoReconnect);
        kcfg_ReconnectDelay->setObjectName(QStringLiteral("kcfg_ReconnectDelay"));
        kcfg_ReconnectDelay->setValue(120);
        kcfg_ReconnectDelay->setMinimum(1);
        kcfg_ReconnectDelay->setMaximum(9999);

        gridLayout->addWidget(kcfg_ReconnectDelay, 0, 1, 1, 1);

        kcfg_ReconnectCount = new QSpinBox(kcfg_AutoReconnect);
        kcfg_ReconnectCount->setObjectName(QStringLiteral("kcfg_ReconnectCount"));
        kcfg_ReconnectCount->setValue(100);
        kcfg_ReconnectCount->setMinimum(0);

        gridLayout->addWidget(kcfg_ReconnectCount, 1, 1, 1, 1);

        spacer53_3 = new QSpacerItem(280, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout->addItem(spacer53_3, 1, 2, 1, 1);


        verticalLayout->addWidget(kcfg_AutoReconnect);

        debugGBox = new QGroupBox(ConnectionBehavior_Config);
        debugGBox->setObjectName(QStringLiteral("debugGBox"));
        gridLayout1 = new QGridLayout(debugGBox);
        gridLayout1->setSpacing(6);
        gridLayout1->setContentsMargins(11, 11, 11, 11);
        gridLayout1->setObjectName(QStringLiteral("gridLayout1"));
        kcfg_RawLog = new QCheckBox(debugGBox);
        kcfg_RawLog->setObjectName(QStringLiteral("kcfg_RawLog"));

        gridLayout1->addWidget(kcfg_RawLog, 0, 0, 1, 1);


        verticalLayout->addWidget(debugGBox);

        encryptionGBox = new QGroupBox(ConnectionBehavior_Config);
        encryptionGBox->setObjectName(QStringLiteral("encryptionGBox"));
        encryptionLayout = new QGridLayout(encryptionGBox);
        encryptionLayout->setSpacing(6);
        encryptionLayout->setContentsMargins(11, 11, 11, 11);
        encryptionLayout->setObjectName(QStringLiteral("encryptionLayout"));
        label = new QLabel(encryptionGBox);
        label->setObjectName(QStringLiteral("label"));

        encryptionLayout->addWidget(label, 0, 0, 1, 1);

        kcfg_EncryptionType = new KComboBox(encryptionGBox);
        kcfg_EncryptionType->setObjectName(QStringLiteral("kcfg_EncryptionType"));

        encryptionLayout->addWidget(kcfg_EncryptionType, 0, 1, 1, 1);

        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        encryptionLayout->addItem(horizontalSpacer, 0, 2, 1, 1);


        verticalLayout->addWidget(encryptionGBox);

        kcfg_ProxyEnabled = new QGroupBox(ConnectionBehavior_Config);
        kcfg_ProxyEnabled->setObjectName(QStringLiteral("kcfg_ProxyEnabled"));
        kcfg_ProxyEnabled->setCheckable(true);
        kcfg_ProxyEnabled->setChecked(true);
        proxyLayout = new QFormLayout(kcfg_ProxyEnabled);
        proxyLayout->setSpacing(6);
        proxyLayout->setContentsMargins(11, 11, 11, 11);
        proxyLayout->setObjectName(QStringLiteral("proxyLayout"));
        typeLabel = new QLabel(kcfg_ProxyEnabled);
        typeLabel->setObjectName(QStringLiteral("typeLabel"));

        proxyLayout->setWidget(0, QFormLayout::LabelRole, typeLabel);

        kcfg_ProxyType = new KComboBox(kcfg_ProxyEnabled);
        kcfg_ProxyType->setObjectName(QStringLiteral("kcfg_ProxyType"));
        kcfg_ProxyType->setSizeAdjustPolicy(QComboBox::AdjustToContents);

        proxyLayout->setWidget(0, QFormLayout::FieldRole, kcfg_ProxyType);

        addressLabel = new QLabel(kcfg_ProxyEnabled);
        addressLabel->setObjectName(QStringLiteral("addressLabel"));

        proxyLayout->setWidget(1, QFormLayout::LabelRole, addressLabel);

        kcfg_ProxyAddress = new KLineEdit(kcfg_ProxyEnabled);
        kcfg_ProxyAddress->setObjectName(QStringLiteral("kcfg_ProxyAddress"));
        kcfg_ProxyAddress->setEnabled(true);

        proxyLayout->setWidget(1, QFormLayout::FieldRole, kcfg_ProxyAddress);

        portLabel = new QLabel(kcfg_ProxyEnabled);
        portLabel->setObjectName(QStringLiteral("portLabel"));

        proxyLayout->setWidget(2, QFormLayout::LabelRole, portLabel);

        kcfg_ProxyPort = new QSpinBox(kcfg_ProxyEnabled);
        kcfg_ProxyPort->setObjectName(QStringLiteral("kcfg_ProxyPort"));
        kcfg_ProxyPort->setEnabled(true);
        kcfg_ProxyPort->setMinimum(1);
        kcfg_ProxyPort->setMaximum(65535);

        proxyLayout->setWidget(2, QFormLayout::FieldRole, kcfg_ProxyPort);

        usernameLabel = new QLabel(kcfg_ProxyEnabled);
        usernameLabel->setObjectName(QStringLiteral("usernameLabel"));

        proxyLayout->setWidget(3, QFormLayout::LabelRole, usernameLabel);

        kcfg_ProxyUsername = new KLineEdit(kcfg_ProxyEnabled);
        kcfg_ProxyUsername->setObjectName(QStringLiteral("kcfg_ProxyUsername"));
        kcfg_ProxyUsername->setEnabled(true);

        proxyLayout->setWidget(3, QFormLayout::FieldRole, kcfg_ProxyUsername);

        passwordLabel = new QLabel(kcfg_ProxyEnabled);
        passwordLabel->setObjectName(QStringLiteral("passwordLabel"));

        proxyLayout->setWidget(4, QFormLayout::LabelRole, passwordLabel);

        m_ProxyPassword = new KLineEdit(kcfg_ProxyEnabled);
        m_ProxyPassword->setObjectName(QStringLiteral("m_ProxyPassword"));
        m_ProxyPassword->setEnabled(true);
        m_ProxyPassword->setEchoMode(QLineEdit::Password);

        proxyLayout->setWidget(4, QFormLayout::FieldRole, m_ProxyPassword);


        verticalLayout->addWidget(kcfg_ProxyEnabled);

        verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);

        verticalLayout->addItem(verticalSpacer);

#ifndef UI_QT_NO_SHORTCUT
        reconnectDelayLabel->setBuddy(kcfg_ReconnectDelay);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(kcfg_AutoReconnect, kcfg_ReconnectDelay);
        QWidget::setTabOrder(kcfg_ReconnectDelay, kcfg_ReconnectCount);
        QWidget::setTabOrder(kcfg_ReconnectCount, kcfg_RawLog);

        retranslateUi(ConnectionBehavior_Config);

        QMetaObject::connectSlotsByName(ConnectionBehavior_Config);
    } // setupUi

    void retranslateUi(QWidget *ConnectionBehavior_Config)
    {
        kcfg_AutoReconnect->setTitle(tr2i18n("Enable Automatic Reconnect", 0));
        reconnectDelayLabel->setText(tr2i18n("Reconnect delay:", 0));
        textLabel1->setText(tr2i18n("Reconnection attempts:", 0));
        kcfg_ReconnectCount->setSpecialValueText(tr2i18n("Unlimited", 0));
        debugGBox->setTitle(tr2i18n("Debug", 0));
        kcfg_RawLog->setText(tr2i18n("Show raw &log window when connecting", 0));
        encryptionGBox->setTitle(tr2i18n("Encryption", 0));
        label->setText(tr2i18n("Default encryption type:", 0));
        kcfg_EncryptionType->clear();
        kcfg_EncryptionType->insertItems(0, QStringList()
         << tr2i18n("Electronic Codebook (ECB)", 0)
         << tr2i18n("Cipher-Block Chaining (CBC)", 0)
        );
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_EncryptionType->setWhatsThis(tr2i18n("ECB or Electronic Codebook mode is supported by many encryption clients like FiSH and Mircryption however it is generally considered to be insecure.\n"
"\n"
"CBC or Cipher Block Chaining mode is not supported by FiSH but is supported by Mircryption. If you are going to use key exchange it is best to first find out if your peer has a client that can use CBC otherwise you will be able to see what they are saying, but they will not be able to read what you are saying.", 0));
#endif // QT_NO_WHATSTHIS
        kcfg_ProxyEnabled->setTitle(tr2i18n("Proxy", 0));
        typeLabel->setText(tr2i18n("Type:", 0));
        kcfg_ProxyType->clear();
        kcfg_ProxyType->insertItems(0, QStringList()
         << tr2i18n("Socks v5", 0)
         << tr2i18n("HTTP", 0)
        );
        addressLabel->setText(tr2i18n("Address:", 0));
        portLabel->setText(tr2i18n("Port:", 0));
        usernameLabel->setText(tr2i18n("Username:", 0));
        passwordLabel->setText(tr2i18n("Password:", 0));
        Q_UNUSED(ConnectionBehavior_Config);
    } // retranslateUi

};

namespace Ui {
    class ConnectionBehavior_Config: public Ui_ConnectionBehavior_Config {};
} // namespace Ui

QT_END_NAMESPACE

#endif // CONNECTIONBEHAVIOR_CONFIG_H

