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

#ifndef UI_SESSIONDIALOG_H
#define UI_SESSIONDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QIcon>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QListWidget>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QStackedWidget>
#include <QtWidgets/QWidget>
#include "lineedit.h"

namespace FeatherPad {

class Ui_SessionDialog
{
public:
    QAction *actionRemove;
    QAction *actionOpen;
    QAction *actionRename;
    QGridLayout *gridLayout;
    QStackedWidget *stackedWidget;
    QWidget *page;
    QGridLayout *mainGrid;
    QLabel *label;
    QListWidget *listWidget;
    LineEdit *filterLineEdit;
    QPushButton *openBtn;
    QSpacerItem *horizontalSpacer;
    QPushButton *removeBtn;
    QPushButton *clearBtn;
    QPushButton *saveBtn;
    LineEdit *lineEdit;
    QCheckBox *windowBox;
    QWidget *page_2;
    QGridLayout *promptGrid;
    QLabel *warningLabel;
    QSpacerItem *verticalSpacer_2;
    QLabel *promptLabel;
    QSpacerItem *verticalSpacer_3;
    QPushButton *confirmBtn;
    QPushButton *cancelBtn;
    QSpacerItem *verticalSpacer;
    QPushButton *closeButton;

    void setupUi(QDialog *sessionDialog)
    {
        if (sessionDialog->objectName().isEmpty())
            sessionDialog->setObjectName("sessionDialog");
        sessionDialog->resize(300, 400);
        sessionDialog->setSizeGripEnabled(true);
        actionRemove = new QAction(sessionDialog);
        actionRemove->setObjectName("actionRemove");
        QIcon icon(QIcon::fromTheme(QString::fromUtf8("edit-delete")));
        actionRemove->setIcon(icon);
        actionOpen = new QAction(sessionDialog);
        actionOpen->setObjectName("actionOpen");
        actionRename = new QAction(sessionDialog);
        actionRename->setObjectName("actionRename");
        QIcon icon1(QIcon::fromTheme(QString::fromUtf8("edit-rename")));
        actionRename->setIcon(icon1);
        gridLayout = new QGridLayout(sessionDialog);
        gridLayout->setObjectName("gridLayout");
        stackedWidget = new QStackedWidget(sessionDialog);
        stackedWidget->setObjectName("stackedWidget");
        page = new QWidget();
        page->setObjectName("page");
        mainGrid = new QGridLayout(page);
        mainGrid->setSpacing(5);
        mainGrid->setObjectName("mainGrid");
        mainGrid->setContentsMargins(0, 0, 0, 0);
        label = new QLabel(page);
        label->setObjectName("label");
        label->setAlignment(Qt::AlignCenter);
        label->setMargin(5);

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

        listWidget = new QListWidget(page);
        listWidget->setObjectName("listWidget");
        listWidget->setSelectionMode(QAbstractItemView::ExtendedSelection);
        listWidget->setSortingEnabled(true);

        mainGrid->addWidget(listWidget, 1, 0, 1, 4);

        filterLineEdit = new LineEdit(page);
        filterLineEdit->setObjectName("filterLineEdit");
        filterLineEdit->setClearButtonEnabled(true);

        mainGrid->addWidget(filterLineEdit, 2, 0, 1, 4);

        openBtn = new QPushButton(page);
        openBtn->setObjectName("openBtn");
        openBtn->setEnabled(false);

        mainGrid->addWidget(openBtn, 3, 0, 1, 1);

        horizontalSpacer = new QSpacerItem(20, 5, QSizePolicy::Policy::MinimumExpanding, QSizePolicy::Policy::Minimum);

        mainGrid->addItem(horizontalSpacer, 3, 1, 1, 1);

        removeBtn = new QPushButton(page);
        removeBtn->setObjectName("removeBtn");
        removeBtn->setEnabled(false);
        QIcon icon2;
        QString iconThemeName = QString::fromUtf8("edit-delete");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon2 = QIcon::fromTheme(iconThemeName);
        } else {
            icon2.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        removeBtn->setIcon(icon2);

        mainGrid->addWidget(removeBtn, 3, 2, 1, 1);

        clearBtn = new QPushButton(page);
        clearBtn->setObjectName("clearBtn");
        QIcon icon3;
        iconThemeName = QString::fromUtf8("edit-clear");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon3 = QIcon::fromTheme(iconThemeName);
        } else {
            icon3.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        clearBtn->setIcon(icon3);

        mainGrid->addWidget(clearBtn, 3, 3, 1, 1);

        saveBtn = new QPushButton(page);
        saveBtn->setObjectName("saveBtn");
        saveBtn->setEnabled(false);
        QIcon icon4;
        iconThemeName = QString::fromUtf8("document-save");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon4 = QIcon::fromTheme(iconThemeName);
        } else {
            icon4.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        saveBtn->setIcon(icon4);

        mainGrid->addWidget(saveBtn, 4, 0, 1, 1);

        lineEdit = new LineEdit(page);
        lineEdit->setObjectName("lineEdit");
        lineEdit->setClearButtonEnabled(true);

        mainGrid->addWidget(lineEdit, 4, 1, 1, 3);

        windowBox = new QCheckBox(page);
        windowBox->setObjectName("windowBox");
        windowBox->setChecked(true);

        mainGrid->addWidget(windowBox, 5, 0, 1, 4);

        stackedWidget->addWidget(page);
        page_2 = new QWidget();
        page_2->setObjectName("page_2");
        promptGrid = new QGridLayout(page_2);
        promptGrid->setObjectName("promptGrid");
        promptGrid->setVerticalSpacing(10);
        promptGrid->setContentsMargins(0, 0, 0, 0);
        warningLabel = new QLabel(page_2);
        warningLabel->setObjectName("warningLabel");
        warningLabel->setAlignment(Qt::AlignCenter);

        promptGrid->addWidget(warningLabel, 0, 0, 1, 2);

        verticalSpacer_2 = new QSpacerItem(5, 5, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);

        promptGrid->addItem(verticalSpacer_2, 1, 0, 1, 1);

        promptLabel = new QLabel(page_2);
        promptLabel->setObjectName("promptLabel");
        promptLabel->setAlignment(Qt::AlignCenter);
        promptLabel->setMargin(5);

        promptGrid->addWidget(promptLabel, 2, 0, 1, 2);

        verticalSpacer_3 = new QSpacerItem(5, 5, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);

        promptGrid->addItem(verticalSpacer_3, 3, 0, 1, 1);

        confirmBtn = new QPushButton(page_2);
        confirmBtn->setObjectName("confirmBtn");

        promptGrid->addWidget(confirmBtn, 4, 0, 1, 1, Qt::AlignLeft);

        cancelBtn = new QPushButton(page_2);
        cancelBtn->setObjectName("cancelBtn");

        promptGrid->addWidget(cancelBtn, 4, 1, 1, 1, Qt::AlignRight);

        stackedWidget->addWidget(page_2);

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

        verticalSpacer = new QSpacerItem(5, 10, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Fixed);

        gridLayout->addItem(verticalSpacer, 1, 0, 1, 1);

        closeButton = new QPushButton(sessionDialog);
        closeButton->setObjectName("closeButton");

        gridLayout->addWidget(closeButton, 2, 0, 1, 1, Qt::AlignRight);

        gridLayout->setRowStretch(0, 1);

        retranslateUi(sessionDialog);

        stackedWidget->setCurrentIndex(0);


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

    void retranslateUi(QDialog *sessionDialog)
    {
        sessionDialog->setWindowTitle(QCoreApplication::translate("FeatherPad::SessionDialog", "Session Manager", nullptr));
        actionRemove->setText(QCoreApplication::translate("FeatherPad::SessionDialog", "&Remove", nullptr));
        actionOpen->setText(QCoreApplication::translate("FeatherPad::SessionDialog", "&Open", nullptr));
        actionRename->setText(QCoreApplication::translate("FeatherPad::SessionDialog", "Re&name", nullptr));
        label->setText(QCoreApplication::translate("FeatherPad::SessionDialog", "<b>Save/Restore Session</b>", nullptr));
        filterLineEdit->setPlaceholderText(QCoreApplication::translate("FeatherPad::SessionDialog", "Filter...", nullptr));
#if QT_CONFIG(tooltip)
        openBtn->setToolTip(QCoreApplication::translate("FeatherPad::SessionDialog", "Open the selected session(s).", nullptr));
#endif // QT_CONFIG(tooltip)
        openBtn->setText(QCoreApplication::translate("FeatherPad::SessionDialog", "&Open", nullptr));
#if QT_CONFIG(tooltip)
        removeBtn->setToolTip(QCoreApplication::translate("FeatherPad::SessionDialog", "Del", nullptr));
#endif // QT_CONFIG(tooltip)
        removeBtn->setText(QCoreApplication::translate("FeatherPad::SessionDialog", "&Remove", nullptr));
#if QT_CONFIG(shortcut)
        removeBtn->setShortcut(QCoreApplication::translate("FeatherPad::SessionDialog", "Del", nullptr));
#endif // QT_CONFIG(shortcut)
#if QT_CONFIG(tooltip)
        clearBtn->setToolTip(QCoreApplication::translate("FeatherPad::SessionDialog", "Ctrl+Del", nullptr));
#endif // QT_CONFIG(tooltip)
        clearBtn->setText(QCoreApplication::translate("FeatherPad::SessionDialog", "Remove &All", nullptr));
#if QT_CONFIG(shortcut)
        clearBtn->setShortcut(QCoreApplication::translate("FeatherPad::SessionDialog", "Ctrl+Del", nullptr));
#endif // QT_CONFIG(shortcut)
#if QT_CONFIG(tooltip)
        saveBtn->setToolTip(QCoreApplication::translate("FeatherPad::SessionDialog", "Save the current session under the given title.", nullptr));
#endif // QT_CONFIG(tooltip)
        saveBtn->setText(QCoreApplication::translate("FeatherPad::SessionDialog", "&Save", nullptr));
        lineEdit->setPlaceholderText(QCoreApplication::translate("FeatherPad::SessionDialog", "Type a name to save session", nullptr));
#if QT_CONFIG(tooltip)
        windowBox->setToolTip(QCoreApplication::translate("FeatherPad::SessionDialog", "By default, all files that are opened in all\n"
"windows will be included in the saved session.", nullptr));
#endif // QT_CONFIG(tooltip)
        windowBox->setText(QCoreApplication::translate("FeatherPad::SessionDialog", "Save only from this &window", nullptr));
        warningLabel->setText(QCoreApplication::translate("FeatherPad::SessionDialog", "<b>Warning</b>", nullptr));
        confirmBtn->setText(QCoreApplication::translate("FeatherPad::SessionDialog", "&Yes", nullptr));
        cancelBtn->setText(QCoreApplication::translate("FeatherPad::SessionDialog", "&No", nullptr));
        closeButton->setText(QCoreApplication::translate("FeatherPad::SessionDialog", "&Close", nullptr));
    } // retranslateUi

};

} // namespace FeatherPad

namespace FeatherPad {
namespace Ui {
    class SessionDialog: public Ui_SessionDialog {};
} // namespace Ui
} // namespace FeatherPad

#endif // UI_SESSIONDIALOG_H
