#include <klocalizedstring.h>

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

#ifndef UI_LOADPRESET_H
#define UI_LOADPRESET_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDialog>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QListWidget>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>

QT_BEGIN_NAMESPACE

class Ui_LoadPreset
{
public:
    QGridLayout *gridLayout;
    QVBoxLayout *verticalLayout;
    QPushButton *loadButton;
    QSpacerItem *verticalSpacer;
    QPushButton *addButton;
    QPushButton *removeButton;
    QPushButton *exportButton;
    QSpacerItem *verticalSpacer_2;
    QPushButton *cancelButton;
    QListWidget *presetsList;

    void setupUi(QDialog *LoadPreset)
    {
        if (LoadPreset->objectName().isEmpty())
            LoadPreset->setObjectName("LoadPreset");
        LoadPreset->resize(510, 300);
        gridLayout = new QGridLayout(LoadPreset);
        gridLayout->setObjectName("gridLayout");
        verticalLayout = new QVBoxLayout();
        verticalLayout->setObjectName("verticalLayout");
        loadButton = new QPushButton(LoadPreset);
        loadButton->setObjectName("loadButton");
        loadButton->setEnabled(false);

        verticalLayout->addWidget(loadButton);

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

        verticalLayout->addItem(verticalSpacer);

        addButton = new QPushButton(LoadPreset);
        addButton->setObjectName("addButton");
        QIcon icon;
        QString iconThemeName = QString::fromUtf8("list-add");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon = QIcon::fromTheme(iconThemeName);
        } else {
            icon.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        addButton->setIcon(icon);

        verticalLayout->addWidget(addButton);

        removeButton = new QPushButton(LoadPreset);
        removeButton->setObjectName("removeButton");
        removeButton->setEnabled(false);
        QIcon icon1;
        iconThemeName = QString::fromUtf8("list-remove");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon1 = QIcon::fromTheme(iconThemeName);
        } else {
            icon1.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        removeButton->setIcon(icon1);

        verticalLayout->addWidget(removeButton);

        exportButton = new QPushButton(LoadPreset);
        exportButton->setObjectName("exportButton");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Fixed, QSizePolicy::Policy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(exportButton->sizePolicy().hasHeightForWidth());
        exportButton->setSizePolicy(sizePolicy);
        QIcon icon2;
        iconThemeName = QString::fromUtf8("document-export");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon2 = QIcon::fromTheme(iconThemeName);
        } else {
            icon2.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        exportButton->setIcon(icon2);

        verticalLayout->addWidget(exportButton);

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

        verticalLayout->addItem(verticalSpacer_2);

        cancelButton = new QPushButton(LoadPreset);
        cancelButton->setObjectName("cancelButton");
        QIcon icon3;
        iconThemeName = QString::fromUtf8("dialog-close");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon3 = QIcon::fromTheme(iconThemeName);
        } else {
            icon3.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        cancelButton->setIcon(icon3);

        verticalLayout->addWidget(cancelButton);


        gridLayout->addLayout(verticalLayout, 0, 1, 3, 1);

        presetsList = new QListWidget(LoadPreset);
        presetsList->setObjectName("presetsList");
        presetsList->setSortingEnabled(true);

        gridLayout->addWidget(presetsList, 0, 0, 3, 1);

        QWidget::setTabOrder(presetsList, loadButton);
        QWidget::setTabOrder(loadButton, addButton);
        QWidget::setTabOrder(addButton, removeButton);
        QWidget::setTabOrder(removeButton, exportButton);
        QWidget::setTabOrder(exportButton, cancelButton);

        retranslateUi(LoadPreset);
        QObject::connect(cancelButton, &QPushButton::clicked, LoadPreset, qOverload<>(&QDialog::reject));

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

    void retranslateUi(QDialog *LoadPreset)
    {
        LoadPreset->setWindowTitle(tr2i18n("Dialog", nullptr));
        loadButton->setText(tr2i18n("Load", nullptr));
        addButton->setText(tr2i18n("Add...", nullptr));
        removeButton->setText(tr2i18n("Remove", nullptr));
        exportButton->setText(tr2i18n("Export To File...", nullptr));
        cancelButton->setText(tr2i18n("Close", nullptr));
    } // retranslateUi

};

namespace Ui {
    class LoadPreset: public Ui_LoadPreset {};
} // namespace Ui

QT_END_NAMESPACE

#endif // LOADPRESET_H

