/********************************************************************************
** Form generated from reading UI file 'launcheroptionpage.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_LAUNCHEROPTIONPAGE_H
#define UI_LAUNCHEROPTIONPAGE_H

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

namespace QtGui {

class Ui_LauncherOptionPage
{
public:
    QVBoxLayout *mainVerticalLayout;
    QSplitter *splitter;
    QWidget *settingsWidget;
    QVBoxLayout *settingsVerticalLayout;
    QCheckBox *enabledCheckBox;
    QWidget *launcherFormWidget;
    QFormLayout *formLayout;
    QLabel *syncthingPathLabel;
    QtUtilities::PathSelection *syncthingPathSelection;
    QLabel *argumentsLabel;
    QtUtilities::ClearLineEdit *argumentsLineEdit;
    QCheckBox *useBuiltInVersionCheckBox;
    QLabel *configDirLabel;
    QtUtilities::PathSelection *configDirPathSelection;
    QLabel *logLevelLabel;
    QComboBox *logLevelComboBox;
    QLabel *dataDirLabel;
    QtUtilities::PathSelection *dataDirPathSelection;
    QLabel *optionsLabel;
    QCheckBox *expandEnvCheckBox;
    QCheckBox *showButtonCheckBox;
    QCheckBox *considerForReconnectCheckBox;
    QCheckBox *stopOnMeteredCheckBox;
    QFrame *line;
    QWidget *logWidget;
    QVBoxLayout *logVerticalLayout;
    QHBoxLayout *horizontalLayout;
    QLabel *logLabel;
    QPushButton *launchNowPushButton;
    QPushButton *stopPushButton;
    QtUtilities::ClearPlainTextEdit *logTextEdit;
    QCheckBox *ensureCursorVisibleCheckBox;

    void setupUi(QWidget *QtGui__LauncherOptionPage)
    {
        if (QtGui__LauncherOptionPage->objectName().isEmpty())
            QtGui__LauncherOptionPage->setObjectName("QtGui__LauncherOptionPage");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(QtGui__LauncherOptionPage->sizePolicy().hasHeightForWidth());
        QtGui__LauncherOptionPage->setSizePolicy(sizePolicy);
        QIcon icon;
        QString iconThemeName = QString::fromUtf8("system-run");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon = QIcon::fromTheme(iconThemeName);
        } else {
            icon.addFile(QString::fromUtf8(":/icons/hicolor/scalable/apps/system-run.svg"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        QtGui__LauncherOptionPage->setWindowIcon(icon);
        mainVerticalLayout = new QVBoxLayout(QtGui__LauncherOptionPage);
        mainVerticalLayout->setSpacing(0);
        mainVerticalLayout->setObjectName("mainVerticalLayout");
        mainVerticalLayout->setContentsMargins(0, 0, 0, 0);
        splitter = new QSplitter(QtGui__LauncherOptionPage);
        splitter->setObjectName("splitter");
        QSizePolicy sizePolicy1(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Expanding);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(splitter->sizePolicy().hasHeightForWidth());
        splitter->setSizePolicy(sizePolicy1);
        splitter->setOrientation(Qt::Vertical);
        settingsWidget = new QWidget(splitter);
        settingsWidget->setObjectName("settingsWidget");
        sizePolicy1.setHeightForWidth(settingsWidget->sizePolicy().hasHeightForWidth());
        settingsWidget->setSizePolicy(sizePolicy1);
        settingsVerticalLayout = new QVBoxLayout(settingsWidget);
        settingsVerticalLayout->setObjectName("settingsVerticalLayout");
        settingsVerticalLayout->setContentsMargins(-1, -1, -1, 0);
        enabledCheckBox = new QCheckBox(settingsWidget);
        enabledCheckBox->setObjectName("enabledCheckBox");
        QFont font;
        font.setBold(true);
        enabledCheckBox->setFont(font);

        settingsVerticalLayout->addWidget(enabledCheckBox);

        launcherFormWidget = new QWidget(settingsWidget);
        launcherFormWidget->setObjectName("launcherFormWidget");
        formLayout = new QFormLayout(launcherFormWidget);
        formLayout->setObjectName("formLayout");
        formLayout->setContentsMargins(30, 0, 0, 0);
        syncthingPathLabel = new QLabel(launcherFormWidget);
        syncthingPathLabel->setObjectName("syncthingPathLabel");

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

        syncthingPathSelection = new QtUtilities::PathSelection(launcherFormWidget);
        syncthingPathSelection->setObjectName("syncthingPathSelection");

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

        argumentsLabel = new QLabel(launcherFormWidget);
        argumentsLabel->setObjectName("argumentsLabel");

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

        argumentsLineEdit = new QtUtilities::ClearLineEdit(launcherFormWidget);
        argumentsLineEdit->setObjectName("argumentsLineEdit");

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

        useBuiltInVersionCheckBox = new QCheckBox(launcherFormWidget);
        useBuiltInVersionCheckBox->setObjectName("useBuiltInVersionCheckBox");

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

        configDirLabel = new QLabel(launcherFormWidget);
        configDirLabel->setObjectName("configDirLabel");

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

        configDirPathSelection = new QtUtilities::PathSelection(launcherFormWidget);
        configDirPathSelection->setObjectName("configDirPathSelection");

        formLayout->setWidget(3, QFormLayout::ItemRole::FieldRole, configDirPathSelection);

        logLevelLabel = new QLabel(launcherFormWidget);
        logLevelLabel->setObjectName("logLevelLabel");

        formLayout->setWidget(7, QFormLayout::ItemRole::LabelRole, logLevelLabel);

        logLevelComboBox = new QComboBox(launcherFormWidget);
        logLevelComboBox->addItem(QString());
        logLevelComboBox->addItem(QString());
        logLevelComboBox->addItem(QString());
        logLevelComboBox->addItem(QString());
        logLevelComboBox->setObjectName("logLevelComboBox");

        formLayout->setWidget(7, QFormLayout::ItemRole::FieldRole, logLevelComboBox);

        dataDirLabel = new QLabel(launcherFormWidget);
        dataDirLabel->setObjectName("dataDirLabel");

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

        dataDirPathSelection = new QtUtilities::PathSelection(launcherFormWidget);
        dataDirPathSelection->setObjectName("dataDirPathSelection");

        formLayout->setWidget(4, QFormLayout::ItemRole::FieldRole, dataDirPathSelection);

        optionsLabel = new QLabel(launcherFormWidget);
        optionsLabel->setObjectName("optionsLabel");

        formLayout->setWidget(5, QFormLayout::ItemRole::LabelRole, optionsLabel);

        expandEnvCheckBox = new QCheckBox(launcherFormWidget);
        expandEnvCheckBox->setObjectName("expandEnvCheckBox");

        formLayout->setWidget(5, QFormLayout::ItemRole::FieldRole, expandEnvCheckBox);


        settingsVerticalLayout->addWidget(launcherFormWidget);

        showButtonCheckBox = new QCheckBox(settingsWidget);
        showButtonCheckBox->setObjectName("showButtonCheckBox");

        settingsVerticalLayout->addWidget(showButtonCheckBox);

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

        settingsVerticalLayout->addWidget(considerForReconnectCheckBox);

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

        settingsVerticalLayout->addWidget(stopOnMeteredCheckBox);

        line = new QFrame(settingsWidget);
        line->setObjectName("line");
        QSizePolicy sizePolicy2(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(line->sizePolicy().hasHeightForWidth());
        line->setSizePolicy(sizePolicy2);
        line->setFrameShape(QFrame::Shape::HLine);
        line->setFrameShadow(QFrame::Shadow::Sunken);

        settingsVerticalLayout->addWidget(line);

        splitter->addWidget(settingsWidget);
        logWidget = new QWidget(splitter);
        logWidget->setObjectName("logWidget");
        QSizePolicy sizePolicy3(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Preferred);
        sizePolicy3.setHorizontalStretch(0);
        sizePolicy3.setVerticalStretch(0);
        sizePolicy3.setHeightForWidth(logWidget->sizePolicy().hasHeightForWidth());
        logWidget->setSizePolicy(sizePolicy3);
        logVerticalLayout = new QVBoxLayout(logWidget);
        logVerticalLayout->setObjectName("logVerticalLayout");
        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName("horizontalLayout");
        logLabel = new QLabel(logWidget);
        logLabel->setObjectName("logLabel");
        logLabel->setFont(font);

        horizontalLayout->addWidget(logLabel);

        launchNowPushButton = new QPushButton(logWidget);
        launchNowPushButton->setObjectName("launchNowPushButton");
        QSizePolicy sizePolicy4(QSizePolicy::Policy::Fixed, QSizePolicy::Policy::Fixed);
        sizePolicy4.setHorizontalStretch(0);
        sizePolicy4.setVerticalStretch(0);
        sizePolicy4.setHeightForWidth(launchNowPushButton->sizePolicy().hasHeightForWidth());
        launchNowPushButton->setSizePolicy(sizePolicy4);
        QIcon icon1;
        iconThemeName = QString::fromUtf8("view-refresh");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon1 = QIcon::fromTheme(iconThemeName);
        } else {
            icon1.addFile(QString::fromUtf8(":/icons/hicolor/scalable/actions/view-refresh.svg"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        launchNowPushButton->setIcon(icon1);

        horizontalLayout->addWidget(launchNowPushButton);

        stopPushButton = new QPushButton(logWidget);
        stopPushButton->setObjectName("stopPushButton");
        sizePolicy4.setHeightForWidth(stopPushButton->sizePolicy().hasHeightForWidth());
        stopPushButton->setSizePolicy(sizePolicy4);
        QIcon icon2;
        iconThemeName = QString::fromUtf8("process-stop");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon2 = QIcon::fromTheme(iconThemeName);
        } else {
            icon2.addFile(QString::fromUtf8(":/icons/hicolor/scalable/actions/process-stop.svg"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        stopPushButton->setIcon(icon2);

        horizontalLayout->addWidget(stopPushButton);


        logVerticalLayout->addLayout(horizontalLayout);

        logTextEdit = new QtUtilities::ClearPlainTextEdit(logWidget);
        logTextEdit->setObjectName("logTextEdit");
        logTextEdit->setUndoRedoEnabled(false);
        logTextEdit->setReadOnly(true);

        logVerticalLayout->addWidget(logTextEdit);

        ensureCursorVisibleCheckBox = new QCheckBox(logWidget);
        ensureCursorVisibleCheckBox->setObjectName("ensureCursorVisibleCheckBox");
        ensureCursorVisibleCheckBox->setChecked(true);

        logVerticalLayout->addWidget(ensureCursorVisibleCheckBox);

        splitter->addWidget(logWidget);

        mainVerticalLayout->addWidget(splitter);

        QWidget::setTabOrder(enabledCheckBox, useBuiltInVersionCheckBox);
        QWidget::setTabOrder(useBuiltInVersionCheckBox, argumentsLineEdit);
        QWidget::setTabOrder(argumentsLineEdit, logLevelComboBox);
        QWidget::setTabOrder(logLevelComboBox, showButtonCheckBox);
        QWidget::setTabOrder(showButtonCheckBox, considerForReconnectCheckBox);
        QWidget::setTabOrder(considerForReconnectCheckBox, launchNowPushButton);
        QWidget::setTabOrder(launchNowPushButton, stopPushButton);
        QWidget::setTabOrder(stopPushButton, logTextEdit);
        QWidget::setTabOrder(logTextEdit, ensureCursorVisibleCheckBox);

        retranslateUi(QtGui__LauncherOptionPage);
        QObject::connect(useBuiltInVersionCheckBox, SIGNAL(toggled(bool)), syncthingPathSelection, SLOT(setDisabled(bool)));
        QObject::connect(useBuiltInVersionCheckBox, SIGNAL(toggled(bool)), argumentsLineEdit, SLOT(setHidden(bool)));
        QObject::connect(useBuiltInVersionCheckBox, SIGNAL(toggled(bool)), configDirPathSelection, SLOT(setVisible(bool)));
        QObject::connect(useBuiltInVersionCheckBox, &QCheckBox::toggled, configDirLabel, &QLabel::setVisible);
        QObject::connect(useBuiltInVersionCheckBox, &QCheckBox::toggled, argumentsLabel, &QLabel::setHidden);
        QObject::connect(useBuiltInVersionCheckBox, &QCheckBox::toggled, logLevelLabel, &QLabel::setVisible);
        QObject::connect(useBuiltInVersionCheckBox, &QCheckBox::toggled, logLevelComboBox, &QComboBox::setVisible);
        QObject::connect(useBuiltInVersionCheckBox, &QCheckBox::toggled, dataDirLabel, &QLabel::setVisible);
        QObject::connect(useBuiltInVersionCheckBox, SIGNAL(toggled(bool)), dataDirPathSelection, SLOT(setVisible(bool)));
        QObject::connect(useBuiltInVersionCheckBox, &QCheckBox::toggled, optionsLabel, &QLabel::setVisible);
        QObject::connect(useBuiltInVersionCheckBox, &QCheckBox::toggled, expandEnvCheckBox, &QCheckBox::setVisible);

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

    void retranslateUi(QWidget *QtGui__LauncherOptionPage)
    {
        QtGui__LauncherOptionPage->setWindowTitle(QCoreApplication::translate("QtGui::LauncherOptionPage", "Syncthing launcher", nullptr));
        enabledCheckBox->setText(QCoreApplication::translate("QtGui::LauncherOptionPage", "Launch Syncthing when starting the tray icon", nullptr));
        syncthingPathLabel->setText(QCoreApplication::translate("QtGui::LauncherOptionPage", "Syncthing executable", nullptr));
        argumentsLabel->setText(QCoreApplication::translate("QtGui::LauncherOptionPage", "Arguments", nullptr));
        useBuiltInVersionCheckBox->setText(QCoreApplication::translate("QtGui::LauncherOptionPage", "Use built-in Syncthing library", nullptr));
#if QT_CONFIG(tooltip)
        configDirLabel->setToolTip(QCoreApplication::translate("QtGui::LauncherOptionPage", "Set directory for configuration and keys", nullptr));
#endif // QT_CONFIG(tooltip)
        configDirLabel->setText(QCoreApplication::translate("QtGui::LauncherOptionPage", "Config directory", nullptr));
        logLevelLabel->setText(QCoreApplication::translate("QtGui::LauncherOptionPage", "Log level", nullptr));
        logLevelComboBox->setItemText(0, QCoreApplication::translate("QtGui::LauncherOptionPage", "Debug", nullptr));
        logLevelComboBox->setItemText(1, QCoreApplication::translate("QtGui::LauncherOptionPage", "Info", nullptr));
        logLevelComboBox->setItemText(2, QCoreApplication::translate("QtGui::LauncherOptionPage", "Warning", nullptr));
        logLevelComboBox->setItemText(3, QCoreApplication::translate("QtGui::LauncherOptionPage", "Fatal", nullptr));

#if QT_CONFIG(tooltip)
        dataDirLabel->setToolTip(QCoreApplication::translate("QtGui::LauncherOptionPage", "Set database directory (falls back to config directory if empty)", nullptr));
#endif // QT_CONFIG(tooltip)
        dataDirLabel->setText(QCoreApplication::translate("QtGui::LauncherOptionPage", "Data directory", nullptr));
        optionsLabel->setText(QCoreApplication::translate("QtGui::LauncherOptionPage", "Options", nullptr));
        expandEnvCheckBox->setText(QCoreApplication::translate("QtGui::LauncherOptionPage", "Replace ${var} or $var in directories with values from environment", nullptr));
        showButtonCheckBox->setText(QCoreApplication::translate("QtGui::LauncherOptionPage", "Show start/stop button on tray for local instance", nullptr));
        considerForReconnectCheckBox->setText(QCoreApplication::translate("QtGui::LauncherOptionPage", "Consider process status for notifications and reconnect attempts concerning local instance\n"
" \342\200\242 Don't reconnect when the process is not running\n"
" \342\200\242 Try to reconnect when starting the process\n"
" \342\200\242 Suppress notification about disconnect when Syncthing has been stopped manually", nullptr));
        stopOnMeteredCheckBox->setText(QCoreApplication::translate("QtGui::LauncherOptionPage", "Stop automatically when network connection is metered", nullptr));
        logLabel->setText(QCoreApplication::translate("QtGui::LauncherOptionPage", "Syncthing log (interleaved stdout/stderr)", nullptr));
        launchNowPushButton->setText(QCoreApplication::translate("QtGui::LauncherOptionPage", "Apply and launch now", nullptr));
        stopPushButton->setText(QCoreApplication::translate("QtGui::LauncherOptionPage", "Stop launched instance", nullptr));
        logTextEdit->setPlaceholderText(QCoreApplication::translate("QtGui::LauncherOptionPage", "No log messages available yet", nullptr));
        ensureCursorVisibleCheckBox->setText(QCoreApplication::translate("QtGui::LauncherOptionPage", "Ensure latest log is visible", nullptr));
    } // retranslateUi

};

} // namespace QtGui

namespace QtGui {
namespace Ui {
    class LauncherOptionPage: public Ui_LauncherOptionPage {};
} // namespace Ui
} // namespace QtGui

#endif // UI_LAUNCHEROPTIONPAGE_H
