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

/********************************************************************************
** Form generated from reading UI file 'bordersappearanceconfigwidget.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_BORDERSAPPEARANCECONFIGWIDGET_H
#define UI_BORDERSAPPEARANCECONFIGWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QComboBox>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QRadioButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "knuminput.h"

QT_BEGIN_NAMESPACE

class Ui_BordersAppearanceConfigWidget
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *gbBorders;
    QVBoxLayout *vboxLayout;
    QCheckBox *chkShowFoldingMarkers;
    QCheckBox *chkIconBorder;
    QCheckBox *chkLineNumbers;
    QCheckBox *chkShowLineModification;
    QCheckBox *chkScrollbarMarks;
    QCheckBox *chkScrollbarMiniMap;
    QWidget *miniMapConfigs;
    QGridLayout *gridLayout;
    QCheckBox *chkScrollbarMiniMapAll;
    KIntSpinBox *spBoxMiniMapWidth;
    QLabel *labelMiniMapWidth;
    QSpacerItem *horizontalSpacer;
    QSpacerItem *horizontalSpacer_2;
    QHBoxLayout *horizontalLayout;
    QLabel *lblShowScrollbars;
    QComboBox *cmbShowScrollbars;
    QGroupBox *gbSortBookmarks;
    QVBoxLayout *verticalLayout_2;
    QRadioButton *rbSortBookmarksByCreation;
    QRadioButton *rbSortBookmarksByPosition;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *BordersAppearanceConfigWidget)
    {
        if (BordersAppearanceConfigWidget->objectName().isEmpty())
            BordersAppearanceConfigWidget->setObjectName(QString::fromUtf8("BordersAppearanceConfigWidget"));
        verticalLayout = new QVBoxLayout(BordersAppearanceConfigWidget);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        gbBorders = new QGroupBox(BordersAppearanceConfigWidget);
        gbBorders->setObjectName(QString::fromUtf8("gbBorders"));
        vboxLayout = new QVBoxLayout(gbBorders);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        chkShowFoldingMarkers = new QCheckBox(gbBorders);
        chkShowFoldingMarkers->setObjectName(QString::fromUtf8("chkShowFoldingMarkers"));

        vboxLayout->addWidget(chkShowFoldingMarkers);

        chkIconBorder = new QCheckBox(gbBorders);
        chkIconBorder->setObjectName(QString::fromUtf8("chkIconBorder"));

        vboxLayout->addWidget(chkIconBorder);

        chkLineNumbers = new QCheckBox(gbBorders);
        chkLineNumbers->setObjectName(QString::fromUtf8("chkLineNumbers"));

        vboxLayout->addWidget(chkLineNumbers);

        chkShowLineModification = new QCheckBox(gbBorders);
        chkShowLineModification->setObjectName(QString::fromUtf8("chkShowLineModification"));

        vboxLayout->addWidget(chkShowLineModification);

        chkScrollbarMarks = new QCheckBox(gbBorders);
        chkScrollbarMarks->setObjectName(QString::fromUtf8("chkScrollbarMarks"));

        vboxLayout->addWidget(chkScrollbarMarks);

        chkScrollbarMiniMap = new QCheckBox(gbBorders);
        chkScrollbarMiniMap->setObjectName(QString::fromUtf8("chkScrollbarMiniMap"));

        vboxLayout->addWidget(chkScrollbarMiniMap);

        miniMapConfigs = new QWidget(gbBorders);
        miniMapConfigs->setObjectName(QString::fromUtf8("miniMapConfigs"));
        miniMapConfigs->setEnabled(false);
        gridLayout = new QGridLayout(miniMapConfigs);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        chkScrollbarMiniMapAll = new QCheckBox(miniMapConfigs);
        chkScrollbarMiniMapAll->setObjectName(QString::fromUtf8("chkScrollbarMiniMapAll"));
        chkScrollbarMiniMapAll->setEnabled(false);
        chkScrollbarMiniMapAll->setChecked(true);

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

        spBoxMiniMapWidth = new KIntSpinBox(miniMapConfigs);
        spBoxMiniMapWidth->setObjectName(QString::fromUtf8("spBoxMiniMapWidth"));
        spBoxMiniMapWidth->setMinimum(40);
        spBoxMiniMapWidth->setMaximum(100);
        spBoxMiniMapWidth->setSingleStep(5);
        spBoxMiniMapWidth->setValue(60);

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

        labelMiniMapWidth = new QLabel(miniMapConfigs);
        labelMiniMapWidth->setObjectName(QString::fromUtf8("labelMiniMapWidth"));

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

        horizontalSpacer = new QSpacerItem(16, 16, QSizePolicy::Fixed, QSizePolicy::Minimum);

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

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

        gridLayout->addItem(horizontalSpacer_2, 1, 3, 1, 1);


        vboxLayout->addWidget(miniMapConfigs);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        lblShowScrollbars = new QLabel(gbBorders);
        lblShowScrollbars->setObjectName(QString::fromUtf8("lblShowScrollbars"));

        horizontalLayout->addWidget(lblShowScrollbars);

        cmbShowScrollbars = new QComboBox(gbBorders);
        cmbShowScrollbars->setObjectName(QString::fromUtf8("cmbShowScrollbars"));

        horizontalLayout->addWidget(cmbShowScrollbars);


        vboxLayout->addLayout(horizontalLayout);


        verticalLayout->addWidget(gbBorders);

        gbSortBookmarks = new QGroupBox(BordersAppearanceConfigWidget);
        gbSortBookmarks->setObjectName(QString::fromUtf8("gbSortBookmarks"));
        verticalLayout_2 = new QVBoxLayout(gbSortBookmarks);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        rbSortBookmarksByCreation = new QRadioButton(gbSortBookmarks);
        rbSortBookmarksByCreation->setObjectName(QString::fromUtf8("rbSortBookmarksByCreation"));

        verticalLayout_2->addWidget(rbSortBookmarksByCreation);

        rbSortBookmarksByPosition = new QRadioButton(gbSortBookmarks);
        rbSortBookmarksByPosition->setObjectName(QString::fromUtf8("rbSortBookmarksByPosition"));

        verticalLayout_2->addWidget(rbSortBookmarksByPosition);


        verticalLayout->addWidget(gbSortBookmarks);

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

        verticalLayout->addItem(verticalSpacer);

#ifndef UI_QT_NO_SHORTCUT
        labelMiniMapWidth->setBuddy(spBoxMiniMapWidth);
        lblShowScrollbars->setBuddy(cmbShowScrollbars);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(chkShowFoldingMarkers, chkIconBorder);
        QWidget::setTabOrder(chkIconBorder, chkLineNumbers);
        QWidget::setTabOrder(chkLineNumbers, chkShowLineModification);
        QWidget::setTabOrder(chkShowLineModification, chkScrollbarMarks);
        QWidget::setTabOrder(chkScrollbarMarks, chkScrollbarMiniMap);
        QWidget::setTabOrder(chkScrollbarMiniMap, chkScrollbarMiniMapAll);
        QWidget::setTabOrder(chkScrollbarMiniMapAll, spBoxMiniMapWidth);
        QWidget::setTabOrder(spBoxMiniMapWidth, cmbShowScrollbars);
        QWidget::setTabOrder(cmbShowScrollbars, rbSortBookmarksByCreation);
        QWidget::setTabOrder(rbSortBookmarksByCreation, rbSortBookmarksByPosition);

        retranslateUi(BordersAppearanceConfigWidget);
        QObject::connect(chkScrollbarMiniMap, SIGNAL(toggled(bool)), miniMapConfigs, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *BordersAppearanceConfigWidget)
    {
        gbBorders->setTitle(tr2i18n("Borders", 0));
#ifndef UI_QT_NO_WHATSTHIS
        chkShowFoldingMarkers->setWhatsThis(tr2i18n("If this option is checked, every new view will display marks for folding.", 0));
#endif // QT_NO_WHATSTHIS
        chkShowFoldingMarkers->setText(tr2i18n("Show &folding markers", 0));
#ifndef UI_QT_NO_WHATSTHIS
        chkIconBorder->setWhatsThis(tr2i18n("<p>If this option is checked, every new view will display an icon border on the left hand side.</p><p>The icon border shows bookmark signs, for instance.</p>", 0));
#endif // QT_NO_WHATSTHIS
        chkIconBorder->setText(tr2i18n("Show &icon border", 0));
#ifndef UI_QT_NO_WHATSTHIS
        chkLineNumbers->setWhatsThis(tr2i18n("If this option is checked, every new view will display line numbers on the left hand side.", 0));
#endif // QT_NO_WHATSTHIS
        chkLineNumbers->setText(tr2i18n("Show &line numbers", 0));
#ifndef UI_QT_NO_WHATSTHIS
        chkShowLineModification->setWhatsThis(tr2i18n("If this option is checked, a small indicator for modified and saved lines is shown on the left hand side.", 0));
#endif // QT_NO_WHATSTHIS
        chkShowLineModification->setText(tr2i18n("Show line modification markers", 0));
#ifndef UI_QT_NO_WHATSTHIS
        chkScrollbarMarks->setWhatsThis(tr2i18n("<p>If this option is checked, every new view will show marks on the vertical scrollbar.</p><p>These marks will show bookmarks, for instance.</p>", 0));
#endif // QT_NO_WHATSTHIS
        chkScrollbarMarks->setText(tr2i18n("Show &scrollbar marks", 0));
#ifndef UI_QT_NO_WHATSTHIS
        chkScrollbarMiniMap->setWhatsThis(tr2i18n("If this option is checked, every new view will show a mini map on the vertical scrollbar.", 0));
#endif // QT_NO_WHATSTHIS
        chkScrollbarMiniMap->setText(tr2i18n("Show scrollbar mini-map", 0));
#ifndef UI_QT_NO_WHATSTHIS
        chkScrollbarMiniMapAll->setWhatsThis(tr2i18n("If this option is checked, every new view will show a mini map of the whole document on the vertical scrollbar.", 0));
#endif // QT_NO_WHATSTHIS
        chkScrollbarMiniMapAll->setText(tr2i18n("Map the whole document", 0));
        labelMiniMapWidth->setText(tr2i18n("Minimap Width", 0));
        lblShowScrollbars->setText(tr2i18n("Scrollbars visibility:", 0));
        cmbShowScrollbars->clear();
        cmbShowScrollbars->insertItems(0, QStringList()
         << tr2i18n("Always On", 0)
         << tr2i18n("Show When Needed", 0)
         << tr2i18n("Always Off", 0)
        );
#ifndef UI_QT_NO_WHATSTHIS
        gbSortBookmarks->setWhatsThis(tr2i18n("Choose how the bookmarks should be ordered in the <b>Bookmarks</b> menu.", 0));
#endif // QT_NO_WHATSTHIS
        gbSortBookmarks->setTitle(tr2i18n("Sort Bookmarks Menu", 0));
#ifndef UI_QT_NO_WHATSTHIS
        rbSortBookmarksByCreation->setWhatsThis(tr2i18n("Each new bookmark will be added to the bottom, independently from where it is placed in the document.", 0));
#endif // QT_NO_WHATSTHIS
        rbSortBookmarksByCreation->setText(tr2i18n("By c&reation", 0));
#ifndef UI_QT_NO_WHATSTHIS
        rbSortBookmarksByPosition->setWhatsThis(tr2i18n("The bookmarks will be ordered by the line numbers they are placed at.", 0));
#endif // QT_NO_WHATSTHIS
        rbSortBookmarksByPosition->setText(tr2i18n("By &position", 0));
        Q_UNUSED(BordersAppearanceConfigWidget);
    } // retranslateUi

};

namespace Ui {
    class BordersAppearanceConfigWidget: public Ui_BordersAppearanceConfigWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // BORDERSAPPEARANCECONFIGWIDGET_H

