#include <kdialog.h>
#include <klocale.h>

/********************************************************************************
** Form generated from reading UI file 'ksortoptiondlg.ui'
**
** Created by: Qt User Interface Compiler version 4.8.7
**
** 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 <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <kdialog.h>
#include <kpushbutton.h>
#include "transactionsortoptionimpl.h"

QT_BEGIN_NAMESPACE

class Ui_KSortOptionDlg
{
public:
    QVBoxLayout *vboxLayout;
    QCheckBox *m_useDefault;
    TransactionSortOption *m_sortOption;
    QHBoxLayout *hboxLayout;
    KPushButton *m_helpButton;
    QSpacerItem *Horizontal_Spacing2;
    KPushButton *m_okButton;
    KPushButton *m_cancelButton;

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

        vboxLayout->addWidget(m_useDefault);

        m_sortOption = new TransactionSortOption(KSortOptionDlg);
        m_sortOption->setObjectName(QString::fromUtf8("m_sortOption"));

        vboxLayout->addWidget(m_sortOption);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        m_helpButton = new KPushButton(KSortOptionDlg);
        m_helpButton->setObjectName(QString::fromUtf8("m_helpButton"));

        hboxLayout->addWidget(m_helpButton);

        Horizontal_Spacing2 = new QSpacerItem(237, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(Horizontal_Spacing2);

        m_okButton = new KPushButton(KSortOptionDlg);
        m_okButton->setObjectName(QString::fromUtf8("m_okButton"));
        m_okButton->setAutoDefault(true);
        m_okButton->setDefault(true);

        hboxLayout->addWidget(m_okButton);

        m_cancelButton = new KPushButton(KSortOptionDlg);
        m_cancelButton->setObjectName(QString::fromUtf8("m_cancelButton"));

        hboxLayout->addWidget(m_cancelButton);


        vboxLayout->addLayout(hboxLayout);


        retranslateUi(KSortOptionDlg);
        QObject::connect(m_okButton, SIGNAL(clicked()), KSortOptionDlg, SLOT(accept()));
        QObject::connect(m_cancelButton, SIGNAL(clicked()), KSortOptionDlg, SLOT(reject()));
        QObject::connect(m_useDefault, SIGNAL(toggled(bool)), m_sortOption, SLOT(setDisabled(bool)));

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

    void retranslateUi(KDialog *KSortOptionDlg)
    {
        KSortOptionDlg->setWindowTitle(tr2i18n("Sort options", 0));
        m_useDefault->setText(tr2i18n("Use default", 0));
        m_helpButton->setText(tr2i18n("Help", 0));
        m_okButton->setText(tr2i18n("OK", 0));
        m_cancelButton->setText(tr2i18n("Cancel", 0));
    } // retranslateUi

};

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

QT_END_NAMESPACE

#endif // KSORTOPTIONDLG_H

