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

/*
This file is part of the KDE project
Copyright (C) 2006 The KSpread Team <calligra-devel@kde.org>

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 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 Library General Public License for more details.

You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB.  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 'SheetSelectWidget.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_SHEETSELECTWIDGET_H
#define UI_SHEETSELECTWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QGridLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QListWidget>
#include <QtGui/QRadioButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QWidget>
#include <kdialog.h>
#include "kpushbutton.h"

QT_BEGIN_NAMESPACE

class Ui_SheetSelectWidget
{
public:
    QGridLayout *gridLayout;
    QRadioButton *allSheetsButton;
    QRadioButton *activeSheetButton;
    QRadioButton *selectedSheetsButton;
    QListWidget *ListViewAvailable;
    QSpacerItem *verticalSpacer;
    QListWidget *ListViewSelected;
    QSpacerItem *verticalSpacer_3;
    KPushButton *ButtonSelectAll;
    KPushButton *ButtonMoveTop;
    KPushButton *ButtonSelect;
    KPushButton *ButtonMoveUp;
    KPushButton *ButtonRemove;
    KPushButton *ButtonMoveDown;
    KPushButton *ButtonRemoveAll;
    KPushButton *ButtonMoveBottom;
    QSpacerItem *verticalSpacer_2;
    QSpacerItem *verticalSpacer_4;

    void setupUi(QWidget *SheetSelectWidget)
    {
        if (SheetSelectWidget->objectName().isEmpty())
            SheetSelectWidget->setObjectName(QString::fromUtf8("SheetSelectWidget"));
        SheetSelectWidget->resize(384, 251);
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(SheetSelectWidget->sizePolicy().hasHeightForWidth());
        SheetSelectWidget->setSizePolicy(sizePolicy);
        gridLayout = new QGridLayout(SheetSelectWidget);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        allSheetsButton = new QRadioButton(SheetSelectWidget);
        allSheetsButton->setObjectName(QString::fromUtf8("allSheetsButton"));

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

        activeSheetButton = new QRadioButton(SheetSelectWidget);
        activeSheetButton->setObjectName(QString::fromUtf8("activeSheetButton"));
        activeSheetButton->setChecked(true);

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

        selectedSheetsButton = new QRadioButton(SheetSelectWidget);
        selectedSheetsButton->setObjectName(QString::fromUtf8("selectedSheetsButton"));

        gridLayout->addWidget(selectedSheetsButton, 2, 0, 1, 1);

        ListViewAvailable = new QListWidget(SheetSelectWidget);
        ListViewAvailable->setObjectName(QString::fromUtf8("ListViewAvailable"));
        ListViewAvailable->setEnabled(false);
        ListViewAvailable->setDragEnabled(true);

        gridLayout->addWidget(ListViewAvailable, 3, 0, 6, 1);

        verticalSpacer = new QSpacerItem(20, 9, QSizePolicy::Minimum, QSizePolicy::Expanding);

        gridLayout->addItem(verticalSpacer, 3, 1, 1, 1);

        ListViewSelected = new QListWidget(SheetSelectWidget);
        ListViewSelected->setObjectName(QString::fromUtf8("ListViewSelected"));
        ListViewSelected->setEnabled(false);
        ListViewSelected->setAcceptDrops(true);
        ListViewSelected->setDragEnabled(true);

        gridLayout->addWidget(ListViewSelected, 3, 2, 6, 1);

        verticalSpacer_3 = new QSpacerItem(20, 9, QSizePolicy::Minimum, QSizePolicy::Expanding);

        gridLayout->addItem(verticalSpacer_3, 3, 3, 1, 1);

        ButtonSelectAll = new KPushButton(SheetSelectWidget);
        ButtonSelectAll->setObjectName(QString::fromUtf8("ButtonSelectAll"));
        ButtonSelectAll->setEnabled(false);

        gridLayout->addWidget(ButtonSelectAll, 4, 1, 1, 1);

        ButtonMoveTop = new KPushButton(SheetSelectWidget);
        ButtonMoveTop->setObjectName(QString::fromUtf8("ButtonMoveTop"));
        ButtonMoveTop->setEnabled(false);

        gridLayout->addWidget(ButtonMoveTop, 4, 3, 1, 1);

        ButtonSelect = new KPushButton(SheetSelectWidget);
        ButtonSelect->setObjectName(QString::fromUtf8("ButtonSelect"));
        ButtonSelect->setEnabled(false);

        gridLayout->addWidget(ButtonSelect, 5, 1, 1, 1);

        ButtonMoveUp = new KPushButton(SheetSelectWidget);
        ButtonMoveUp->setObjectName(QString::fromUtf8("ButtonMoveUp"));
        ButtonMoveUp->setEnabled(false);

        gridLayout->addWidget(ButtonMoveUp, 5, 3, 1, 1);

        ButtonRemove = new KPushButton(SheetSelectWidget);
        ButtonRemove->setObjectName(QString::fromUtf8("ButtonRemove"));
        ButtonRemove->setEnabled(false);

        gridLayout->addWidget(ButtonRemove, 6, 1, 1, 1);

        ButtonMoveDown = new KPushButton(SheetSelectWidget);
        ButtonMoveDown->setObjectName(QString::fromUtf8("ButtonMoveDown"));
        ButtonMoveDown->setEnabled(false);

        gridLayout->addWidget(ButtonMoveDown, 6, 3, 1, 1);

        ButtonRemoveAll = new KPushButton(SheetSelectWidget);
        ButtonRemoveAll->setObjectName(QString::fromUtf8("ButtonRemoveAll"));
        ButtonRemoveAll->setEnabled(false);

        gridLayout->addWidget(ButtonRemoveAll, 7, 1, 1, 1);

        ButtonMoveBottom = new KPushButton(SheetSelectWidget);
        ButtonMoveBottom->setObjectName(QString::fromUtf8("ButtonMoveBottom"));
        ButtonMoveBottom->setEnabled(false);

        gridLayout->addWidget(ButtonMoveBottom, 7, 3, 1, 1);

        verticalSpacer_2 = new QSpacerItem(20, 13, QSizePolicy::Minimum, QSizePolicy::Expanding);

        gridLayout->addItem(verticalSpacer_2, 8, 1, 1, 1);

        verticalSpacer_4 = new QSpacerItem(20, 13, QSizePolicy::Minimum, QSizePolicy::Expanding);

        gridLayout->addItem(verticalSpacer_4, 8, 3, 1, 1);

        QWidget::setTabOrder(ListViewAvailable, ButtonSelectAll);
        QWidget::setTabOrder(ButtonSelectAll, ButtonSelect);
        QWidget::setTabOrder(ButtonSelect, ButtonRemove);
        QWidget::setTabOrder(ButtonRemove, ButtonRemoveAll);
        QWidget::setTabOrder(ButtonRemoveAll, ListViewSelected);
        QWidget::setTabOrder(ListViewSelected, ButtonMoveTop);
        QWidget::setTabOrder(ButtonMoveTop, ButtonMoveUp);
        QWidget::setTabOrder(ButtonMoveUp, ButtonMoveDown);
        QWidget::setTabOrder(ButtonMoveDown, ButtonMoveBottom);

        retranslateUi(SheetSelectWidget);

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

    void retranslateUi(QWidget *SheetSelectWidget)
    {
        allSheetsButton->setText(tr2i18n("All Sheets", 0));
        activeSheetButton->setText(tr2i18n("Active Sheet", 0));
        selectedSheetsButton->setText(tr2i18n("Selected Sheets:", 0));
#ifndef UI_QT_NO_TOOLTIP
        ListViewAvailable->setToolTip(tr2i18n("Available sheets", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        ListViewAvailable->setWhatsThis(tr2i18n("<b>List of all available sheets.</b><br>\n"
"To print a sheet you have to select one or more sheets in this list and use the buttons to insert the selected sheet(s) in the right-hand list, which lists all sheets that are printed.<br>\n"
"You can insert a sheet as often as you like, this way it will be printed multiple times. This is useful for dividers or title pages, for example.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_TOOLTIP
        ListViewSelected->setToolTip(tr2i18n("List of sheets to print in given order", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        ListViewSelected->setWhatsThis(tr2i18n("<b>List of sheets to print.</b><br>\n"
"Only the sheets listed here will be printed in the order of listing. You can change the print order with the up and down buttons.<br>\n"
"It is even possible to print a sheet more than once. Just insert the desired sheet again and order the list to your needs.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_TOOLTIP
        ButtonSelectAll->setToolTip(tr2i18n("Select all sheets", 0));
#endif // QT_NO_TOOLTIP
        ButtonSelectAll->setText(QString());
#ifndef UI_QT_NO_TOOLTIP
        ButtonMoveTop->setToolTip(tr2i18n("Move selected sheet to the top", 0));
#endif // QT_NO_TOOLTIP
        ButtonMoveTop->setText(QString());
#ifndef UI_QT_NO_TOOLTIP
        ButtonSelect->setToolTip(tr2i18n("Select sheets", 0));
#endif // QT_NO_TOOLTIP
        ButtonSelect->setText(QString());
#ifndef UI_QT_NO_TOOLTIP
        ButtonMoveUp->setToolTip(tr2i18n("Move selected sheet up", 0));
#endif // QT_NO_TOOLTIP
        ButtonMoveUp->setText(QString());
#ifndef UI_QT_NO_TOOLTIP
        ButtonRemove->setToolTip(tr2i18n("Remove sheets", 0));
#endif // QT_NO_TOOLTIP
        ButtonRemove->setText(QString());
#ifndef UI_QT_NO_TOOLTIP
        ButtonMoveDown->setToolTip(tr2i18n("Move selected sheet down", 0));
#endif // QT_NO_TOOLTIP
        ButtonMoveDown->setText(QString());
#ifndef UI_QT_NO_TOOLTIP
        ButtonRemoveAll->setToolTip(tr2i18n("Clear Selection", 0));
#endif // QT_NO_TOOLTIP
        ButtonRemoveAll->setText(QString());
#ifndef UI_QT_NO_TOOLTIP
        ButtonMoveBottom->setToolTip(tr2i18n("Move selected sheet to the bottom", 0));
#endif // QT_NO_TOOLTIP
        ButtonMoveBottom->setText(QString());
        Q_UNUSED(SheetSelectWidget);
    } // retranslateUi

};

namespace Ui {
    class SheetSelectWidget: public Ui_SheetSelectWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SHEETSELECTWIDGET_H

