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

/********************************************************************************
** Form generated from reading UI file 'ParagraphIndentSpacing.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_PARAGRAPHINDENTSPACING_H
#define UI_PARAGRAPHINDENTSPACING_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QComboBox>
#include <QtGui/QFormLayout>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QSpinBox>
#include <QtGui/QStackedWidget>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "KoUnitDoubleSpinBox.h"

QT_BEGIN_NAMESPACE

class Ui_ParagraphIndentSpacing
{
public:
    QGridLayout *gridLayout;
    QGroupBox *groupBox;
    QGridLayout *gridLayout1;
    QLabel *label;
    KoUnitDoubleSpinBox *left;
    QSpacerItem *spacerItem;
    QLabel *label1;
    KoUnitDoubleSpinBox *right;
    QLabel *label2;
    KoUnitDoubleSpinBox *first;
    QCheckBox *autoTextIndent;
    QGroupBox *groupBox1;
    QVBoxLayout *vboxLayout;
    QHBoxLayout *hboxLayout;
    QComboBox *lineSpacing;
    QStackedWidget *spacingStack;
    QWidget *unitsPage;
    QHBoxLayout *hboxLayout1;
    KoUnitDoubleSpinBox *custom;
    QWidget *percentPage;
    QHBoxLayout *hboxLayout2;
    QSpinBox *proportional;
    QSpacerItem *spacerItem1;
    QFormLayout *formLayout;
    QLabel *label3;
    QCheckBox *useFont;
    QGroupBox *groupBox2;
    QFormLayout *formLayout1;
    QLabel *label4;
    KoUnitDoubleSpinBox *before;
    QLabel *label5;
    KoUnitDoubleSpinBox *after;
    QSpacerItem *spacerItem2;

    void setupUi(QWidget *ParagraphIndentSpacing)
    {
        if (ParagraphIndentSpacing->objectName().isEmpty())
            ParagraphIndentSpacing->setObjectName(QString::fromUtf8("ParagraphIndentSpacing"));
        ParagraphIndentSpacing->resize(449, 412);
        gridLayout = new QGridLayout(ParagraphIndentSpacing);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        groupBox = new QGroupBox(ParagraphIndentSpacing);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        gridLayout1 = new QGridLayout(groupBox);
        gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
        label = new QLabel(groupBox);
        label->setObjectName(QString::fromUtf8("label"));
        label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        left = new KoUnitDoubleSpinBox(groupBox);
        left->setObjectName(QString::fromUtf8("left"));

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

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

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

        label1 = new QLabel(groupBox);
        label1->setObjectName(QString::fromUtf8("label1"));
        label1->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        right = new KoUnitDoubleSpinBox(groupBox);
        right->setObjectName(QString::fromUtf8("right"));

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

        label2 = new QLabel(groupBox);
        label2->setObjectName(QString::fromUtf8("label2"));
        label2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout1->addWidget(label2, 2, 0, 1, 1);

        first = new KoUnitDoubleSpinBox(groupBox);
        first->setObjectName(QString::fromUtf8("first"));

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

        autoTextIndent = new QCheckBox(groupBox);
        autoTextIndent->setObjectName(QString::fromUtf8("autoTextIndent"));

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

        gridLayout1->setColumnStretch(2, 1);

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

        groupBox1 = new QGroupBox(ParagraphIndentSpacing);
        groupBox1->setObjectName(QString::fromUtf8("groupBox1"));
        vboxLayout = new QVBoxLayout(groupBox1);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        hboxLayout = new QHBoxLayout();
#ifndef UI_Q_OS_MAC
        hboxLayout->setContentsMargins(0, 0, 0, 0);
#endif
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        lineSpacing = new QComboBox(groupBox1);
        lineSpacing->setObjectName(QString::fromUtf8("lineSpacing"));

        hboxLayout->addWidget(lineSpacing);

        spacingStack = new QStackedWidget(groupBox1);
        spacingStack->setObjectName(QString::fromUtf8("spacingStack"));
        unitsPage = new QWidget();
        unitsPage->setObjectName(QString::fromUtf8("unitsPage"));
        hboxLayout1 = new QHBoxLayout(unitsPage);
        hboxLayout1->setContentsMargins(0, 0, 0, 0);
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        custom = new KoUnitDoubleSpinBox(unitsPage);
        custom->setObjectName(QString::fromUtf8("custom"));

        hboxLayout1->addWidget(custom);

        spacingStack->addWidget(unitsPage);
        percentPage = new QWidget();
        percentPage->setObjectName(QString::fromUtf8("percentPage"));
        hboxLayout2 = new QHBoxLayout(percentPage);
        hboxLayout2->setContentsMargins(0, 0, 0, 0);
        hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
        proportional = new QSpinBox(percentPage);
        proportional->setObjectName(QString::fromUtf8("proportional"));
        proportional->setMinimum(85);
        proportional->setMaximum(999);
        proportional->setSingleStep(5);
        proportional->setValue(100);

        hboxLayout2->addWidget(proportional);

        spacingStack->addWidget(percentPage);

        hboxLayout->addWidget(spacingStack);

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

        hboxLayout->addItem(spacerItem1);

        hboxLayout->setStretch(2, 1);

        vboxLayout->addLayout(hboxLayout);

        formLayout = new QFormLayout();
        formLayout->setContentsMargins(0, 0, 0, 0);
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
        label3 = new QLabel(groupBox1);
        label3->setObjectName(QString::fromUtf8("label3"));

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

        useFont = new QCheckBox(groupBox1);
        useFont->setObjectName(QString::fromUtf8("useFont"));

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


        vboxLayout->addLayout(formLayout);


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

        groupBox2 = new QGroupBox(ParagraphIndentSpacing);
        groupBox2->setObjectName(QString::fromUtf8("groupBox2"));
        formLayout1 = new QFormLayout(groupBox2);
        formLayout1->setObjectName(QString::fromUtf8("formLayout1"));
        label4 = new QLabel(groupBox2);
        label4->setObjectName(QString::fromUtf8("label4"));

        formLayout1->setWidget(0, QFormLayout::LabelRole, label4);

        before = new KoUnitDoubleSpinBox(groupBox2);
        before->setObjectName(QString::fromUtf8("before"));

        formLayout1->setWidget(0, QFormLayout::FieldRole, before);

        label5 = new QLabel(groupBox2);
        label5->setObjectName(QString::fromUtf8("label5"));

        formLayout1->setWidget(1, QFormLayout::LabelRole, label5);

        after = new KoUnitDoubleSpinBox(groupBox2);
        after->setObjectName(QString::fromUtf8("after"));

        formLayout1->setWidget(1, QFormLayout::FieldRole, after);


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

        spacerItem2 = new QSpacerItem(313, 16, QSizePolicy::Minimum, QSizePolicy::Expanding);

        gridLayout->addItem(spacerItem2, 3, 0, 1, 1);

#ifndef UI_QT_NO_SHORTCUT
        label->setBuddy(left);
        label1->setBuddy(right);
        label2->setBuddy(first);
        label3->setBuddy(useFont);
        label4->setBuddy(before);
        label5->setBuddy(after);
#endif // QT_NO_SHORTCUT

        retranslateUi(ParagraphIndentSpacing);

        spacingStack->setCurrentIndex(0);


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

    void retranslateUi(QWidget *ParagraphIndentSpacing)
    {
#ifndef UI_QT_NO_WHATSTHIS
        ParagraphIndentSpacing->setWhatsThis(tr2i18n("<p><ul><li><b>Single</b>: The normal linespacing</li></ul></p> ", 0));
#endif // QT_NO_WHATSTHIS
        groupBox->setTitle(tr2i18n("Indent", 0));
        label->setText(tr2i18n("Left:", 0));
        label1->setText(tr2i18n("Right:", 0));
        label2->setText(tr2i18n("First Line:", 0));
        autoTextIndent->setText(tr2i18n("Auto-infer from text size", 0));
#ifndef UI_QT_NO_WHATSTHIS
        groupBox1->setWhatsThis(tr2i18n("<p><ul><li><b>Single</b>: The normal linespacing</li></ul></p> ", 0));
#endif // QT_NO_WHATSTHIS
        groupBox1->setTitle(tr2i18n("Line Spacing", 0));
        proportional->setSuffix(tr2i18n(" %", 0));
        label3->setText(tr2i18n("Use Font Metrics:", 0));
        useFont->setText(QString());
        groupBox2->setTitle(tr2i18n("Paragraph Space", 0));
        label4->setText(tr2i18n("Before:", 0));
        label5->setText(tr2i18n("After:", 0));
    } // retranslateUi

};

namespace Ui {
    class ParagraphIndentSpacing: public Ui_ParagraphIndentSpacing {};
} // namespace Ui

QT_END_NAMESPACE

#endif // PARAGRAPHINDENTSPACING_H

