/*
 * OpenRPT report writer and rendering engine
 * Copyright (C) 2001-2011 by OpenMFG, LLC
 *
 * 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, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 * Please contact info@openmfg.com with any questions on this license.
*/

/********************************************************************************
** Form generated from reading UI file 'detailsectiondialog.ui'
**
** Created: Mon Oct 17 12:43:06 2011
**      by: Qt User Interface Compiler version 4.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_DETAILSECTIONDIALOG_H
#define UI_DETAILSECTIONDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QDialog>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QListWidget>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include "querycombobox.h"

QT_BEGIN_NAMESPACE

class Ui_DetailSectionDialog
{
public:
    QVBoxLayout *vboxLayout;
    QGridLayout *gridLayout;
    QLabel *TextLabel1;
    QLineEdit *tbName;
    QLabel *TextLabel2;
    QueryComboBox *cbQuery;
    QCheckBox *breakAtEnd;
    QGroupBox *GroupBox1;
    QHBoxLayout *hboxLayout;
    QListWidget *lbGroups;
    QVBoxLayout *vboxLayout1;
    QPushButton *btnAdd;
    QPushButton *btnEdit;
    QPushButton *btnRemove;
    QPushButton *btnMoveUp;
    QPushButton *brnMoveDown;
    QSpacerItem *spacerItem;
    QHBoxLayout *hboxLayout1;
    QSpacerItem *spacerItem1;
    QPushButton *buttonOk;

    void setupUi(QDialog *DetailSectionDialog)
    {
        if (DetailSectionDialog->objectName().isEmpty())
            DetailSectionDialog->setObjectName(QString::fromUtf8("DetailSectionDialog"));
        DetailSectionDialog->resize(294, 369);
        DetailSectionDialog->setSizeGripEnabled(true);
        vboxLayout = new QVBoxLayout(DetailSectionDialog);
        vboxLayout->setSpacing(6);
        vboxLayout->setContentsMargins(11, 11, 11, 11);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        gridLayout = new QGridLayout();
        gridLayout->setSpacing(6);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        TextLabel1 = new QLabel(DetailSectionDialog);
        TextLabel1->setObjectName(QString::fromUtf8("TextLabel1"));

        gridLayout->addWidget(TextLabel1, 0, 0, 1, 1);

        tbName = new QLineEdit(DetailSectionDialog);
        tbName->setObjectName(QString::fromUtf8("tbName"));

        gridLayout->addWidget(tbName, 0, 1, 1, 1);

        TextLabel2 = new QLabel(DetailSectionDialog);
        TextLabel2->setObjectName(QString::fromUtf8("TextLabel2"));

        gridLayout->addWidget(TextLabel2, 1, 0, 1, 1);

        cbQuery = new QueryComboBox(DetailSectionDialog);
        cbQuery->setObjectName(QString::fromUtf8("cbQuery"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(cbQuery->sizePolicy().hasHeightForWidth());
        cbQuery->setSizePolicy(sizePolicy);

        gridLayout->addWidget(cbQuery, 1, 1, 1, 1);


        vboxLayout->addLayout(gridLayout);

        breakAtEnd = new QCheckBox(DetailSectionDialog);
        breakAtEnd->setObjectName(QString::fromUtf8("breakAtEnd"));

        vboxLayout->addWidget(breakAtEnd);

        GroupBox1 = new QGroupBox(DetailSectionDialog);
        GroupBox1->setObjectName(QString::fromUtf8("GroupBox1"));
        hboxLayout = new QHBoxLayout(GroupBox1);
        hboxLayout->setSpacing(6);
        hboxLayout->setContentsMargins(11, 11, 11, 11);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        hboxLayout->setContentsMargins(11, 11, 11, 11);
        lbGroups = new QListWidget(GroupBox1);
        lbGroups->setObjectName(QString::fromUtf8("lbGroups"));

        hboxLayout->addWidget(lbGroups);

        vboxLayout1 = new QVBoxLayout();
        vboxLayout1->setSpacing(6);
        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
        vboxLayout1->setContentsMargins(0, 0, 0, 0);
        btnAdd = new QPushButton(GroupBox1);
        btnAdd->setObjectName(QString::fromUtf8("btnAdd"));

        vboxLayout1->addWidget(btnAdd);

        btnEdit = new QPushButton(GroupBox1);
        btnEdit->setObjectName(QString::fromUtf8("btnEdit"));

        vboxLayout1->addWidget(btnEdit);

        btnRemove = new QPushButton(GroupBox1);
        btnRemove->setObjectName(QString::fromUtf8("btnRemove"));

        vboxLayout1->addWidget(btnRemove);

        btnMoveUp = new QPushButton(GroupBox1);
        btnMoveUp->setObjectName(QString::fromUtf8("btnMoveUp"));

        vboxLayout1->addWidget(btnMoveUp);

        brnMoveDown = new QPushButton(GroupBox1);
        brnMoveDown->setObjectName(QString::fromUtf8("brnMoveDown"));

        vboxLayout1->addWidget(brnMoveDown);

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

        vboxLayout1->addItem(spacerItem);


        hboxLayout->addLayout(vboxLayout1);


        vboxLayout->addWidget(GroupBox1);

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setSpacing(6);
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        hboxLayout1->setContentsMargins(0, 0, 0, 0);
        spacerItem1 = new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout1->addItem(spacerItem1);

        buttonOk = new QPushButton(DetailSectionDialog);
        buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
        buttonOk->setAutoDefault(true);
        buttonOk->setDefault(true);

        hboxLayout1->addWidget(buttonOk);


        vboxLayout->addLayout(hboxLayout1);

#ifndef QT_NO_SHORTCUT
        TextLabel1->setBuddy(tbName);
        TextLabel2->setBuddy(cbQuery);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(tbName, cbQuery);
        QWidget::setTabOrder(cbQuery, breakAtEnd);
        QWidget::setTabOrder(breakAtEnd, lbGroups);
        QWidget::setTabOrder(lbGroups, btnAdd);
        QWidget::setTabOrder(btnAdd, btnEdit);
        QWidget::setTabOrder(btnEdit, btnRemove);
        QWidget::setTabOrder(btnRemove, btnMoveUp);
        QWidget::setTabOrder(btnMoveUp, brnMoveDown);
        QWidget::setTabOrder(brnMoveDown, buttonOk);

        retranslateUi(DetailSectionDialog);
        QObject::connect(buttonOk, SIGNAL(clicked()), DetailSectionDialog, SLOT(accept()));

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

    void retranslateUi(QDialog *DetailSectionDialog)
    {
        DetailSectionDialog->setWindowTitle(QApplication::translate("DetailSectionDialog", "Detail Section Properties", 0, QApplication::UnicodeUTF8));
        TextLabel1->setText(QApplication::translate("DetailSectionDialog", "Section Name:", 0, QApplication::UnicodeUTF8));
        TextLabel2->setText(QApplication::translate("DetailSectionDialog", "Query Source:", 0, QApplication::UnicodeUTF8));
        breakAtEnd->setText(QApplication::translate("DetailSectionDialog", "Insert Page Break At End of Last Section", 0, QApplication::UnicodeUTF8));
        GroupBox1->setTitle(QApplication::translate("DetailSectionDialog", "Group Sections", 0, QApplication::UnicodeUTF8));
        btnAdd->setText(QApplication::translate("DetailSectionDialog", "&Add", 0, QApplication::UnicodeUTF8));
        btnEdit->setText(QApplication::translate("DetailSectionDialog", "&Edit", 0, QApplication::UnicodeUTF8));
        btnRemove->setText(QApplication::translate("DetailSectionDialog", "Delete", 0, QApplication::UnicodeUTF8));
        btnMoveUp->setText(QApplication::translate("DetailSectionDialog", "Move &Up", 0, QApplication::UnicodeUTF8));
        brnMoveDown->setText(QApplication::translate("DetailSectionDialog", "Move &Down", 0, QApplication::UnicodeUTF8));
        buttonOk->setText(QApplication::translate("DetailSectionDialog", "&Close", 0, QApplication::UnicodeUTF8));
        buttonOk->setShortcut(QApplication::translate("DetailSectionDialog", "Alt+C", 0, QApplication::UnicodeUTF8));
    } // retranslateUi

};

namespace Ui {
    class DetailSectionDialog: public Ui_DetailSectionDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_DETAILSECTIONDIALOG_H
