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

/*
 * OpenRPT report writer and rendering engine
 * Copyright (C) 2001-2007 by OpenMFG, LLC (info@openmfg.com)
 * Copyright (C) 2007-2008 by Adam Pigg (adam@piggz.co.uk)
 * Copyright (C) 2012 by Friedrich W. H. Kossebau (kossebau@kde.org)
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library.  If not, see http://www.gnu.org/licenses/.
*/

/********************************************************************************
** Form generated from reading UI file 'detailgroupsectiondialog.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_DETAILGROUPSECTIONDIALOG_H
#define UI_DETAILGROUPSECTIONDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QComboBox>
#include <QtGui/QFormLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QWidget>

QT_BEGIN_NAMESPACE

class Ui_DetailGroupSectionDialog
{
public:
    QFormLayout *formLayout;
    QLabel *lblColumn;
    QComboBox *cbColumn;
    QLabel *lblSort;
    QComboBox *cbSort;
    QLabel *label;
    QCheckBox *cbHead;
    QLabel *label_2;
    QCheckBox *cbFoot;
    QLabel *breakAfterFooterLabel;
    QCheckBox *breakAfterFooter;

    void setupUi(QWidget *DetailGroupSectionDialog)
    {
        if (DetailGroupSectionDialog->objectName().isEmpty())
            DetailGroupSectionDialog->setObjectName(QString::fromUtf8("DetailGroupSectionDialog"));
        formLayout = new QFormLayout(DetailGroupSectionDialog);
        formLayout->setContentsMargins(0, 0, 0, 0);
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        lblColumn = new QLabel(DetailGroupSectionDialog);
        lblColumn->setObjectName(QString::fromUtf8("lblColumn"));

        formLayout->setWidget(0, QFormLayout::LabelRole, lblColumn);

        cbColumn = new QComboBox(DetailGroupSectionDialog);
        cbColumn->setObjectName(QString::fromUtf8("cbColumn"));
        QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(cbColumn->sizePolicy().hasHeightForWidth());
        cbColumn->setSizePolicy(sizePolicy);

        formLayout->setWidget(0, QFormLayout::FieldRole, cbColumn);

        lblSort = new QLabel(DetailGroupSectionDialog);
        lblSort->setObjectName(QString::fromUtf8("lblSort"));

        formLayout->setWidget(1, QFormLayout::LabelRole, lblSort);

        cbSort = new QComboBox(DetailGroupSectionDialog);
        cbSort->setObjectName(QString::fromUtf8("cbSort"));
        QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(cbSort->sizePolicy().hasHeightForWidth());
        cbSort->setSizePolicy(sizePolicy1);

        formLayout->setWidget(1, QFormLayout::FieldRole, cbSort);

        label = new QLabel(DetailGroupSectionDialog);
        label->setObjectName(QString::fromUtf8("label"));

        formLayout->setWidget(2, QFormLayout::LabelRole, label);

        cbHead = new QCheckBox(DetailGroupSectionDialog);
        cbHead->setObjectName(QString::fromUtf8("cbHead"));

        formLayout->setWidget(2, QFormLayout::FieldRole, cbHead);

        label_2 = new QLabel(DetailGroupSectionDialog);
        label_2->setObjectName(QString::fromUtf8("label_2"));

        formLayout->setWidget(3, QFormLayout::LabelRole, label_2);

        cbFoot = new QCheckBox(DetailGroupSectionDialog);
        cbFoot->setObjectName(QString::fromUtf8("cbFoot"));

        formLayout->setWidget(3, QFormLayout::FieldRole, cbFoot);

        breakAfterFooterLabel = new QLabel(DetailGroupSectionDialog);
        breakAfterFooterLabel->setObjectName(QString::fromUtf8("breakAfterFooterLabel"));
        breakAfterFooterLabel->setEnabled(false);

        formLayout->setWidget(4, QFormLayout::LabelRole, breakAfterFooterLabel);

        breakAfterFooter = new QCheckBox(DetailGroupSectionDialog);
        breakAfterFooter->setObjectName(QString::fromUtf8("breakAfterFooter"));
        breakAfterFooter->setEnabled(false);

        formLayout->setWidget(4, QFormLayout::FieldRole, breakAfterFooter);


        retranslateUi(DetailGroupSectionDialog);
        QObject::connect(cbFoot, SIGNAL(toggled(bool)), breakAfterFooter, SLOT(setEnabled(bool)));
        QObject::connect(cbFoot, SIGNAL(toggled(bool)), breakAfterFooterLabel, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *DetailGroupSectionDialog)
    {
        lblColumn->setText(tr2i18n("Column:", 0));
        lblSort->setText(tr2i18n("Sort:", 0));
        label->setText(tr2i18n("Show group header:", 0));
        cbHead->setText(QString());
        label_2->setText(tr2i18n("Show group footer:", 0));
        cbFoot->setText(QString());
        breakAfterFooterLabel->setText(tr2i18n("Insert page break after group footer:", 0));
        breakAfterFooter->setText(QString());
        Q_UNUSED(DetailGroupSectionDialog);
    } // retranslateUi

};

namespace Ui {
    class DetailGroupSectionDialog: public Ui_DetailGroupSectionDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // DETAILGROUPSECTIONDIALOG_H

