#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'KexiConnectionSelector.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_KEXICONNECTIONSELECTOR_H
#define UI_KEXICONNECTIONSELECTOR_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTreeWidget>
#include <QtWidgets/QWidget>

QT_BEGIN_NAMESPACE

class Ui_KexiConnectionSelector
{
public:
    QGridLayout *gridLayout;
    QLabel *lblIcon;
    QLabel *label;
    QTreeWidget *list;
    QGroupBox *descGroupBox;
    QGridLayout *gridLayout1;
    QLabel *descriptionLabel;
    QPushButton *btn_add;
    QPushButton *btn_edit;
    QPushButton *btn_remove;
    QSpacerItem *spacerItem;

    void setupUi(QWidget *KexiConnectionSelector)
    {
        if (KexiConnectionSelector->objectName().isEmpty())
            KexiConnectionSelector->setObjectName(QStringLiteral("KexiConnectionSelector"));
        KexiConnectionSelector->resize(448, 270);
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(KexiConnectionSelector->sizePolicy().hasHeightForWidth());
        KexiConnectionSelector->setSizePolicy(sizePolicy);
        gridLayout = new QGridLayout(KexiConnectionSelector);
        gridLayout->setSpacing(6);
        gridLayout->setContentsMargins(11, 11, 11, 11);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        lblIcon = new QLabel(KexiConnectionSelector);
        lblIcon->setObjectName(QStringLiteral("lblIcon"));
        QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(lblIcon->sizePolicy().hasHeightForWidth());
        lblIcon->setSizePolicy(sizePolicy1);
        lblIcon->setAlignment(Qt::AlignTop);
        lblIcon->setWordWrap(false);

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

        label = new QLabel(KexiConnectionSelector);
        label->setObjectName(QStringLiteral("label"));
        QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
        label->setSizePolicy(sizePolicy2);
        label->setAlignment(Qt::AlignTop);
        label->setWordWrap(true);

        gridLayout->addWidget(label, 0, 1, 1, 4);

        list = new QTreeWidget(KexiConnectionSelector);
        list->setObjectName(QStringLiteral("list"));
        QSizePolicy sizePolicy3(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding);
        sizePolicy3.setHorizontalStretch(0);
        sizePolicy3.setVerticalStretch(0);
        sizePolicy3.setHeightForWidth(list->sizePolicy().hasHeightForWidth());
        list->setSizePolicy(sizePolicy3);
        list->setMinimumSize(QSize(0, 60));
        list->setAlternatingRowColors(true);
        list->setRootIsDecorated(false);
        list->setSortingEnabled(true);
        list->setAllColumnsShowFocus(true);
        list->header()->setProperty("showSortIndicator", QVariant(true));

        gridLayout->addWidget(list, 1, 0, 1, 5);

        descGroupBox = new QGroupBox(KexiConnectionSelector);
        descGroupBox->setObjectName(QStringLiteral("descGroupBox"));
        QSizePolicy sizePolicy4(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
        sizePolicy4.setHorizontalStretch(0);
        sizePolicy4.setVerticalStretch(0);
        sizePolicy4.setHeightForWidth(descGroupBox->sizePolicy().hasHeightForWidth());
        descGroupBox->setSizePolicy(sizePolicy4);
        gridLayout1 = new QGridLayout(descGroupBox);
        gridLayout1->setSpacing(6);
        gridLayout1->setContentsMargins(6, 6, 6, 6);
        gridLayout1->setObjectName(QStringLiteral("gridLayout1"));
        descriptionLabel = new QLabel(descGroupBox);
        descriptionLabel->setObjectName(QStringLiteral("descriptionLabel"));
        descriptionLabel->setFocusPolicy(Qt::StrongFocus);
        descriptionLabel->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
        descriptionLabel->setWordWrap(true);
        descriptionLabel->setOpenExternalLinks(true);
        descriptionLabel->setTextInteractionFlags(Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);

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


        gridLayout->addWidget(descGroupBox, 2, 0, 2, 2);

        btn_add = new QPushButton(KexiConnectionSelector);
        btn_add->setObjectName(QStringLiteral("btn_add"));
        QSizePolicy sizePolicy5(QSizePolicy::Fixed, QSizePolicy::Fixed);
        sizePolicy5.setHorizontalStretch(0);
        sizePolicy5.setVerticalStretch(0);
        sizePolicy5.setHeightForWidth(btn_add->sizePolicy().hasHeightForWidth());
        btn_add->setSizePolicy(sizePolicy5);

        gridLayout->addWidget(btn_add, 2, 2, 1, 1);

        btn_edit = new QPushButton(KexiConnectionSelector);
        btn_edit->setObjectName(QStringLiteral("btn_edit"));
        sizePolicy5.setHeightForWidth(btn_edit->sizePolicy().hasHeightForWidth());
        btn_edit->setSizePolicy(sizePolicy5);

        gridLayout->addWidget(btn_edit, 2, 3, 1, 1);

        btn_remove = new QPushButton(KexiConnectionSelector);
        btn_remove->setObjectName(QStringLiteral("btn_remove"));
        sizePolicy5.setHeightForWidth(btn_remove->sizePolicy().hasHeightForWidth());
        btn_remove->setSizePolicy(sizePolicy5);

        gridLayout->addWidget(btn_remove, 2, 4, 1, 1);

        spacerItem = new QSpacerItem(20, 41, QSizePolicy::Minimum, QSizePolicy::Preferred);

        gridLayout->addItem(spacerItem, 3, 3, 1, 1);

#ifndef UI_QT_NO_SHORTCUT
        label->setBuddy(list);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(list, btn_add);
        QWidget::setTabOrder(btn_add, btn_edit);
        QWidget::setTabOrder(btn_edit, btn_remove);

        retranslateUi(KexiConnectionSelector);

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

    void retranslateUi(QWidget *KexiConnectionSelector)
    {
        lblIcon->setText(QString());
        label->setText(tr2i18n("<title>Select Existing Database Server's Connection From the List Below</title>\n"
"<para>You will see existing Kexi projects available for the selected connection. Here you may also add, edit or remove connections from the list.</para>\n"
"", 0));
        QTreeWidgetItem *___qtreewidgetitem = list->headerItem();
        ___qtreewidgetitem->setText(2, tr2i18n("Server Information", 0));
        ___qtreewidgetitem->setText(1, tr2i18n("Type", 0));
        ___qtreewidgetitem->setText(0, tr2i18n("Name", 0));
        descGroupBox->setTitle(tr2i18n("Description", 0));
        btn_add->setText(tr2i18n("&Add...", 0));
        btn_edit->setText(tr2i18n("&Edit...", 0));
        btn_remove->setText(tr2i18n("&Remove...", 0));
        Q_UNUSED(KexiConnectionSelector);
    } // retranslateUi

};

namespace Ui {
    class KexiConnectionSelector: public Ui_KexiConnectionSelector {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KEXICONNECTIONSELECTOR_H

