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

#ifndef UI_VSPACEUI_H
#define UI_VSPACEUI_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QWidget>
#include "LengthCombo.h"
#include "qt_i18n.h"

QT_BEGIN_NAMESPACE

class Ui_VSpaceUi
{
public:
    QGridLayout *gridLayout;
    QLabel *spacingL;
    QCheckBox *keepCB;
    QLabel *keepL;
    lyx::frontend::LengthCombo *unitCO;
    QLineEdit *valueLE;
    QLabel *valueL;
    QComboBox *spacingCO;

    void setupUi(QWidget *VSpaceUi)
    {
        if (VSpaceUi->objectName().isEmpty())
            VSpaceUi->setObjectName("VSpaceUi");
        VSpaceUi->resize(288, 118);
        VSpaceUi->setProperty("sizeGripEnabled", QVariant(true));
        gridLayout = new QGridLayout(VSpaceUi);
        gridLayout->setObjectName("gridLayout");
        spacingL = new QLabel(VSpaceUi);
        spacingL->setObjectName("spacingL");

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

        keepCB = new QCheckBox(VSpaceUi);
        keepCB->setObjectName("keepCB");

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

        keepL = new QLabel(VSpaceUi);
        keepL->setObjectName("keepL");

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

        unitCO = new lyx::frontend::LengthCombo(VSpaceUi);
        unitCO->setObjectName("unitCO");
        unitCO->setInputMethodHints(Qt::ImhFormattedNumbersOnly|Qt::ImhLatinOnly);

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

        valueLE = new QLineEdit(VSpaceUi);
        valueLE->setObjectName("valueLE");
        valueLE->setEnabled(false);
        valueLE->setInputMethodHints(Qt::ImhFormattedNumbersOnly);

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

        valueL = new QLabel(VSpaceUi);
        valueL->setObjectName("valueL");

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

        spacingCO = new QComboBox(VSpaceUi);
        spacingCO->addItem(QString());
        spacingCO->addItem(QString());
        spacingCO->addItem(QString());
        spacingCO->addItem(QString());
        spacingCO->addItem(QString());
        spacingCO->addItem(QString());
        spacingCO->addItem(QString());
        spacingCO->addItem(QString());
        spacingCO->setObjectName("spacingCO");

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

#if QT_CONFIG(shortcut)
        spacingL->setBuddy(spacingCO);
        keepL->setBuddy(keepCB);
        valueL->setBuddy(valueLE);
#endif // QT_CONFIG(shortcut)
        QWidget::setTabOrder(spacingCO, valueLE);
        QWidget::setTabOrder(valueLE, unitCO);
        QWidget::setTabOrder(unitCO, keepCB);

        retranslateUi(VSpaceUi);

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

    void retranslateUi(QWidget *VSpaceUi)
    {
        VSpaceUi->setWindowTitle(QString());
        spacingL->setText(lyx::qt_("&Spacing:", nullptr));
#if QT_CONFIG(tooltip)
        keepCB->setToolTip(lyx::qt_("Insert the spacing even after a page break", nullptr));
#endif // QT_CONFIG(tooltip)
        keepCB->setText(QString());
#if QT_CONFIG(tooltip)
        keepL->setToolTip(QString());
#endif // QT_CONFIG(tooltip)
        keepL->setText(lyx::qt_("&Protect:", nullptr));
#if QT_CONFIG(tooltip)
        valueLE->setToolTip(lyx::qt_("Custom value. Needs spacing type \"Custom\".", nullptr));
#endif // QT_CONFIG(tooltip)
        valueL->setText(lyx::qt_("&Value:", nullptr));
        spacingCO->setItemText(0, lyx::qt_("Default skip", nullptr));
        spacingCO->setItemText(1, lyx::qt_("Small skip", nullptr));
        spacingCO->setItemText(2, lyx::qt_("Medium skip", nullptr));
        spacingCO->setItemText(3, lyx::qt_("Big skip", nullptr));
        spacingCO->setItemText(4, lyx::qt_("Half line height", nullptr));
        spacingCO->setItemText(5, lyx::qt_("Line height", nullptr));
        spacingCO->setItemText(6, lyx::qt_("Vertical fill", nullptr));
        spacingCO->setItemText(7, lyx::qt_("Custom", nullptr));

#if QT_CONFIG(tooltip)
        spacingCO->setToolTip(lyx::qt_("Supported spacing types", nullptr));
#endif // QT_CONFIG(tooltip)
    } // retranslateUi

};

namespace Ui {
    class VSpaceUi: public Ui_VSpaceUi {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_VSPACEUI_H
