#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 'PositionWidget.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_POSITIONWIDGET_H
#define UI_POSITIONWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QRadioButton>
#include <QtGui/QSlider>
#include <QtGui/QSpacerItem>
#include <QtGui/QSpinBox>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include <kdialog.h>

QT_BEGIN_NAMESPACE

class Ui_PositionWidget
{
public:
    QGridLayout *gridLayout;
    QGroupBox *horizontalGroup;
    QGridLayout *gridLayout1;
    QRadioButton *standard;
    QRadioButton *left;
    QRadioButton *center;
    QRadioButton *right;
    QGroupBox *buttonGroup2;
    QVBoxLayout *vboxLayout;
    QRadioButton *top;
    QRadioButton *middle;
    QRadioButton *bottom;
    QGroupBox *groupBox4;
    QHBoxLayout *hboxLayout;
    QSlider *angleRotation;
    QSpinBox *spinBox3;
    QGroupBox *indentGroup;
    QGroupBox *groupBox5;
    QHBoxLayout *hboxLayout1;
    QCheckBox *mergeCell;
    QGroupBox *sizeCellGroup;
    QGridLayout *gridLayout2;
    QGridLayout *gridLayout3;
    QCheckBox *defaultHeight;
    QSpacerItem *spacerItem;
    QLabel *textLabel3;
    QFrame *m_heightPanel;
    QGridLayout *gridLayout4;
    QCheckBox *defaultWidth;
    QSpacerItem *spacerItem1;
    QFrame *m_widthPanel;
    QLabel *textLabel2;
    QGroupBox *groupBox3;
    QVBoxLayout *vboxLayout1;
    QCheckBox *multi;
    QCheckBox *vertical;
    QCheckBox *shrinkToFit;

    void setupUi(QWidget *PositionWidget)
    {
        if (PositionWidget->objectName().isEmpty())
            PositionWidget->setObjectName(QString::fromUtf8("PositionWidget"));
        PositionWidget->resize(783, 761);
        gridLayout = new QGridLayout(PositionWidget);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        horizontalGroup = new QGroupBox(PositionWidget);
        horizontalGroup->setObjectName(QString::fromUtf8("horizontalGroup"));
        QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(horizontalGroup->sizePolicy().hasHeightForWidth());
        horizontalGroup->setSizePolicy(sizePolicy);
        gridLayout1 = new QGridLayout(horizontalGroup);
        gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
        standard = new QRadioButton(horizontalGroup);
        standard->setObjectName(QString::fromUtf8("standard"));

        gridLayout1->addWidget(standard, 1, 0, 1, 1);

        left = new QRadioButton(horizontalGroup);
        left->setObjectName(QString::fromUtf8("left"));

        gridLayout1->addWidget(left, 0, 1, 1, 1);

        center = new QRadioButton(horizontalGroup);
        center->setObjectName(QString::fromUtf8("center"));

        gridLayout1->addWidget(center, 1, 1, 1, 1);

        right = new QRadioButton(horizontalGroup);
        right->setObjectName(QString::fromUtf8("right"));

        gridLayout1->addWidget(right, 2, 1, 1, 1);


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

        buttonGroup2 = new QGroupBox(PositionWidget);
        buttonGroup2->setObjectName(QString::fromUtf8("buttonGroup2"));
        vboxLayout = new QVBoxLayout(buttonGroup2);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        top = new QRadioButton(buttonGroup2);
        top->setObjectName(QString::fromUtf8("top"));

        vboxLayout->addWidget(top);

        middle = new QRadioButton(buttonGroup2);
        middle->setObjectName(QString::fromUtf8("middle"));

        vboxLayout->addWidget(middle);

        bottom = new QRadioButton(buttonGroup2);
        bottom->setObjectName(QString::fromUtf8("bottom"));

        vboxLayout->addWidget(bottom);


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

        groupBox4 = new QGroupBox(PositionWidget);
        groupBox4->setObjectName(QString::fromUtf8("groupBox4"));
        hboxLayout = new QHBoxLayout(groupBox4);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        angleRotation = new QSlider(groupBox4);
        angleRotation->setObjectName(QString::fromUtf8("angleRotation"));
        angleRotation->setMinimum(-90);
        angleRotation->setMaximum(90);
        angleRotation->setOrientation(Qt::Horizontal);
        angleRotation->setTickInterval(15);

        hboxLayout->addWidget(angleRotation);

        spinBox3 = new QSpinBox(groupBox4);
        spinBox3->setObjectName(QString::fromUtf8("spinBox3"));
        spinBox3->setMinimum(-90);
        spinBox3->setMaximum(90);
        spinBox3->setSingleStep(1);

        hboxLayout->addWidget(spinBox3);


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

        indentGroup = new QGroupBox(PositionWidget);
        indentGroup->setObjectName(QString::fromUtf8("indentGroup"));

        gridLayout->addWidget(indentGroup, 2, 1, 1, 1);

        groupBox5 = new QGroupBox(PositionWidget);
        groupBox5->setObjectName(QString::fromUtf8("groupBox5"));
        hboxLayout1 = new QHBoxLayout(groupBox5);
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        mergeCell = new QCheckBox(groupBox5);
        mergeCell->setObjectName(QString::fromUtf8("mergeCell"));

        hboxLayout1->addWidget(mergeCell);


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

        sizeCellGroup = new QGroupBox(PositionWidget);
        sizeCellGroup->setObjectName(QString::fromUtf8("sizeCellGroup"));
        gridLayout2 = new QGridLayout(sizeCellGroup);
        gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
        gridLayout3 = new QGridLayout();
        gridLayout3->setObjectName(QString::fromUtf8("gridLayout3"));
        defaultHeight = new QCheckBox(sizeCellGroup);
        defaultHeight->setObjectName(QString::fromUtf8("defaultHeight"));

        gridLayout3->addWidget(defaultHeight, 1, 0, 1, 3);

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

        gridLayout3->addItem(spacerItem, 0, 2, 1, 1);

        textLabel3 = new QLabel(sizeCellGroup);
        textLabel3->setObjectName(QString::fromUtf8("textLabel3"));

        gridLayout3->addWidget(textLabel3, 0, 0, 1, 1);

        m_heightPanel = new QFrame(sizeCellGroup);
        m_heightPanel->setObjectName(QString::fromUtf8("m_heightPanel"));
        m_heightPanel->setFrameShape(QFrame::NoFrame);
        m_heightPanel->setFrameShadow(QFrame::Plain);

        gridLayout3->addWidget(m_heightPanel, 0, 1, 1, 1);


        gridLayout2->addLayout(gridLayout3, 0, 1, 1, 1);

        gridLayout4 = new QGridLayout();
        gridLayout4->setObjectName(QString::fromUtf8("gridLayout4"));
        defaultWidth = new QCheckBox(sizeCellGroup);
        defaultWidth->setObjectName(QString::fromUtf8("defaultWidth"));

        gridLayout4->addWidget(defaultWidth, 1, 0, 1, 3);

        spacerItem1 = new QSpacerItem(16, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout4->addItem(spacerItem1, 0, 2, 1, 1);

        m_widthPanel = new QFrame(sizeCellGroup);
        m_widthPanel->setObjectName(QString::fromUtf8("m_widthPanel"));
        m_widthPanel->setFrameShape(QFrame::NoFrame);
        m_widthPanel->setFrameShadow(QFrame::Plain);
        m_widthPanel->setLineWidth(1);

        gridLayout4->addWidget(m_widthPanel, 0, 1, 1, 1);

        textLabel2 = new QLabel(sizeCellGroup);
        textLabel2->setObjectName(QString::fromUtf8("textLabel2"));

        gridLayout4->addWidget(textLabel2, 0, 0, 1, 1);


        gridLayout2->addLayout(gridLayout4, 0, 0, 1, 1);


        gridLayout->addWidget(sizeCellGroup, 3, 0, 1, 2);

        groupBox3 = new QGroupBox(PositionWidget);
        groupBox3->setObjectName(QString::fromUtf8("groupBox3"));
        vboxLayout1 = new QVBoxLayout(groupBox3);
        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
        multi = new QCheckBox(groupBox3);
        multi->setObjectName(QString::fromUtf8("multi"));

        vboxLayout1->addWidget(multi);

        vertical = new QCheckBox(groupBox3);
        vertical->setObjectName(QString::fromUtf8("vertical"));

        vboxLayout1->addWidget(vertical);

        shrinkToFit = new QCheckBox(groupBox3);
        shrinkToFit->setObjectName(QString::fromUtf8("shrinkToFit"));

        vboxLayout1->addWidget(shrinkToFit);


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

        QWidget::setTabOrder(standard, left);
        QWidget::setTabOrder(left, center);
        QWidget::setTabOrder(center, right);
        QWidget::setTabOrder(right, top);
        QWidget::setTabOrder(top, middle);
        QWidget::setTabOrder(middle, bottom);
        QWidget::setTabOrder(bottom, multi);
        QWidget::setTabOrder(multi, angleRotation);
        QWidget::setTabOrder(angleRotation, spinBox3);
        QWidget::setTabOrder(spinBox3, mergeCell);
        QWidget::setTabOrder(mergeCell, defaultWidth);
        QWidget::setTabOrder(defaultWidth, defaultHeight);

        retranslateUi(PositionWidget);

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

    void retranslateUi(QWidget *PositionWidget)
    {
#ifndef UI_QT_NO_WHATSTHIS
        horizontalGroup->setWhatsThis(tr2i18n("<qt>Set the content position horizontally in the cell.\n"
"<b>Standard</b> is default and is set from the format you choose.\n"
"<b>Left</b> means the content will be displayed on the left of the cell.\n"
"<b>Center</b> means the content will be in the center horizontally in the cell.\n"
"<b>Right</b> means the content of the cell will be displayed on the right of the cell.</qt>", 0));
#endif // QT_NO_WHATSTHIS
        horizontalGroup->setTitle(tr2i18n("Horizontal", 0));
        standard->setText(tr2i18n("Standard", 0));
        left->setText(tr2i18n("Left", 0));
        center->setText(tr2i18n("Center", 0));
        right->setText(tr2i18n("Right", 0));
#ifndef UI_QT_NO_WHATSTHIS
        buttonGroup2->setWhatsThis(tr2i18n("<qt>Set the content position vertically in the cell.\n"
"<b>Top</b> means the content will be displayed on top of the cell.\n"
"<b>Middle</b> means the content will be in the middle vertically in the cell.\n"
"<b>Bottom</b> means the content of the cell will be displayed at the bottom of the cell.</qt>", 0));
#endif // QT_NO_WHATSTHIS
        buttonGroup2->setTitle(tr2i18n("Vertical", 0));
        top->setText(tr2i18n("Top", 0));
        middle->setText(tr2i18n("Middle", 0));
        bottom->setText(tr2i18n("Bottom", 0));
#ifndef UI_QT_NO_WHATSTHIS
        groupBox4->setWhatsThis(tr2i18n("Your text will appear oriented in the angle you set here. Positive values will move it counter-clockwise and negative values will move it clockwise.", 0));
#endif // QT_NO_WHATSTHIS
        groupBox4->setTitle(tr2i18n("Rotation", 0));
        spinBox3->setSuffix(tr2i18n("\302\260", 0));
#ifndef UI_QT_NO_WHATSTHIS
        indentGroup->setWhatsThis(tr2i18n("Set the amount of indent that will be used in the cell when you choose the Increase Indent or Decrease Indent actions.", 0));
#endif // QT_NO_WHATSTHIS
        indentGroup->setTitle(tr2i18n("Indent", 0));
#ifndef UI_QT_NO_WHATSTHIS
        groupBox5->setWhatsThis(tr2i18n("When checked, this has the same effect as Format ->Merge Cells. You need to have at least two consecutive cells selected. Those consecutive cells are then merged into a bigger one.\n"
"When a merged cell is selected and when you uncheck this, then all cells come back to their original size as before the merging. It has the same effect as Format -> Dissociate Cells.", 0));
#endif // QT_NO_WHATSTHIS
        groupBox5->setTitle(tr2i18n("Merge Cells", 0));
        mergeCell->setText(tr2i18n("Merge cells", 0));
#ifndef UI_QT_NO_WHATSTHIS
        sizeCellGroup->setWhatsThis(tr2i18n("The unit used here is the one set in Format -> Page Layout.. dialog.", 0));
#endif // QT_NO_WHATSTHIS
        sizeCellGroup->setTitle(tr2i18n("Size of Cell", 0));
#ifndef UI_QT_NO_WHATSTHIS
        defaultHeight->setWhatsThis(tr2i18n("If checked, the default height will be used for the cell instead of the value above.", 0));
#endif // QT_NO_WHATSTHIS
        defaultHeight->setText(tr2i18n("Default height (%1)", 0));
        textLabel3->setText(tr2i18n("Height:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_heightPanel->setWhatsThis(tr2i18n("Set the height of the cell.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        defaultWidth->setWhatsThis(tr2i18n("If checked, the default width will be used for the cell instead of the value above.", 0));
#endif // QT_NO_WHATSTHIS
        defaultWidth->setText(tr2i18n("Default width (%1)", 0));
        textLabel2->setText(tr2i18n("Width:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        groupBox3->setWhatsThis(tr2i18n("This is only available when the rotation is 0\302\260.\n"
"Wrap text wraps the text so it fits in the previous cell size. If this is not checked, the text will stay on one line and the cell size will be adjusted to contain the text.\n"
"Vertical text puts your text vertically.", 0));
#endif // QT_NO_WHATSTHIS
        groupBox3->setTitle(tr2i18n("Text Option", 0));
        multi->setText(tr2i18n("Wrap text", 0));
        vertical->setText(tr2i18n("Vertical text", 0));
        shrinkToFit->setText(tr2i18n("Shrink to fit", 0));
        Q_UNUSED(PositionWidget);
    } // retranslateUi

};

namespace Ui {
    class PositionWidget: public Ui_PositionWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // POSITIONWIDGET_H

