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

/********************************************************************************
** Form generated from reading UI file 'BibliographyConfigureDialog.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_BIBLIOGRAPHYCONFIGUREDIALOG_H
#define UI_BIBLIOGRAPHYCONFIGUREDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QComboBox>
#include <QtGui/QDialog>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>

QT_BEGIN_NAMESPACE

class Ui_BibliographyConfigureDialog
{
public:
    QVBoxLayout *verticalLayout_2;
    QGroupBox *groupBox;
    QGridLayout *gridLayout_2;
    QHBoxLayout *horizontalLayout;
    QLabel *prefixLabel;
    QLineEdit *prefix;
    QLabel *suffixLabel;
    QLineEdit *suffix;
    QCheckBox *numberedEntries;
    QGroupBox *groupBox_2;
    QVBoxLayout *verticalLayout_3;
    QCheckBox *sortByPosition;
    QGroupBox *sortKeyGroupBox;
    QVBoxLayout *verticalLayout;
    QHBoxLayout *horizontalLayout_3;
    QPushButton *addSortKeyButton;
    QSpacerItem *horizontalSpacer;
    QHBoxLayout *horizontalLayout_2;
    QLabel *sortAlgorithmLabel;
    QComboBox *sortAlgorithm;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *BibliographyConfigureDialog)
    {
        if (BibliographyConfigureDialog->objectName().isEmpty())
            BibliographyConfigureDialog->setObjectName(QString::fromUtf8("BibliographyConfigureDialog"));
        BibliographyConfigureDialog->resize(455, 340);
        verticalLayout_2 = new QVBoxLayout(BibliographyConfigureDialog);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        groupBox = new QGroupBox(BibliographyConfigureDialog);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        gridLayout_2 = new QGridLayout(groupBox);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        prefixLabel = new QLabel(groupBox);
        prefixLabel->setObjectName(QString::fromUtf8("prefixLabel"));

        horizontalLayout->addWidget(prefixLabel);

        prefix = new QLineEdit(groupBox);
        prefix->setObjectName(QString::fromUtf8("prefix"));
        QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(prefix->sizePolicy().hasHeightForWidth());
        prefix->setSizePolicy(sizePolicy);

        horizontalLayout->addWidget(prefix);

        suffixLabel = new QLabel(groupBox);
        suffixLabel->setObjectName(QString::fromUtf8("suffixLabel"));

        horizontalLayout->addWidget(suffixLabel);

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

        horizontalLayout->addWidget(suffix);


        gridLayout_2->addLayout(horizontalLayout, 0, 0, 1, 1);

        numberedEntries = new QCheckBox(groupBox);
        numberedEntries->setObjectName(QString::fromUtf8("numberedEntries"));

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


        verticalLayout_2->addWidget(groupBox);

        groupBox_2 = new QGroupBox(BibliographyConfigureDialog);
        groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
        verticalLayout_3 = new QVBoxLayout(groupBox_2);
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
        sortByPosition = new QCheckBox(groupBox_2);
        sortByPosition->setObjectName(QString::fromUtf8("sortByPosition"));

        verticalLayout_3->addWidget(sortByPosition);

        sortKeyGroupBox = new QGroupBox(groupBox_2);
        sortKeyGroupBox->setObjectName(QString::fromUtf8("sortKeyGroupBox"));
        verticalLayout = new QVBoxLayout(sortKeyGroupBox);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));

        verticalLayout_3->addWidget(sortKeyGroupBox);

        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
        addSortKeyButton = new QPushButton(groupBox_2);
        addSortKeyButton->setObjectName(QString::fromUtf8("addSortKeyButton"));

        horizontalLayout_3->addWidget(addSortKeyButton);

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

        horizontalLayout_3->addItem(horizontalSpacer);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        sortAlgorithmLabel = new QLabel(groupBox_2);
        sortAlgorithmLabel->setObjectName(QString::fromUtf8("sortAlgorithmLabel"));
        QFont font;
        font.setBold(true);
        font.setWeight(75);
        sortAlgorithmLabel->setFont(font);

        horizontalLayout_2->addWidget(sortAlgorithmLabel);

        sortAlgorithm = new QComboBox(groupBox_2);
        sortAlgorithm->setObjectName(QString::fromUtf8("sortAlgorithm"));

        horizontalLayout_2->addWidget(sortAlgorithm);


        horizontalLayout_3->addLayout(horizontalLayout_2);


        verticalLayout_3->addLayout(horizontalLayout_3);


        verticalLayout_2->addWidget(groupBox_2);

        buttonBox = new QDialogButtonBox(BibliographyConfigureDialog);
        buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Apply|QDialogButtonBox::Discard);

        verticalLayout_2->addWidget(buttonBox);

        QWidget::setTabOrder(prefix, suffix);
        QWidget::setTabOrder(suffix, numberedEntries);
        QWidget::setTabOrder(numberedEntries, sortByPosition);
        QWidget::setTabOrder(sortByPosition, sortAlgorithm);
        QWidget::setTabOrder(sortAlgorithm, buttonBox);

        retranslateUi(BibliographyConfigureDialog);
        QObject::connect(buttonBox, SIGNAL(accepted()), BibliographyConfigureDialog, SLOT(accept()));
        QObject::connect(buttonBox, SIGNAL(rejected()), BibliographyConfigureDialog, SLOT(reject()));
        QObject::connect(sortByPosition, SIGNAL(clicked(bool)), sortKeyGroupBox, SLOT(setDisabled(bool)));

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

    void retranslateUi(QDialog *BibliographyConfigureDialog)
    {
        BibliographyConfigureDialog->setWindowTitle(tr2i18n("Configure bibliography", 0));
        groupBox->setTitle(tr2i18n("Formatting of bibliography entries", 0));
        prefixLabel->setText(tr2i18n("Prefix:", 0));
        prefix->setText(QString());
        suffixLabel->setText(tr2i18n("Suffix:", 0));
        suffix->setText(QString());
        numberedEntries->setText(tr2i18n("Number entries", 0));
        groupBox_2->setTitle(tr2i18n("Sort", 0));
        sortByPosition->setText(tr2i18n("Sort by position", 0));
        sortKeyGroupBox->setTitle(tr2i18n("Sort keys", 0));
        addSortKeyButton->setText(tr2i18n("Add sort key", 0));
        sortAlgorithmLabel->setText(tr2i18n("Sort algorithm:", 0));
        sortAlgorithm->clear();
        sortAlgorithm->insertItems(0, QStringList()
         << tr2i18n("Alphanumeric", 0)
        );
    } // retranslateUi

};

namespace Ui {
    class BibliographyConfigureDialog: public Ui_BibliographyConfigureDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // BIBLIOGRAPHYCONFIGUREDIALOG_H

