#include <klocalizedstring.h>

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

#ifndef UI_KSORTOPTIONDLG_H
#define UI_KSORTOPTIONDLG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QVBoxLayout>
#include "transactionsortoption.h"

QT_BEGIN_NAMESPACE

class Ui_KSortOptionDlg
{
public:
    QVBoxLayout *vboxLayout;
    QCheckBox *m_useDefault;
    TransactionSortOption *m_sortOption;
    QDialogButtonBox *m_buttonBox;

    void setupUi(QDialog *KSortOptionDlg)
    {
        if (KSortOptionDlg->objectName().isEmpty())
            KSortOptionDlg->setObjectName(QStringLiteral("KSortOptionDlg"));
        KSortOptionDlg->resize(511, 348);
        KSortOptionDlg->setSizeGripEnabled(true);
        vboxLayout = new QVBoxLayout(KSortOptionDlg);
        vboxLayout->setSpacing(6);
        vboxLayout->setContentsMargins(11, 11, 11, 11);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        m_useDefault = new QCheckBox(KSortOptionDlg);
        m_useDefault->setObjectName(QStringLiteral("m_useDefault"));

        vboxLayout->addWidget(m_useDefault);

        m_sortOption = new TransactionSortOption(KSortOptionDlg);
        m_sortOption->setObjectName(QStringLiteral("m_sortOption"));

        vboxLayout->addWidget(m_sortOption);

        m_buttonBox = new QDialogButtonBox(KSortOptionDlg);
        m_buttonBox->setObjectName(QStringLiteral("m_buttonBox"));
        m_buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok);

        vboxLayout->addWidget(m_buttonBox);


        retranslateUi(KSortOptionDlg);
        QObject::connect(m_useDefault, SIGNAL(toggled(bool)), m_sortOption, SLOT(setDisabled(bool)));
        QObject::connect(m_buttonBox, SIGNAL(accepted()), KSortOptionDlg, SLOT(accept()));
        QObject::connect(m_buttonBox, SIGNAL(rejected()), KSortOptionDlg, SLOT(reject()));

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

    void retranslateUi(QDialog *KSortOptionDlg)
    {
        KSortOptionDlg->setWindowTitle(tr2i18n("Sort options", Q_NULLPTR));
        m_useDefault->setText(tr2i18n("Use default", Q_NULLPTR));
    } // retranslateUi

};

namespace Ui {
    class KSortOptionDlg: public Ui_KSortOptionDlg {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KSORTOPTIONDLG_H

