#include <klocalizedstring.h>

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

#ifndef UI_AUTOLAYOUTOPTIONPAGE_H
#define UI_AUTOLAYOUTOPTIONPAGE_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kurlrequester.h"

QT_BEGIN_NAMESPACE

class Ui_AutoLayoutOptionPage
{
public:
    QVBoxLayout *vboxLayout;
    QGroupBox *groupBox;
    QGridLayout *gridLayout;
    QCheckBox *m_autoDotPath;
    QLabel *label;
    KUrlRequester *m_dotPath;
    QSpacerItem *verticalSpacer_2;
    QGroupBox *Other;
    QGridLayout *gridLayout_2;
    QCheckBox *m_showExportLayout;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *AutoLayoutOptionPage)
    {
        if (AutoLayoutOptionPage->objectName().isEmpty())
            AutoLayoutOptionPage->setObjectName(QStringLiteral("AutoLayoutOptionPage"));
        AutoLayoutOptionPage->resize(539, 270);
        vboxLayout = new QVBoxLayout(AutoLayoutOptionPage);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        groupBox = new QGroupBox(AutoLayoutOptionPage);
        groupBox->setObjectName(QStringLiteral("groupBox"));
        gridLayout = new QGridLayout(groupBox);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        m_autoDotPath = new QCheckBox(groupBox);
        m_autoDotPath->setObjectName(QStringLiteral("m_autoDotPath"));
        m_autoDotPath->setChecked(true);

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

        label = new QLabel(groupBox);
        label->setObjectName(QStringLiteral("label"));

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

        m_dotPath = new KUrlRequester(groupBox);
        m_dotPath->setObjectName(QStringLiteral("m_dotPath"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(1);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(m_dotPath->sizePolicy().hasHeightForWidth());
        m_dotPath->setSizePolicy(sizePolicy);
        m_dotPath->setSizeIncrement(QSize(10, 0));
        m_dotPath->setMode(KFile::Directory|KFile::ExistingOnly);

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

        verticalSpacer_2 = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Fixed);

        gridLayout->addItem(verticalSpacer_2, 1, 0, 1, 1);


        vboxLayout->addWidget(groupBox);

        Other = new QGroupBox(AutoLayoutOptionPage);
        Other->setObjectName(QStringLiteral("Other"));
        gridLayout_2 = new QGridLayout(Other);
        gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
        m_showExportLayout = new QCheckBox(Other);
        m_showExportLayout->setObjectName(QStringLiteral("m_showExportLayout"));

        gridLayout_2->addWidget(m_showExportLayout, 1, 0, 1, 1);


        vboxLayout->addWidget(Other);

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

        vboxLayout->addItem(verticalSpacer);


        retranslateUi(AutoLayoutOptionPage);
        QObject::connect(m_autoDotPath, SIGNAL(toggled(bool)), m_dotPath, SLOT(setDisabled(bool)));

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

    void retranslateUi(QWidget *AutoLayoutOptionPage)
    {
        groupBox->setTitle(tr2i18n("Layout Generator", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        m_autoDotPath->setToolTip(tr2i18n("<p>The auto layout feature depends on layout generators provided by the GraphViz package, which is normally installed aside Umbrello by a package manager.</p>\n"
"<p>Umbrello has build in support for detecting the install location of  these layout generators. For cases where this dependency is not available or do not fit, a different installation path could be provided.</p>", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        m_autoDotPath->setText(tr2i18n("Auto detect layout generator", Q_NULLPTR));
        label->setText(tr2i18n("Generator executable path:", Q_NULLPTR));
        Other->setTitle(tr2i18n("Miscellaneous", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        m_showExportLayout->setToolTip(tr2i18n("<p>Dot file export is performed by using the export layout.</p><p>With this option checked, the export layout is added to the list of available diagram layouts and enables a quick dot export preview.</p>", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        m_showExportLayout->setText(tr2i18n("Show export layout in diagram context menu", Q_NULLPTR));
        Q_UNUSED(AutoLayoutOptionPage);
    } // retranslateUi

};

namespace Ui {
    class AutoLayoutOptionPage: public Ui_AutoLayoutOptionPage {};
} // namespace Ui

QT_END_NAMESPACE

#endif // AUTOLAYOUTOPTIONPAGE_H

