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

/*
This file is part of the KDE project.
Copyright 2010 Stefan Nikolaus <stefan.nikolaus@kdemail.net>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA

*/

/********************************************************************************
** Form generated from reading UI file 'SortWidget.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_SORTWIDGET_H
#define UI_SORTWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHeaderView>
#include <QtGui/QPushButton>
#include <QtGui/QRadioButton>
#include <QtGui/QTableWidget>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>

QT_BEGIN_NAMESPACE

class Ui_SortWidget
{
public:
    QGridLayout *gridLayout;
    QPushButton *m_addButton;
    QPushButton *m_removeButton;
    QPushButton *m_upButton;
    QTableWidget *m_tableWidget;
    QPushButton *m_downButton;
    QCheckBox *m_useHeader;
    QGroupBox *groupBox;
    QVBoxLayout *verticalLayout_2;
    QRadioButton *m_sortHorizontal;
    QRadioButton *m_sortVertical;

    void setupUi(QWidget *SortWidget)
    {
        if (SortWidget->objectName().isEmpty())
            SortWidget->setObjectName(QString::fromUtf8("SortWidget"));
        SortWidget->resize(450, 300);
        gridLayout = new QGridLayout(SortWidget);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        m_addButton = new QPushButton(SortWidget);
        m_addButton->setObjectName(QString::fromUtf8("m_addButton"));

        gridLayout->addWidget(m_addButton, 3, 2, 1, 1);

        m_removeButton = new QPushButton(SortWidget);
        m_removeButton->setObjectName(QString::fromUtf8("m_removeButton"));

        gridLayout->addWidget(m_removeButton, 4, 2, 1, 1);

        m_upButton = new QPushButton(SortWidget);
        m_upButton->setObjectName(QString::fromUtf8("m_upButton"));

        gridLayout->addWidget(m_upButton, 5, 2, 1, 1);

        m_tableWidget = new QTableWidget(SortWidget);
        if (m_tableWidget->columnCount() < 3)
            m_tableWidget->setColumnCount(3);
        QTableWidgetItem *__qtablewidgetitem = new QTableWidgetItem();
        m_tableWidget->setHorizontalHeaderItem(0, __qtablewidgetitem);
        QTableWidgetItem *__qtablewidgetitem1 = new QTableWidgetItem();
        m_tableWidget->setHorizontalHeaderItem(1, __qtablewidgetitem1);
        QTableWidgetItem *__qtablewidgetitem2 = new QTableWidgetItem();
        m_tableWidget->setHorizontalHeaderItem(2, __qtablewidgetitem2);
        m_tableWidget->setObjectName(QString::fromUtf8("m_tableWidget"));
        QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(m_tableWidget->sizePolicy().hasHeightForWidth());
        m_tableWidget->setSizePolicy(sizePolicy);
        m_tableWidget->setMinimumSize(QSize(300, 100));
        m_tableWidget->setEditTriggers(QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked);
        m_tableWidget->setAlternatingRowColors(true);
        m_tableWidget->setSelectionBehavior(QAbstractItemView::SelectRows);
        m_tableWidget->setShowGrid(false);
        m_tableWidget->setColumnCount(3);
        m_tableWidget->horizontalHeader()->setVisible(true);
        m_tableWidget->verticalHeader()->setVisible(false);

        gridLayout->addWidget(m_tableWidget, 3, 0, 5, 2);

        m_downButton = new QPushButton(SortWidget);
        m_downButton->setObjectName(QString::fromUtf8("m_downButton"));

        gridLayout->addWidget(m_downButton, 6, 2, 1, 1);

        m_useHeader = new QCheckBox(SortWidget);
        m_useHeader->setObjectName(QString::fromUtf8("m_useHeader"));

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

        groupBox = new QGroupBox(SortWidget);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        verticalLayout_2 = new QVBoxLayout(groupBox);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        m_sortHorizontal = new QRadioButton(groupBox);
        m_sortHorizontal->setObjectName(QString::fromUtf8("m_sortHorizontal"));

        verticalLayout_2->addWidget(m_sortHorizontal);

        m_sortVertical = new QRadioButton(groupBox);
        m_sortVertical->setObjectName(QString::fromUtf8("m_sortVertical"));

        verticalLayout_2->addWidget(m_sortVertical);


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

        QWidget::setTabOrder(m_sortHorizontal, m_sortVertical);
        QWidget::setTabOrder(m_sortVertical, m_useHeader);
        QWidget::setTabOrder(m_useHeader, m_tableWidget);
        QWidget::setTabOrder(m_tableWidget, m_addButton);
        QWidget::setTabOrder(m_addButton, m_removeButton);
        QWidget::setTabOrder(m_removeButton, m_upButton);
        QWidget::setTabOrder(m_upButton, m_downButton);

        retranslateUi(SortWidget);

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

    void retranslateUi(QWidget *SortWidget)
    {
        m_addButton->setText(tr2i18n("Add", 0));
        m_removeButton->setText(tr2i18n("Remove", 0));
        m_upButton->setText(tr2i18n("Move Up", 0));
        QTableWidgetItem *___qtablewidgetitem = m_tableWidget->horizontalHeaderItem(0);
        ___qtablewidgetitem->setText(tr2i18n("Item", 0));
        QTableWidgetItem *___qtablewidgetitem1 = m_tableWidget->horizontalHeaderItem(1);
        ___qtablewidgetitem1->setText(tr2i18n("Sort Order", 0));
        QTableWidgetItem *___qtablewidgetitem2 = m_tableWidget->horizontalHeaderItem(2);
        ___qtablewidgetitem2->setText(tr2i18n("Case Sensitivity", 0));
        m_downButton->setText(tr2i18n("Move Down", 0));
        m_useHeader->setText(tr2i18n("First row contains column headers", 0));
        groupBox->setTitle(tr2i18n("Direction", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_sortHorizontal->setToolTip(tr2i18n("The data is grouped in columns and gets sorted horizontally by comparing the specified rows in the given order.", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        m_sortHorizontal->setWhatsThis(tr2i18n("The data is grouped in columns. Their rows are compared in the specified order. If the data in two rows is equal, the next given row gets compared until the two column groups differ in one of the rows. Then, the complete column is moved to it final position.", 0));
#endif // QT_NO_WHATSTHIS
        m_sortHorizontal->setText(tr2i18n("Sort data grouped in columns horizontally", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_sortVertical->setToolTip(tr2i18n("The data is grouped in rows and gets sorted vertically by comparing the specified columns in the given order.", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        m_sortVertical->setWhatsThis(tr2i18n("The data is grouped in rows. Their columns are compared in the specified order. If the data in two columns is equal, the next given column gets compared until the two row groups differ in one of the columns. Then, the complete row is moved to it final position.", 0));
#endif // QT_NO_WHATSTHIS
        m_sortVertical->setText(tr2i18n("Sort data grouped in rows vertically", 0));
        Q_UNUSED(SortWidget);
    } // retranslateUi

};

namespace Ui {
    class SortWidget: public Ui_SortWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SORTWIDGET_H

