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

#ifndef UI_MARBLECLOUDSYNCSETTINGSWIDGET_H
#define UI_MARBLECLOUDSYNCSETTINGSWIDGET_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>

QT_BEGIN_NAMESPACE

class Ui_MarbleCloudSyncSettingsWidget
{
public:
    QVBoxLayout *verticalLayout;
    QCheckBox *kcfg_enableSync;
    QHBoxLayout *horizontalLayout_2;
    QSpacerItem *horizontalSpacer;
    QCheckBox *kcfg_syncRoutes;
    QHBoxLayout *horizontalLayout;
    QSpacerItem *horizontalSpacer_2;
    QCheckBox *kcfg_syncBookmarks;
    QSpacerItem *horizontalSpacer_3;
    QPushButton *button_syncNow;
    QLabel *labelLastSync;
    QGroupBox *groupBox;
    QFormLayout *formLayout;
    QLabel *labelServer;
    QLineEdit *kcfg_owncloudServer;
    QLabel *labelUsername;
    QLineEdit *kcfg_owncloudUsername;
    QLabel *labelPassword;
    QLineEdit *kcfg_owncloudPassword;
    QHBoxLayout *horizontalLayout_3;
    QPushButton *testLoginButton;
    QLabel *cloudSyncStatus;

    void setupUi(QWidget *MarbleCloudSyncSettingsWidget)
    {
        if (MarbleCloudSyncSettingsWidget->objectName().isEmpty())
            MarbleCloudSyncSettingsWidget->setObjectName(QStringLiteral("MarbleCloudSyncSettingsWidget"));
        MarbleCloudSyncSettingsWidget->resize(392, 256);
        verticalLayout = new QVBoxLayout(MarbleCloudSyncSettingsWidget);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        kcfg_enableSync = new QCheckBox(MarbleCloudSyncSettingsWidget);
        kcfg_enableSync->setObjectName(QStringLiteral("kcfg_enableSync"));

        verticalLayout->addWidget(kcfg_enableSync);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
        horizontalLayout_2->setSizeConstraint(QLayout::SetDefaultConstraint);
        horizontalSpacer = new QSpacerItem(20, 10, QSizePolicy::Fixed, QSizePolicy::Minimum);

        horizontalLayout_2->addItem(horizontalSpacer);

        kcfg_syncRoutes = new QCheckBox(MarbleCloudSyncSettingsWidget);
        kcfg_syncRoutes->setObjectName(QStringLiteral("kcfg_syncRoutes"));
        kcfg_syncRoutes->setEnabled(false);
        kcfg_syncRoutes->setChecked(true);

        horizontalLayout_2->addWidget(kcfg_syncRoutes);


        verticalLayout->addLayout(horizontalLayout_2);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        horizontalSpacer_2 = new QSpacerItem(20, 10, QSizePolicy::Fixed, QSizePolicy::Minimum);

        horizontalLayout->addItem(horizontalSpacer_2);

        kcfg_syncBookmarks = new QCheckBox(MarbleCloudSyncSettingsWidget);
        kcfg_syncBookmarks->setObjectName(QStringLiteral("kcfg_syncBookmarks"));
        kcfg_syncBookmarks->setEnabled(false);
        kcfg_syncBookmarks->setChecked(true);

        horizontalLayout->addWidget(kcfg_syncBookmarks);

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

        horizontalLayout->addItem(horizontalSpacer_3);

        button_syncNow = new QPushButton(MarbleCloudSyncSettingsWidget);
        button_syncNow->setObjectName(QStringLiteral("button_syncNow"));
        button_syncNow->setEnabled(false);
        QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(button_syncNow->sizePolicy().hasHeightForWidth());
        button_syncNow->setSizePolicy(sizePolicy);

        horizontalLayout->addWidget(button_syncNow);


        verticalLayout->addLayout(horizontalLayout);

        labelLastSync = new QLabel(MarbleCloudSyncSettingsWidget);
        labelLastSync->setObjectName(QStringLiteral("labelLastSync"));
        labelLastSync->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        verticalLayout->addWidget(labelLastSync);

        groupBox = new QGroupBox(MarbleCloudSyncSettingsWidget);
        groupBox->setObjectName(QStringLiteral("groupBox"));
        groupBox->setEnabled(false);
        QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(groupBox->sizePolicy().hasHeightForWidth());
        groupBox->setSizePolicy(sizePolicy1);
        formLayout = new QFormLayout(groupBox);
        formLayout->setObjectName(QStringLiteral("formLayout"));
        labelServer = new QLabel(groupBox);
        labelServer->setObjectName(QStringLiteral("labelServer"));

        formLayout->setWidget(0, QFormLayout::LabelRole, labelServer);

        kcfg_owncloudServer = new QLineEdit(groupBox);
        kcfg_owncloudServer->setObjectName(QStringLiteral("kcfg_owncloudServer"));

        formLayout->setWidget(0, QFormLayout::FieldRole, kcfg_owncloudServer);

        labelUsername = new QLabel(groupBox);
        labelUsername->setObjectName(QStringLiteral("labelUsername"));

        formLayout->setWidget(1, QFormLayout::LabelRole, labelUsername);

        kcfg_owncloudUsername = new QLineEdit(groupBox);
        kcfg_owncloudUsername->setObjectName(QStringLiteral("kcfg_owncloudUsername"));

        formLayout->setWidget(1, QFormLayout::FieldRole, kcfg_owncloudUsername);

        labelPassword = new QLabel(groupBox);
        labelPassword->setObjectName(QStringLiteral("labelPassword"));

        formLayout->setWidget(2, QFormLayout::LabelRole, labelPassword);

        kcfg_owncloudPassword = new QLineEdit(groupBox);
        kcfg_owncloudPassword->setObjectName(QStringLiteral("kcfg_owncloudPassword"));
        kcfg_owncloudPassword->setEchoMode(QLineEdit::Password);

        formLayout->setWidget(2, QFormLayout::FieldRole, kcfg_owncloudPassword);

        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName(QStringLiteral("horizontalLayout_3"));
        testLoginButton = new QPushButton(groupBox);
        testLoginButton->setObjectName(QStringLiteral("testLoginButton"));

        horizontalLayout_3->addWidget(testLoginButton);

        cloudSyncStatus = new QLabel(groupBox);
        cloudSyncStatus->setObjectName(QStringLiteral("cloudSyncStatus"));

        horizontalLayout_3->addWidget(cloudSyncStatus);


        formLayout->setLayout(3, QFormLayout::FieldRole, horizontalLayout_3);


        verticalLayout->addWidget(groupBox);


        retranslateUi(MarbleCloudSyncSettingsWidget);
        QObject::connect(kcfg_enableSync, SIGNAL(toggled(bool)), groupBox, SLOT(setEnabled(bool)));
        QObject::connect(kcfg_enableSync, SIGNAL(toggled(bool)), kcfg_syncRoutes, SLOT(setEnabled(bool)));
        QObject::connect(kcfg_enableSync, SIGNAL(toggled(bool)), kcfg_syncBookmarks, SLOT(setEnabled(bool)));
        QObject::connect(kcfg_syncBookmarks, SIGNAL(toggled(bool)), button_syncNow, SLOT(setEnabled(bool)));
        QObject::connect(kcfg_enableSync, SIGNAL(toggled(bool)), kcfg_syncRoutes, SLOT(setChecked(bool)));
        QObject::connect(kcfg_enableSync, SIGNAL(toggled(bool)), kcfg_syncBookmarks, SLOT(setChecked(bool)));

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

    void retranslateUi(QWidget *MarbleCloudSyncSettingsWidget)
    {
        kcfg_enableSync->setText(QApplication::translate("MarbleCloudSyncSettingsWidget", "Enable synchronization", Q_NULLPTR));
#ifndef QT_NO_WHATSTHIS
        kcfg_syncRoutes->setWhatsThis(QApplication::translate("MarbleCloudSyncSettingsWidget", "Allows you to store routes in owncloud. Each route must be uploaded/downloaded manually.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        kcfg_syncRoutes->setText(QApplication::translate("MarbleCloudSyncSettingsWidget", "Enable route synchronization", Q_NULLPTR));
#ifndef QT_NO_WHATSTHIS
        kcfg_syncBookmarks->setWhatsThis(QApplication::translate("MarbleCloudSyncSettingsWidget", "Automatically sync all bookmarks to the server.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        kcfg_syncBookmarks->setText(QApplication::translate("MarbleCloudSyncSettingsWidget", "Enable bookmark synchronization", Q_NULLPTR));
        button_syncNow->setText(QApplication::translate("MarbleCloudSyncSettingsWidget", "Sync now", Q_NULLPTR));
        labelLastSync->setText(QString());
        groupBox->setTitle(QApplication::translate("MarbleCloudSyncSettingsWidget", "Credentials", Q_NULLPTR));
        labelServer->setText(QApplication::translate("MarbleCloudSyncSettingsWidget", "Server:", Q_NULLPTR));
#ifndef QT_NO_WHATSTHIS
        kcfg_owncloudServer->setWhatsThis(QApplication::translate("MarbleCloudSyncSettingsWidget", "Remote server URL, e.g. myserver.com/owncloud", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        labelUsername->setText(QApplication::translate("MarbleCloudSyncSettingsWidget", "Username:", Q_NULLPTR));
#ifndef QT_NO_WHATSTHIS
        kcfg_owncloudUsername->setWhatsThis(QString());
#endif // QT_NO_WHATSTHIS
        labelPassword->setText(QApplication::translate("MarbleCloudSyncSettingsWidget", "Password:", Q_NULLPTR));
        testLoginButton->setText(QApplication::translate("MarbleCloudSyncSettingsWidget", "Test Login", Q_NULLPTR));
        cloudSyncStatus->setText(QString());
        Q_UNUSED(MarbleCloudSyncSettingsWidget);
    } // retranslateUi

};

namespace Ui {
    class MarbleCloudSyncSettingsWidget: public Ui_MarbleCloudSyncSettingsWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_MARBLECLOUDSYNCSETTINGSWIDGET_H
