#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'kexidbconnectionwidget.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_KEXIDBCONNECTIONWIDGET_H
#define UI_KEXIDBCONNECTIONWIDGET_H

#include <KComboBox>
#include <KLineEdit>
#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QFrame>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>

QT_BEGIN_NAMESPACE

class Ui_KexiDBConnectionWidget
{
public:
    QGridLayout *gridLayout1;
    QVBoxLayout *vboxLayout;
    QLabel *iconLabel;
    QSpacerItem *spacerItem;
    QSpacerItem *spacerItem1;
    QGroupBox *authenticationGBox;
    QGridLayout *gridLayout2;
    QLabel *userLbl;
    KLineEdit *passwordEdit;
    QLabel *passwordLbl;
    KLineEdit *userEdit;
    QHBoxLayout *horizontalLayoutSavePassword;
    QCheckBox *chkSavePassword;
    QToolButton *btnSavePasswordHelp;
    QGroupBox *dbGroupBox;
    QGridLayout *gridLayout3;
    QLabel *nameLabel;
    KLineEdit *titleEdit;
    QLabel *titleLabel;
    QPushButton *btnLoadDBList;
    KComboBox *nameCombo;
    QHBoxLayout *hboxLayout;
    QSpacerItem *spacerItem2;
    QFrame *frmBottom;
    QGroupBox *locationBGrp;
    QGridLayout *gridLayout4;
    QLabel *lblEngine;
    QFrame *frmEngine;
    QHBoxLayout *horizontalLayout_2;
    QRadioButton *localhostRBtn;
    QRadioButton *remotehostRBtn;
    QLabel *hostLbl;
    KLineEdit *hostEdit;
    QLabel *portLbl;
    QHBoxLayout *horizontalLayout;
    QSpinBox *customPortEdit;
    QSpacerItem *horizontalSpacer;
    QCheckBox *chkPortDefault;

    void setupUi(QWidget *KexiDBConnectionWidget)
    {
        if (KexiDBConnectionWidget->objectName().isEmpty())
            KexiDBConnectionWidget->setObjectName(QStringLiteral("KexiDBConnectionWidget"));
        KexiDBConnectionWidget->resize(365, 434);
        gridLayout1 = new QGridLayout(KexiDBConnectionWidget);
        gridLayout1->setSpacing(6);
        gridLayout1->setContentsMargins(11, 11, 11, 11);
        gridLayout1->setObjectName(QStringLiteral("gridLayout1"));
        gridLayout1->setContentsMargins(0, 0, 0, 0);
        vboxLayout = new QVBoxLayout();
        vboxLayout->setSpacing(6);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        iconLabel = new QLabel(KexiDBConnectionWidget);
        iconLabel->setObjectName(QStringLiteral("iconLabel"));
        QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(iconLabel->sizePolicy().hasHeightForWidth());
        iconLabel->setSizePolicy(sizePolicy);
        iconLabel->setMinimumSize(QSize(48, 48));
        iconLabel->setWordWrap(false);

        vboxLayout->addWidget(iconLabel);

        spacerItem = new QSpacerItem(20, 331, QSizePolicy::Minimum, QSizePolicy::Expanding);

        vboxLayout->addItem(spacerItem);


        gridLayout1->addLayout(vboxLayout, 0, 0, 4, 1);

        spacerItem1 = new QSpacerItem(20, 4, QSizePolicy::Minimum, QSizePolicy::Expanding);

        gridLayout1->addItem(spacerItem1, 5, 1, 1, 1);

        authenticationGBox = new QGroupBox(KexiDBConnectionWidget);
        authenticationGBox->setObjectName(QStringLiteral("authenticationGBox"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Maximum);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(authenticationGBox->sizePolicy().hasHeightForWidth());
        authenticationGBox->setSizePolicy(sizePolicy1);
        gridLayout2 = new QGridLayout(authenticationGBox);
        gridLayout2->setSpacing(6);
        gridLayout2->setContentsMargins(11, 11, 11, 11);
        gridLayout2->setObjectName(QStringLiteral("gridLayout2"));
        userLbl = new QLabel(authenticationGBox);
        userLbl->setObjectName(QStringLiteral("userLbl"));
        userLbl->setWordWrap(false);

        gridLayout2->addWidget(userLbl, 0, 0, 1, 1);

        passwordEdit = new KLineEdit(authenticationGBox);
        passwordEdit->setObjectName(QStringLiteral("passwordEdit"));
        passwordEdit->setEchoMode(QLineEdit::Password);

        gridLayout2->addWidget(passwordEdit, 1, 1, 1, 1);

        passwordLbl = new QLabel(authenticationGBox);
        passwordLbl->setObjectName(QStringLiteral("passwordLbl"));
        passwordLbl->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        passwordLbl->setWordWrap(false);

        gridLayout2->addWidget(passwordLbl, 1, 0, 1, 1);

        userEdit = new KLineEdit(authenticationGBox);
        userEdit->setObjectName(QStringLiteral("userEdit"));

        gridLayout2->addWidget(userEdit, 0, 1, 1, 1);

        horizontalLayoutSavePassword = new QHBoxLayout();
        horizontalLayoutSavePassword->setSpacing(6);
        horizontalLayoutSavePassword->setObjectName(QStringLiteral("horizontalLayoutSavePassword"));
        chkSavePassword = new QCheckBox(authenticationGBox);
        chkSavePassword->setObjectName(QStringLiteral("chkSavePassword"));

        horizontalLayoutSavePassword->addWidget(chkSavePassword);

        btnSavePasswordHelp = new QToolButton(authenticationGBox);
        btnSavePasswordHelp->setObjectName(QStringLiteral("btnSavePasswordHelp"));
        btnSavePasswordHelp->setText(QStringLiteral(""));
        btnSavePasswordHelp->setAutoRaise(true);

        horizontalLayoutSavePassword->addWidget(btnSavePasswordHelp);


        gridLayout2->addLayout(horizontalLayoutSavePassword, 4, 1, 1, 1);


        gridLayout1->addWidget(authenticationGBox, 2, 1, 1, 1);

        dbGroupBox = new QGroupBox(KexiDBConnectionWidget);
        dbGroupBox->setObjectName(QStringLiteral("dbGroupBox"));
        sizePolicy1.setHeightForWidth(dbGroupBox->sizePolicy().hasHeightForWidth());
        dbGroupBox->setSizePolicy(sizePolicy1);
        gridLayout3 = new QGridLayout(dbGroupBox);
        gridLayout3->setSpacing(6);
        gridLayout3->setContentsMargins(11, 11, 11, 11);
        gridLayout3->setObjectName(QStringLiteral("gridLayout3"));
        nameLabel = new QLabel(dbGroupBox);
        nameLabel->setObjectName(QStringLiteral("nameLabel"));
        nameLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        nameLabel->setWordWrap(false);

        gridLayout3->addWidget(nameLabel, 0, 0, 1, 1);

        titleEdit = new KLineEdit(dbGroupBox);
        titleEdit->setObjectName(QStringLiteral("titleEdit"));

        gridLayout3->addWidget(titleEdit, 1, 1, 1, 2);

        titleLabel = new QLabel(dbGroupBox);
        titleLabel->setObjectName(QStringLiteral("titleLabel"));
        titleLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        titleLabel->setWordWrap(false);

        gridLayout3->addWidget(titleLabel, 1, 0, 1, 1);

        btnLoadDBList = new QPushButton(dbGroupBox);
        btnLoadDBList->setObjectName(QStringLiteral("btnLoadDBList"));
        QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Maximum);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(btnLoadDBList->sizePolicy().hasHeightForWidth());
        btnLoadDBList->setSizePolicy(sizePolicy2);
        btnLoadDBList->setMaximumSize(QSize(32, 32767));

        gridLayout3->addWidget(btnLoadDBList, 0, 2, 1, 1);

        nameCombo = new KComboBox(dbGroupBox);
        nameCombo->setObjectName(QStringLiteral("nameCombo"));
        QSizePolicy sizePolicy3(QSizePolicy::Minimum, QSizePolicy::Fixed);
        sizePolicy3.setHorizontalStretch(1);
        sizePolicy3.setVerticalStretch(0);
        sizePolicy3.setHeightForWidth(nameCombo->sizePolicy().hasHeightForWidth());
        nameCombo->setSizePolicy(sizePolicy3);
        nameCombo->setEditable(true);
        nameCombo->setInsertPolicy(QComboBox::InsertAtBottom);
        nameCombo->setAutoCompletion(false);
        nameCombo->setProperty("trapReturnKey", QVariant(false));

        gridLayout3->addWidget(nameCombo, 0, 1, 1, 1);


        gridLayout1->addWidget(dbGroupBox, 3, 1, 1, 1);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
        spacerItem2 = new QSpacerItem(80, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(spacerItem2);

        frmBottom = new QFrame(KexiDBConnectionWidget);
        frmBottom->setObjectName(QStringLiteral("frmBottom"));
        frmBottom->setFrameShape(QFrame::NoFrame);
        frmBottom->setFrameShadow(QFrame::Plain);

        hboxLayout->addWidget(frmBottom);


        gridLayout1->addLayout(hboxLayout, 4, 0, 1, 2);

        locationBGrp = new QGroupBox(KexiDBConnectionWidget);
        locationBGrp->setObjectName(QStringLiteral("locationBGrp"));
        QSizePolicy sizePolicy4(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding);
        sizePolicy4.setHorizontalStretch(0);
        sizePolicy4.setVerticalStretch(0);
        sizePolicy4.setHeightForWidth(locationBGrp->sizePolicy().hasHeightForWidth());
        locationBGrp->setSizePolicy(sizePolicy4);
        gridLayout4 = new QGridLayout(locationBGrp);
        gridLayout4->setSpacing(6);
        gridLayout4->setContentsMargins(11, 11, 11, 11);
        gridLayout4->setObjectName(QStringLiteral("gridLayout4"));
        lblEngine = new QLabel(locationBGrp);
        lblEngine->setObjectName(QStringLiteral("lblEngine"));
        lblEngine->setFocusPolicy(Qt::TabFocus);
        lblEngine->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        lblEngine->setWordWrap(false);

        gridLayout4->addWidget(lblEngine, 0, 0, 1, 1);

        frmEngine = new QFrame(locationBGrp);
        frmEngine->setObjectName(QStringLiteral("frmEngine"));
        QSizePolicy sizePolicy5(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy5.setHorizontalStretch(1);
        sizePolicy5.setVerticalStretch(0);
        sizePolicy5.setHeightForWidth(frmEngine->sizePolicy().hasHeightForWidth());
        frmEngine->setSizePolicy(sizePolicy5);
        frmEngine->setFocusPolicy(Qt::StrongFocus);
        frmEngine->setFrameShape(QFrame::NoFrame);
        frmEngine->setFrameShadow(QFrame::Plain);

        gridLayout4->addWidget(frmEngine, 0, 1, 1, 1);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setSpacing(6);
        horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
        localhostRBtn = new QRadioButton(locationBGrp);
        localhostRBtn->setObjectName(QStringLiteral("localhostRBtn"));
        localhostRBtn->setChecked(true);

        horizontalLayout_2->addWidget(localhostRBtn);

        remotehostRBtn = new QRadioButton(locationBGrp);
        remotehostRBtn->setObjectName(QStringLiteral("remotehostRBtn"));

        horizontalLayout_2->addWidget(remotehostRBtn);


        gridLayout4->addLayout(horizontalLayout_2, 1, 1, 1, 1);

        hostLbl = new QLabel(locationBGrp);
        hostLbl->setObjectName(QStringLiteral("hostLbl"));
        hostLbl->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        hostLbl->setWordWrap(false);

        gridLayout4->addWidget(hostLbl, 2, 0, 1, 1);

        hostEdit = new KLineEdit(locationBGrp);
        hostEdit->setObjectName(QStringLiteral("hostEdit"));
        QSizePolicy sizePolicy6(QSizePolicy::Minimum, QSizePolicy::Fixed);
        sizePolicy6.setHorizontalStretch(0);
        sizePolicy6.setVerticalStretch(0);
        sizePolicy6.setHeightForWidth(hostEdit->sizePolicy().hasHeightForWidth());
        hostEdit->setSizePolicy(sizePolicy6);

        gridLayout4->addWidget(hostEdit, 2, 1, 1, 1);

        portLbl = new QLabel(locationBGrp);
        portLbl->setObjectName(QStringLiteral("portLbl"));
        portLbl->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        portLbl->setWordWrap(false);

        gridLayout4->addWidget(portLbl, 3, 0, 1, 1);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setSpacing(6);
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        customPortEdit = new QSpinBox(locationBGrp);
        customPortEdit->setObjectName(QStringLiteral("customPortEdit"));
        sizePolicy3.setHeightForWidth(customPortEdit->sizePolicy().hasHeightForWidth());
        customPortEdit->setSizePolicy(sizePolicy3);
        customPortEdit->setMaximum(65535);

        horizontalLayout->addWidget(customPortEdit);

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

        horizontalLayout->addItem(horizontalSpacer);

        chkPortDefault = new QCheckBox(locationBGrp);
        chkPortDefault->setObjectName(QStringLiteral("chkPortDefault"));

        horizontalLayout->addWidget(chkPortDefault);


        gridLayout4->addLayout(horizontalLayout, 3, 1, 1, 1);


        gridLayout1->addWidget(locationBGrp, 0, 1, 2, 1);

#ifndef UI_QT_NO_SHORTCUT
        userLbl->setBuddy(userEdit);
        passwordLbl->setBuddy(passwordEdit);
        nameLabel->setBuddy(nameCombo);
        titleLabel->setBuddy(titleEdit);
        lblEngine->setBuddy(frmEngine);
        hostLbl->setBuddy(hostEdit);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(lblEngine, frmEngine);
        QWidget::setTabOrder(frmEngine, localhostRBtn);
        QWidget::setTabOrder(localhostRBtn, remotehostRBtn);
        QWidget::setTabOrder(remotehostRBtn, hostEdit);
        QWidget::setTabOrder(hostEdit, customPortEdit);
        QWidget::setTabOrder(customPortEdit, chkPortDefault);
        QWidget::setTabOrder(chkPortDefault, userEdit);
        QWidget::setTabOrder(userEdit, passwordEdit);
        QWidget::setTabOrder(passwordEdit, chkSavePassword);
        QWidget::setTabOrder(chkSavePassword, btnSavePasswordHelp);
        QWidget::setTabOrder(btnSavePasswordHelp, nameCombo);
        QWidget::setTabOrder(nameCombo, btnLoadDBList);
        QWidget::setTabOrder(btnLoadDBList, titleEdit);

        retranslateUi(KexiDBConnectionWidget);

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

    void retranslateUi(QWidget *KexiDBConnectionWidget)
    {
        authenticationGBox->setTitle(tr2i18n("Authentication", 0));
        userLbl->setText(tr2i18n("&Username:", 0));
        passwordLbl->setText(tr2i18n("&Password:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        chkSavePassword->setWhatsThis(tr2i18n("<html><head/><body><p>Saves password in a <span style=\" font-style:italic;\">.kexic</span> or <span style=\" font-style:italic;\">.kexis</span> connection shortcut file using a simple encryption similar to ROT-47. It does not guarantee security, but simply makes it difficult for anyone to read, so generally it is not safe to make such files publicly accessible.</p></body></html>", 0));
#endif // QT_NO_WHATSTHIS
        chkSavePassword->setText(tr2i18n("Save password", 0));
        dbGroupBox->setTitle(tr2i18n("Database", 0));
        nameLabel->setText(tr2i18n("&Name:", 0));
        titleLabel->setText(tr2i18n("&Caption (optional):", 0));
        btnLoadDBList->setText(QString());
        locationBGrp->setTitle(tr2i18n("Database Server", 0));
        lblEngine->setText(tr2i18n("&Engine:", 0));
        localhostRBtn->setText(tr2i18n("Local server", 0));
        localhostRBtn->setShortcut(QString());
        remotehostRBtn->setText(tr2i18n("Remote server", 0));
        hostLbl->setText(tr2i18n("&Hostname:", 0));
        portLbl->setText(tr2i18n("Port:", 0));
        chkPortDefault->setText(tr2i18n("Default", "port: default"));
        Q_UNUSED(KexiDBConnectionWidget);
    } // retranslateUi

};

namespace Ui {
    class KexiDBConnectionWidget: public Ui_KexiDBConnectionWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KEXIDBCONNECTIONWIDGET_H

