/********************************************************************************
** Form generated from reading UI file 'WrapUi.ui'
**
** Created by: Qt User Interface Compiler version 4.8.6
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_WRAPUI_H
#define UI_WRAPUI_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QComboBox>
#include <QtGui/QDialog>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QSpinBox>
#include "LengthCombo.h"
#include "qt_i18n.h"

QT_BEGIN_NAMESPACE

class Ui_WrapUi
{
public:
    QGridLayout *gridLayout;
    lyx::frontend::LengthCombo *widthUnitLC;
    QSpacerItem *spacerItem;
    QSpinBox *linesSB;
    QCheckBox *linesCB;
    QLabel *widthLA;
    QLineEdit *widthED;
    QHBoxLayout *hboxLayout;
    QPushButton *restorePB;
    QSpacerItem *spacerItem1;
    QPushButton *okPB;
    QPushButton *applyPB;
    QPushButton *closePB;
    QLabel *valignLA;
    QComboBox *valignCO;
    QCheckBox *overhangCB;
    QLineEdit *overhangED;
    lyx::frontend::LengthCombo *overhangUnitLC;
    QCheckBox *floatCB;

    void setupUi(QDialog *WrapUi)
    {
        if (WrapUi->objectName().isEmpty())
            WrapUi->setObjectName(QString::fromUtf8("WrapUi"));
        WrapUi->resize(359, 167);
        WrapUi->setSizeGripEnabled(true);
        gridLayout = new QGridLayout(WrapUi);
#ifndef Q_OS_MAC
        gridLayout->setSpacing(6);
#endif
#ifndef Q_OS_MAC
        gridLayout->setContentsMargins(9, 9, 9, 9);
#endif
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        widthUnitLC = new lyx::frontend::LengthCombo(WrapUi);
        widthUnitLC->setObjectName(QString::fromUtf8("widthUnitLC"));
        QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(widthUnitLC->sizePolicy().hasHeightForWidth());
        widthUnitLC->setSizePolicy(sizePolicy);
        widthUnitLC->setMinimumSize(QSize(40, 22));
        widthUnitLC->setFocusPolicy(Qt::StrongFocus);

        gridLayout->addWidget(widthUnitLC, 1, 3, 1, 1);

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

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

        linesSB = new QSpinBox(WrapUi);
        linesSB->setObjectName(QString::fromUtf8("linesSB"));
        linesSB->setEnabled(false);

        gridLayout->addWidget(linesSB, 3, 1, 1, 1);

        linesCB = new QCheckBox(WrapUi);
        linesCB->setObjectName(QString::fromUtf8("linesCB"));

        gridLayout->addWidget(linesCB, 3, 0, 1, 1);

        widthLA = new QLabel(WrapUi);
        widthLA->setObjectName(QString::fromUtf8("widthLA"));

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

        widthED = new QLineEdit(WrapUi);
        widthED->setObjectName(QString::fromUtf8("widthED"));
        sizePolicy.setHeightForWidth(widthED->sizePolicy().hasHeightForWidth());
        widthED->setSizePolicy(sizePolicy);

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

        hboxLayout = new QHBoxLayout();
#ifndef Q_OS_MAC
        hboxLayout->setSpacing(6);
#endif
        hboxLayout->setContentsMargins(0, 0, 0, 0);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        restorePB = new QPushButton(WrapUi);
        restorePB->setObjectName(QString::fromUtf8("restorePB"));
        restorePB->setDefault(false);

        hboxLayout->addWidget(restorePB);

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

        hboxLayout->addItem(spacerItem1);

        okPB = new QPushButton(WrapUi);
        okPB->setObjectName(QString::fromUtf8("okPB"));
        okPB->setDefault(false);

        hboxLayout->addWidget(okPB);

        applyPB = new QPushButton(WrapUi);
        applyPB->setObjectName(QString::fromUtf8("applyPB"));
        applyPB->setDefault(false);

        hboxLayout->addWidget(applyPB);

        closePB = new QPushButton(WrapUi);
        closePB->setObjectName(QString::fromUtf8("closePB"));
        closePB->setDefault(true);

        hboxLayout->addWidget(closePB);


        gridLayout->addLayout(hboxLayout, 4, 0, 1, 4);

        valignLA = new QLabel(WrapUi);
        valignLA->setObjectName(QString::fromUtf8("valignLA"));

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

        valignCO = new QComboBox(WrapUi);
        valignCO->setObjectName(QString::fromUtf8("valignCO"));

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

        overhangCB = new QCheckBox(WrapUi);
        overhangCB->setObjectName(QString::fromUtf8("overhangCB"));
        overhangCB->setChecked(false);

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

        overhangED = new QLineEdit(WrapUi);
        overhangED->setObjectName(QString::fromUtf8("overhangED"));
        overhangED->setEnabled(false);
        sizePolicy.setHeightForWidth(overhangED->sizePolicy().hasHeightForWidth());
        overhangED->setSizePolicy(sizePolicy);

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

        overhangUnitLC = new lyx::frontend::LengthCombo(WrapUi);
        overhangUnitLC->setObjectName(QString::fromUtf8("overhangUnitLC"));
        overhangUnitLC->setEnabled(false);
        sizePolicy.setHeightForWidth(overhangUnitLC->sizePolicy().hasHeightForWidth());
        overhangUnitLC->setSizePolicy(sizePolicy);
        overhangUnitLC->setMinimumSize(QSize(0, 0));
        overhangUnitLC->setFocusPolicy(Qt::StrongFocus);

        gridLayout->addWidget(overhangUnitLC, 2, 3, 1, 1);

        floatCB = new QCheckBox(WrapUi);
        floatCB->setObjectName(QString::fromUtf8("floatCB"));

        gridLayout->addWidget(floatCB, 0, 3, 1, 1);

#ifndef QT_NO_SHORTCUT
        widthLA->setBuddy(widthED);
        valignLA->setBuddy(valignCO);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(valignCO, floatCB);
        QWidget::setTabOrder(floatCB, widthED);
        QWidget::setTabOrder(widthED, widthUnitLC);
        QWidget::setTabOrder(widthUnitLC, overhangCB);
        QWidget::setTabOrder(overhangCB, overhangED);
        QWidget::setTabOrder(overhangED, overhangUnitLC);
        QWidget::setTabOrder(overhangUnitLC, linesCB);
        QWidget::setTabOrder(linesCB, linesSB);
        QWidget::setTabOrder(linesSB, okPB);
        QWidget::setTabOrder(okPB, applyPB);
        QWidget::setTabOrder(applyPB, closePB);
        QWidget::setTabOrder(closePB, restorePB);

        retranslateUi(WrapUi);
        QObject::connect(overhangCB, SIGNAL(toggled(bool)), overhangED, SLOT(setEnabled(bool)));
        QObject::connect(overhangCB, SIGNAL(toggled(bool)), overhangUnitLC, SLOT(setEnabled(bool)));
        QObject::connect(linesCB, SIGNAL(toggled(bool)), linesSB, SLOT(setEnabled(bool)));

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

    void retranslateUi(QDialog *WrapUi)
    {
        WrapUi->setWindowTitle(QString());
#ifndef QT_NO_TOOLTIP
        widthUnitLC->setToolTip(lyx::qt_("Unit of width value", 0));
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_TOOLTIP
        linesSB->setToolTip(lyx::qt_("number of needed lines", 0));
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_TOOLTIP
        linesCB->setToolTip(lyx::qt_("use number of lines", 0));
#endif // QT_NO_TOOLTIP
        linesCB->setText(lyx::qt_("&Line span:", 0));
        widthLA->setText(lyx::qt_("&Width:", 0));
#ifndef QT_NO_TOOLTIP
        widthED->setToolTip(lyx::qt_("Width value", 0));
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_TOOLTIP
        restorePB->setToolTip(QString());
#endif // QT_NO_TOOLTIP
        restorePB->setText(lyx::qt_("&Restore", 0));
#ifndef QT_NO_TOOLTIP
        okPB->setToolTip(QString());
#endif // QT_NO_TOOLTIP
        okPB->setText(lyx::qt_("&OK", 0));
#ifndef QT_NO_TOOLTIP
        applyPB->setToolTip(QString());
#endif // QT_NO_TOOLTIP
        applyPB->setText(lyx::qt_("&Apply", 0));
        closePB->setText(lyx::qt_("&Close", 0));
        valignLA->setText(lyx::qt_("&Placement:", 0));
        valignCO->clear();
        valignCO->insertItems(0, QStringList()
         << lyx::qt_("Outer (default)", 0)
         << lyx::qt_("Inner", 0)
         << lyx::qt_("Left", 0)
         << lyx::qt_("Right", 0)
        );
#ifndef QT_NO_TOOLTIP
        valignCO->setToolTip(lyx::qt_("Vertical alignment", 0));
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_TOOLTIP
        overhangCB->setToolTip(lyx::qt_("use overhang", 0));
#endif // QT_NO_TOOLTIP
        overhangCB->setText(lyx::qt_("Over&hang:", 0));
#ifndef QT_NO_TOOLTIP
        overhangED->setToolTip(lyx::qt_("Overhang value", 0));
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_TOOLTIP
        overhangUnitLC->setToolTip(lyx::qt_("Unit of overhang value", 0));
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_TOOLTIP
        floatCB->setToolTip(lyx::qt_("Check this to allow flexible placement", 0));
#endif // QT_NO_TOOLTIP
        floatCB->setText(lyx::qt_("Allow &floating", 0));
    } // retranslateUi

};

namespace Ui {
    class WrapUi: public Ui_WrapUi {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_WRAPUI_H
