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

#ifndef UI_SYSTEMDOPTIONPAGE_H
#define UI_SYSTEMDOPTIONPAGE_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QFrame>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <qtutilities/widgets/clearlineedit.h>

namespace QtGui {

class Ui_SystemdOptionPage
{
public:
    QVBoxLayout *verticalLayout;
    QCheckBox *showButtonCheckBox;
    QCheckBox *considerForReconnectCheckBox;
    QCheckBox *stopOnMeteredCheckBox;
    QFrame *line;
    QWidget *systemdFormWidget;
    QFormLayout *formLayout;
    QLabel *syncthingUnitLabel;
    QtUtilities::ClearLineEdit *syncthingUnitLineEdit;
    QCheckBox *systemUnitCheckBox;
    QLabel *descriptionLabel;
    QHBoxLayout *descriptionHorizontalLayout;
    QLabel *descriptionValueLabel;
    QLabel *statusLabel;
    QHBoxLayout *statusHorizontalLayout;
    QWidget *statusIndicator;
    QLabel *statusValueLabel;
    QPushButton *startPushButton;
    QPushButton *stopPushButton;
    QLabel *unitFileStateLabel;
    QHBoxLayout *unitFileStateHorizontalLayout;
    QWidget *enabledIndicator;
    QLabel *unitFileStateValueLabel;
    QPushButton *enablePushButton;
    QPushButton *disablePushButton;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *QtGui__SystemdOptionPage)
    {
        if (QtGui__SystemdOptionPage->objectName().isEmpty())
            QtGui__SystemdOptionPage->setObjectName("QtGui__SystemdOptionPage");
        QIcon icon;
        QString iconThemeName = QString::fromUtf8("preferences-system-services");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon = QIcon::fromTheme(iconThemeName);
        } else {
            icon.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        QtGui__SystemdOptionPage->setWindowIcon(icon);
        verticalLayout = new QVBoxLayout(QtGui__SystemdOptionPage);
        verticalLayout->setObjectName("verticalLayout");
        showButtonCheckBox = new QCheckBox(QtGui__SystemdOptionPage);
        showButtonCheckBox->setObjectName("showButtonCheckBox");
        QFont font;
        font.setBold(true);
        showButtonCheckBox->setFont(font);

        verticalLayout->addWidget(showButtonCheckBox);

        considerForReconnectCheckBox = new QCheckBox(QtGui__SystemdOptionPage);
        considerForReconnectCheckBox->setObjectName("considerForReconnectCheckBox");

        verticalLayout->addWidget(considerForReconnectCheckBox);

        stopOnMeteredCheckBox = new QCheckBox(QtGui__SystemdOptionPage);
        stopOnMeteredCheckBox->setObjectName("stopOnMeteredCheckBox");

        verticalLayout->addWidget(stopOnMeteredCheckBox);

        line = new QFrame(QtGui__SystemdOptionPage);
        line->setObjectName("line");
        line->setFrameShape(QFrame::Shape::HLine);
        line->setFrameShadow(QFrame::Shadow::Sunken);

        verticalLayout->addWidget(line);

        systemdFormWidget = new QWidget(QtGui__SystemdOptionPage);
        systemdFormWidget->setObjectName("systemdFormWidget");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Maximum);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(systemdFormWidget->sizePolicy().hasHeightForWidth());
        systemdFormWidget->setSizePolicy(sizePolicy);
        formLayout = new QFormLayout(systemdFormWidget);
        formLayout->setObjectName("formLayout");
        formLayout->setContentsMargins(30, 0, 0, 0);
        syncthingUnitLabel = new QLabel(systemdFormWidget);
        syncthingUnitLabel->setObjectName("syncthingUnitLabel");
        QSizePolicy sizePolicy1(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Expanding);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(syncthingUnitLabel->sizePolicy().hasHeightForWidth());
        syncthingUnitLabel->setSizePolicy(sizePolicy1);

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

        syncthingUnitLineEdit = new QtUtilities::ClearLineEdit(systemdFormWidget);
        syncthingUnitLineEdit->setObjectName("syncthingUnitLineEdit");

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

        systemUnitCheckBox = new QCheckBox(systemdFormWidget);
        systemUnitCheckBox->setObjectName("systemUnitCheckBox");

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

        descriptionLabel = new QLabel(systemdFormWidget);
        descriptionLabel->setObjectName("descriptionLabel");
        sizePolicy1.setHeightForWidth(descriptionLabel->sizePolicy().hasHeightForWidth());
        descriptionLabel->setSizePolicy(sizePolicy1);

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

        descriptionHorizontalLayout = new QHBoxLayout();
        descriptionHorizontalLayout->setObjectName("descriptionHorizontalLayout");
        descriptionValueLabel = new QLabel(systemdFormWidget);
        descriptionValueLabel->setObjectName("descriptionValueLabel");
        descriptionValueLabel->setMinimumSize(QSize(0, 32));

        descriptionHorizontalLayout->addWidget(descriptionValueLabel);


        formLayout->setLayout(2, QFormLayout::ItemRole::FieldRole, descriptionHorizontalLayout);

        statusLabel = new QLabel(systemdFormWidget);
        statusLabel->setObjectName("statusLabel");
        sizePolicy1.setHeightForWidth(statusLabel->sizePolicy().hasHeightForWidth());
        statusLabel->setSizePolicy(sizePolicy1);

        formLayout->setWidget(3, QFormLayout::ItemRole::LabelRole, statusLabel);

        statusHorizontalLayout = new QHBoxLayout();
        statusHorizontalLayout->setObjectName("statusHorizontalLayout");
        statusIndicator = new QWidget(systemdFormWidget);
        statusIndicator->setObjectName("statusIndicator");
        QSizePolicy sizePolicy2(QSizePolicy::Policy::Fixed, QSizePolicy::Policy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(statusIndicator->sizePolicy().hasHeightForWidth());
        statusIndicator->setSizePolicy(sizePolicy2);
        statusIndicator->setMinimumSize(QSize(16, 16));
        statusIndicator->setAutoFillBackground(true);

        statusHorizontalLayout->addWidget(statusIndicator);

        statusValueLabel = new QLabel(systemdFormWidget);
        statusValueLabel->setObjectName("statusValueLabel");
        QSizePolicy sizePolicy3(QSizePolicy::Policy::MinimumExpanding, QSizePolicy::Policy::Preferred);
        sizePolicy3.setHorizontalStretch(0);
        sizePolicy3.setVerticalStretch(0);
        sizePolicy3.setHeightForWidth(statusValueLabel->sizePolicy().hasHeightForWidth());
        statusValueLabel->setSizePolicy(sizePolicy3);
        statusValueLabel->setMinimumSize(QSize(0, 32));

        statusHorizontalLayout->addWidget(statusValueLabel);

        startPushButton = new QPushButton(systemdFormWidget);
        startPushButton->setObjectName("startPushButton");
        startPushButton->setMinimumSize(QSize(150, 0));
        QIcon icon1;
        iconThemeName = QString::fromUtf8("system-run");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon1 = QIcon::fromTheme(iconThemeName);
        } else {
            icon1.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        startPushButton->setIcon(icon1);

        statusHorizontalLayout->addWidget(startPushButton);

        stopPushButton = new QPushButton(systemdFormWidget);
        stopPushButton->setObjectName("stopPushButton");
        stopPushButton->setMinimumSize(QSize(150, 0));
        QIcon icon2;
        iconThemeName = QString::fromUtf8("process-stop");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon2 = QIcon::fromTheme(iconThemeName);
        } else {
            icon2.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        stopPushButton->setIcon(icon2);

        statusHorizontalLayout->addWidget(stopPushButton);


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

        unitFileStateLabel = new QLabel(systemdFormWidget);
        unitFileStateLabel->setObjectName("unitFileStateLabel");
        sizePolicy1.setHeightForWidth(unitFileStateLabel->sizePolicy().hasHeightForWidth());
        unitFileStateLabel->setSizePolicy(sizePolicy1);

        formLayout->setWidget(4, QFormLayout::ItemRole::LabelRole, unitFileStateLabel);

        unitFileStateHorizontalLayout = new QHBoxLayout();
        unitFileStateHorizontalLayout->setObjectName("unitFileStateHorizontalLayout");
        enabledIndicator = new QWidget(systemdFormWidget);
        enabledIndicator->setObjectName("enabledIndicator");
        sizePolicy2.setHeightForWidth(enabledIndicator->sizePolicy().hasHeightForWidth());
        enabledIndicator->setSizePolicy(sizePolicy2);
        enabledIndicator->setMinimumSize(QSize(16, 16));
        enabledIndicator->setAutoFillBackground(true);

        unitFileStateHorizontalLayout->addWidget(enabledIndicator);

        unitFileStateValueLabel = new QLabel(systemdFormWidget);
        unitFileStateValueLabel->setObjectName("unitFileStateValueLabel");
        sizePolicy3.setHeightForWidth(unitFileStateValueLabel->sizePolicy().hasHeightForWidth());
        unitFileStateValueLabel->setSizePolicy(sizePolicy3);
        unitFileStateValueLabel->setMinimumSize(QSize(0, 32));

        unitFileStateHorizontalLayout->addWidget(unitFileStateValueLabel);

        enablePushButton = new QPushButton(systemdFormWidget);
        enablePushButton->setObjectName("enablePushButton");
        enablePushButton->setMinimumSize(QSize(150, 0));
        QIcon icon3;
        iconThemeName = QString::fromUtf8("emblem-checked");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon3 = QIcon::fromTheme(iconThemeName);
        } else {
            icon3.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        enablePushButton->setIcon(icon3);

        unitFileStateHorizontalLayout->addWidget(enablePushButton);

        disablePushButton = new QPushButton(systemdFormWidget);
        disablePushButton->setObjectName("disablePushButton");
        disablePushButton->setMinimumSize(QSize(150, 0));
        QIcon icon4;
        iconThemeName = QString::fromUtf8("emblem-remove");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon4 = QIcon::fromTheme(iconThemeName);
        } else {
            icon4.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        disablePushButton->setIcon(icon4);

        unitFileStateHorizontalLayout->addWidget(disablePushButton);


        formLayout->setLayout(4, QFormLayout::ItemRole::FieldRole, unitFileStateHorizontalLayout);


        verticalLayout->addWidget(systemdFormWidget);

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

        verticalLayout->addItem(verticalSpacer);

        QWidget::setTabOrder(showButtonCheckBox, considerForReconnectCheckBox);
        QWidget::setTabOrder(considerForReconnectCheckBox, syncthingUnitLineEdit);
        QWidget::setTabOrder(syncthingUnitLineEdit, systemUnitCheckBox);
        QWidget::setTabOrder(systemUnitCheckBox, startPushButton);
        QWidget::setTabOrder(startPushButton, stopPushButton);
        QWidget::setTabOrder(stopPushButton, enablePushButton);
        QWidget::setTabOrder(enablePushButton, disablePushButton);

        retranslateUi(QtGui__SystemdOptionPage);

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

    void retranslateUi(QWidget *QtGui__SystemdOptionPage)
    {
        QtGui__SystemdOptionPage->setWindowTitle(QCoreApplication::translate("QtGui::SystemdOptionPage", "Systemd", nullptr));
        showButtonCheckBox->setText(QCoreApplication::translate("QtGui::SystemdOptionPage", "Show start/stop button on tray for local instance when systemd is available", nullptr));
        considerForReconnectCheckBox->setText(QCoreApplication::translate("QtGui::SystemdOptionPage", "Consider systemd unit status for notifications and reconnect attempts concerning local instance\n"
" \342\200\242 Don't reconnect when unit not active/running\n"
" \342\200\242 Try to reconnect when unit becomes active/running\n"
" \342\200\242 Suppress notification about disconnect when Syncthing has been stopped manually", nullptr));
        stopOnMeteredCheckBox->setText(QCoreApplication::translate("QtGui::SystemdOptionPage", "Stop automatically when network connection is metered", nullptr));
        syncthingUnitLabel->setText(QCoreApplication::translate("QtGui::SystemdOptionPage", "Syncthing unit", nullptr));
        systemUnitCheckBox->setText(QCoreApplication::translate("QtGui::SystemdOptionPage", "System unit", nullptr));
        descriptionLabel->setText(QCoreApplication::translate("QtGui::SystemdOptionPage", "Description", nullptr));
        descriptionValueLabel->setText(QCoreApplication::translate("QtGui::SystemdOptionPage", "unknown", nullptr));
        statusLabel->setText(QCoreApplication::translate("QtGui::SystemdOptionPage", "Current status", nullptr));
        statusValueLabel->setText(QCoreApplication::translate("QtGui::SystemdOptionPage", "unknown", nullptr));
        startPushButton->setText(QCoreApplication::translate("QtGui::SystemdOptionPage", "Start", nullptr));
        stopPushButton->setText(QCoreApplication::translate("QtGui::SystemdOptionPage", "Stop", nullptr));
        unitFileStateLabel->setText(QCoreApplication::translate("QtGui::SystemdOptionPage", "Unit file state", nullptr));
        unitFileStateValueLabel->setText(QCoreApplication::translate("QtGui::SystemdOptionPage", "unknown", nullptr));
        enablePushButton->setText(QCoreApplication::translate("QtGui::SystemdOptionPage", "Enable", nullptr));
        disablePushButton->setText(QCoreApplication::translate("QtGui::SystemdOptionPage", "Disable", nullptr));
    } // retranslateUi

};

} // namespace QtGui

namespace QtGui {
namespace Ui {
    class SystemdOptionPage: public Ui_SystemdOptionPage {};
} // namespace Ui
} // namespace QtGui

#endif // UI_SYSTEMDOPTIONPAGE_H
