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

/********************************************************************************
** Form generated from reading UI file 'HistorySizeWidget.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_HISTORYSIZEWIDGET_H
#define UI_HISTORYSIZEWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QRadioButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kmessagewidget.h"
#include "knuminput.h"

QT_BEGIN_NAMESPACE

class Ui_HistorySizeWidget
{
public:
    QVBoxLayout *verticalLayout;
    QRadioButton *noHistoryButton;
    QHBoxLayout *hboxLayout;
    QRadioButton *fixedSizeHistoryButton;
    KIntSpinBox *historyLineSpinner;
    QSpacerItem *spacerItem;
    QRadioButton *unlimitedHistoryButton;
    KMessageWidget *unlimitedWarningWidget;

    void setupUi(QWidget *HistorySizeWidget)
    {
        if (HistorySizeWidget->objectName().isEmpty())
            HistorySizeWidget->setObjectName(QString::fromUtf8("HistorySizeWidget"));
        HistorySizeWidget->resize(400, 143);
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(HistorySizeWidget->sizePolicy().hasHeightForWidth());
        HistorySizeWidget->setSizePolicy(sizePolicy);
        verticalLayout = new QVBoxLayout(HistorySizeWidget);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        noHistoryButton = new QRadioButton(HistorySizeWidget);
        noHistoryButton->setObjectName(QString::fromUtf8("noHistoryButton"));
        sizePolicy.setHeightForWidth(noHistoryButton->sizePolicy().hasHeightForWidth());
        noHistoryButton->setSizePolicy(sizePolicy);

        verticalLayout->addWidget(noHistoryButton);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        hboxLayout->setSizeConstraint(QLayout::SetFixedSize);
        fixedSizeHistoryButton = new QRadioButton(HistorySizeWidget);
        fixedSizeHistoryButton->setObjectName(QString::fromUtf8("fixedSizeHistoryButton"));
        sizePolicy.setHeightForWidth(fixedSizeHistoryButton->sizePolicy().hasHeightForWidth());
        fixedSizeHistoryButton->setSizePolicy(sizePolicy);

        hboxLayout->addWidget(fixedSizeHistoryButton);

        historyLineSpinner = new KIntSpinBox(HistorySizeWidget);
        historyLineSpinner->setObjectName(QString::fromUtf8("historyLineSpinner"));
        historyLineSpinner->setMinimum(1);
        historyLineSpinner->setMaximum(100000);

        hboxLayout->addWidget(historyLineSpinner);

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

        hboxLayout->addItem(spacerItem);


        verticalLayout->addLayout(hboxLayout);

        unlimitedHistoryButton = new QRadioButton(HistorySizeWidget);
        unlimitedHistoryButton->setObjectName(QString::fromUtf8("unlimitedHistoryButton"));
        sizePolicy.setHeightForWidth(unlimitedHistoryButton->sizePolicy().hasHeightForWidth());
        unlimitedHistoryButton->setSizePolicy(sizePolicy);

        verticalLayout->addWidget(unlimitedHistoryButton);

        unlimitedWarningWidget = new KMessageWidget(HistorySizeWidget);
        unlimitedWarningWidget->setObjectName(QString::fromUtf8("unlimitedWarningWidget"));
        sizePolicy.setHeightForWidth(unlimitedWarningWidget->sizePolicy().hasHeightForWidth());
        unlimitedWarningWidget->setSizePolicy(sizePolicy);

        verticalLayout->addWidget(unlimitedWarningWidget);


        retranslateUi(HistorySizeWidget);
        QObject::connect(fixedSizeHistoryButton, SIGNAL(toggled(bool)), historyLineSpinner, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *HistorySizeWidget)
    {
#ifndef UI_QT_NO_TOOLTIP
        noHistoryButton->setToolTip(tr2i18n("Do not remember previous output", 0));
#endif // QT_NO_TOOLTIP
        noHistoryButton->setText(tr2i18n("No scrollback", 0));
#ifndef UI_QT_NO_TOOLTIP
        fixedSizeHistoryButton->setToolTip(tr2i18n("Limit the remembered output to a fixed number of lines", 0));
#endif // QT_NO_TOOLTIP
        fixedSizeHistoryButton->setText(tr2i18n("Fixed size scrollback:", 0));
#ifndef UI_QT_NO_TOOLTIP
        historyLineSpinner->setToolTip(tr2i18n("Number of lines of output to remember", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        unlimitedHistoryButton->setToolTip(tr2i18n("Remember all output produced by the terminal", 0));
#endif // QT_NO_TOOLTIP
        unlimitedHistoryButton->setText(tr2i18n("Unlimited scrollback", 0));
        Q_UNUSED(HistorySizeWidget);
    } // retranslateUi

};

namespace Ui {
    class HistorySizeWidget: public Ui_HistorySizeWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // HISTORYSIZEWIDGET_H

