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

/********************************************************************************
** Form generated from reading UI file 'CharacterGeneral.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_CHARACTERGENERAL_H
#define UI_CHARACTERGENERAL_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QGridLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QSpacerItem>
#include <QtGui/QTabWidget>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "dialogs/FormattingPreview.h"
#include "dialogs/StylesCombo.h"

QT_BEGIN_NAMESPACE

class Ui_CharacterGeneral
{
public:
    QVBoxLayout *verticalLayout;
    QTabWidget *tabs;
    QWidget *generalTab;
    QGridLayout *gridLayout;
    QLabel *label;
    QLineEdit *name;
    QLabel *label_2;
    StylesCombo *nextStyle;
    QLabel *label_3;
    StylesCombo *inheritStyle;
    QCheckBox *inToc;
    QSpacerItem *verticalSpacer;
    FormattingPreview *preview;

    void setupUi(QWidget *CharacterGeneral)
    {
        if (CharacterGeneral->objectName().isEmpty())
            CharacterGeneral->setObjectName(QString::fromUtf8("CharacterGeneral"));
        CharacterGeneral->resize(512, 363);
        verticalLayout = new QVBoxLayout(CharacterGeneral);
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        tabs = new QTabWidget(CharacterGeneral);
        tabs->setObjectName(QString::fromUtf8("tabs"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy.setHorizontalStretch(99);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(tabs->sizePolicy().hasHeightForWidth());
        tabs->setSizePolicy(sizePolicy);
        generalTab = new QWidget();
        generalTab->setObjectName(QString::fromUtf8("generalTab"));
        gridLayout = new QGridLayout(generalTab);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        label = new QLabel(generalTab);
        label->setObjectName(QString::fromUtf8("label"));
        label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        name = new QLineEdit(generalTab);
        name->setObjectName(QString::fromUtf8("name"));

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

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

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

        nextStyle = new StylesCombo(generalTab);
        nextStyle->setObjectName(QString::fromUtf8("nextStyle"));

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

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

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

        inheritStyle = new StylesCombo(generalTab);
        inheritStyle->setObjectName(QString::fromUtf8("inheritStyle"));

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

        inToc = new QCheckBox(generalTab);
        inToc->setObjectName(QString::fromUtf8("inToc"));

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

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

        gridLayout->addItem(verticalSpacer, 4, 0, 1, 1);

        tabs->addTab(generalTab, QString());

        verticalLayout->addWidget(tabs);

        preview = new FormattingPreview(CharacterGeneral);
        preview->setObjectName(QString::fromUtf8("preview"));
        preview->setMinimumSize(QSize(500, 100));
        preview->setFrameShape(QFrame::StyledPanel);
        preview->setFrameShadow(QFrame::Raised);

        verticalLayout->addWidget(preview);

#ifndef UI_QT_NO_SHORTCUT
        label_2->setBuddy(nextStyle);
        label_3->setBuddy(inheritStyle);
#endif // QT_NO_SHORTCUT

        retranslateUi(CharacterGeneral);

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

    void retranslateUi(QWidget *CharacterGeneral)
    {
        label->setText(tr2i18n("Name:", "Name of the style"));
        label_2->setText(tr2i18n("Next style:", 0));
        label_3->setText(tr2i18n("Parent style:", 0));
        inToc->setText(tr2i18n("Include in table of contents", 0));
        tabs->setTabText(tabs->indexOf(generalTab), tr2i18n("General", 0));
        Q_UNUSED(CharacterGeneral);
    } // retranslateUi

};

namespace Ui {
    class CharacterGeneral: public Ui_CharacterGeneral {};
} // namespace Ui

QT_END_NAMESPACE

#endif // CHARACTERGENERAL_H

