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

/********************************************************************************
** Form generated from reading UI file 'KWRunAroundProperties.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_KWRUNAROUNDPROPERTIES_H
#define UI_KWRUNAROUNDPROPERTIES_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QRadioButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "KoUnitDoubleSpinBox.h"

QT_BEGIN_NAMESPACE

class Ui_KWRunAroundProperties
{
public:
    QVBoxLayout *verticalLayout_3;
    QGroupBox *groupBox_3;
    QVBoxLayout *verticalLayout;
    QRadioButton *runThrough;
    QRadioButton *noRunaround;
    QRadioButton *left;
    QRadioButton *right;
    QRadioButton *longest;
    QRadioButton *both;
    QHBoxLayout *horizontalLayout;
    QRadioButton *enough;
    KoUnitDoubleSpinBox *threshold;
    QSpacerItem *spacer;
    QGroupBox *groupBox;
    QVBoxLayout *verticalLayout_2;
    QRadioButton *box;
    QRadioButton *outside;
    QGroupBox *groupBox_2;
    QGridLayout *gridLayout;
    QLabel *label_5;
    KoUnitDoubleSpinBox *distanceLeft;
    QSpacerItem *spacerItem;
    QLabel *label_6;
    KoUnitDoubleSpinBox *distanceTop;
    QSpacerItem *spacerItem1;
    QLabel *label_8;
    KoUnitDoubleSpinBox *distanceBottom;
    QSpacerItem *spacerItem2;
    QLabel *label_7;
    KoUnitDoubleSpinBox *distanceRight;
    QSpacerItem *spacerItem3;
    QSpacerItem *spacerItem4;

    void setupUi(QWidget *KWRunAroundProperties)
    {
        if (KWRunAroundProperties->objectName().isEmpty())
            KWRunAroundProperties->setObjectName(QString::fromUtf8("KWRunAroundProperties"));
        KWRunAroundProperties->resize(339, 456);
        verticalLayout_3 = new QVBoxLayout(KWRunAroundProperties);
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
        groupBox_3 = new QGroupBox(KWRunAroundProperties);
        groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
        groupBox_3->setFlat(true);
        verticalLayout = new QVBoxLayout(groupBox_3);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        runThrough = new QRadioButton(groupBox_3);
        runThrough->setObjectName(QString::fromUtf8("runThrough"));

        verticalLayout->addWidget(runThrough);

        noRunaround = new QRadioButton(groupBox_3);
        noRunaround->setObjectName(QString::fromUtf8("noRunaround"));

        verticalLayout->addWidget(noRunaround);

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

        verticalLayout->addWidget(left);

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

        verticalLayout->addWidget(right);

        longest = new QRadioButton(groupBox_3);
        longest->setObjectName(QString::fromUtf8("longest"));

        verticalLayout->addWidget(longest);

        both = new QRadioButton(groupBox_3);
        both->setObjectName(QString::fromUtf8("both"));

        verticalLayout->addWidget(both);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        horizontalLayout->setContentsMargins(0, -1, -1, -1);
        enough = new QRadioButton(groupBox_3);
        enough->setObjectName(QString::fromUtf8("enough"));

        horizontalLayout->addWidget(enough);

        threshold = new KoUnitDoubleSpinBox(groupBox_3);
        threshold->setObjectName(QString::fromUtf8("threshold"));
        threshold->setEnabled(false);

        horizontalLayout->addWidget(threshold);

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

        horizontalLayout->addItem(spacer);


        verticalLayout->addLayout(horizontalLayout);


        verticalLayout_3->addWidget(groupBox_3);

        groupBox = new QGroupBox(KWRunAroundProperties);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        groupBox->setFlat(true);
        verticalLayout_2 = new QVBoxLayout(groupBox);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        box = new QRadioButton(groupBox);
        box->setObjectName(QString::fromUtf8("box"));

        verticalLayout_2->addWidget(box);

        outside = new QRadioButton(groupBox);
        outside->setObjectName(QString::fromUtf8("outside"));

        verticalLayout_2->addWidget(outside);


        verticalLayout_3->addWidget(groupBox);

        groupBox_2 = new QGroupBox(KWRunAroundProperties);
        groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
        groupBox_2->setFlat(true);
        gridLayout = new QGridLayout(groupBox_2);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        label_5 = new QLabel(groupBox_2);
        label_5->setObjectName(QString::fromUtf8("label_5"));
        label_5->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        distanceLeft = new KoUnitDoubleSpinBox(groupBox_2);
        distanceLeft->setObjectName(QString::fromUtf8("distanceLeft"));

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

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

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

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

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

        distanceTop = new KoUnitDoubleSpinBox(groupBox_2);
        distanceTop->setObjectName(QString::fromUtf8("distanceTop"));

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

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

        gridLayout->addItem(spacerItem1, 2, 2, 1, 1);

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

        gridLayout->addWidget(label_8, 4, 0, 1, 1);

        distanceBottom = new KoUnitDoubleSpinBox(groupBox_2);
        distanceBottom->setObjectName(QString::fromUtf8("distanceBottom"));

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

        spacerItem2 = new QSpacerItem(180, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout->addItem(spacerItem2, 4, 2, 1, 1);

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

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

        distanceRight = new KoUnitDoubleSpinBox(groupBox_2);
        distanceRight->setObjectName(QString::fromUtf8("distanceRight"));

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

        spacerItem3 = new QSpacerItem(180, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout->addItem(spacerItem3, 1, 2, 1, 1);


        verticalLayout_3->addWidget(groupBox_2);

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

        verticalLayout_3->addItem(spacerItem4);

#ifndef UI_QT_NO_SHORTCUT
        label_5->setBuddy(distanceLeft);
        label_6->setBuddy(distanceLeft);
        label_8->setBuddy(distanceLeft);
        label_7->setBuddy(distanceLeft);
#endif // QT_NO_SHORTCUT

        retranslateUi(KWRunAroundProperties);

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

    void retranslateUi(QWidget *KWRunAroundProperties)
    {
        groupBox_3->setTitle(tr2i18n("Text elsewhere will:", 0));
        runThrough->setText(tr2i18n("Run through this shape", 0));
        noRunaround->setText(tr2i18n("Skip below this shape", 0));
        left->setText(tr2i18n("Run on left side of this shape", 0));
        right->setText(tr2i18n("Run on right side of this shape", 0));
        longest->setText(tr2i18n("Run on longest side of this shape", 0));
        both->setText(tr2i18n("Run on both sides of this shape", 0));
        enough->setText(tr2i18n("Run on sides that are wider than:", 0));
        groupBox->setTitle(tr2i18n("The shape affects the text by its:", 0));
        box->setText(tr2i18n("Bounding box", 0));
        outside->setText(tr2i18n("Contour", 0));
        groupBox_2->setTitle(tr2i18n("Shape and text is separated:", 0));
        label_5->setText(tr2i18n("Left by:", 0));
        label_6->setText(tr2i18n("Above by:", 0));
        label_8->setText(tr2i18n("Below by:", 0));
        label_7->setText(tr2i18n("Right by:", 0));
        Q_UNUSED(KWRunAroundProperties);
    } // retranslateUi

};

namespace Ui {
    class KWRunAroundProperties: public Ui_KWRunAroundProperties {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KWRUNAROUNDPROPERTIES_H

