#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'HistorySizeWidget.ui'
**
** Created by: Qt User Interface Compiler version 5.9.4
**
** 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 <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "KPluralHandlingSpinBox"
#include "kmessagewidget.h"

QT_BEGIN_NAMESPACE

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

    void setupUi(QWidget *HistorySizeWidget)
    {
        if (HistorySizeWidget->objectName().isEmpty())
            HistorySizeWidget->setObjectName(QStringLiteral("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(QStringLiteral("verticalLayout"));
        noHistoryButton = new QRadioButton(HistorySizeWidget);
        noHistoryButton->setObjectName(QStringLiteral("noHistoryButton"));
        sizePolicy.setHeightForWidth(noHistoryButton->sizePolicy().hasHeightForWidth());
        noHistoryButton->setSizePolicy(sizePolicy);

        verticalLayout->addWidget(noHistoryButton);

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

        hboxLayout->addWidget(fixedSizeHistoryButton);

        historyLineSpinner = new KPluralHandlingSpinBox(HistorySizeWidget);
        historyLineSpinner->setObjectName(QStringLiteral("historyLineSpinner"));
        historyLineSpinner->setMinimum(1);
        historyLineSpinner->setMaximum(1000000);

        hboxLayout->addWidget(historyLineSpinner);

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

        hboxLayout->addItem(spacerItem);


        verticalLayout->addLayout(hboxLayout);

        fixedSizeWarningWidget = new KMessageWidget(HistorySizeWidget);
        fixedSizeWarningWidget->setObjectName(QStringLiteral("fixedSizeWarningWidget"));
        sizePolicy.setHeightForWidth(fixedSizeWarningWidget->sizePolicy().hasHeightForWidth());
        fixedSizeWarningWidget->setSizePolicy(sizePolicy);

        verticalLayout->addWidget(fixedSizeWarningWidget);

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

        verticalLayout->addWidget(unlimitedHistoryButton);

        unlimitedWarningWidget = new KMessageWidget(HistorySizeWidget);
        unlimitedWarningWidget->setObjectName(QStringLiteral("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", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        noHistoryButton->setText(tr2i18n("No scrollback", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        fixedSizeHistoryButton->setToolTip(tr2i18n("Limit the remembered output to a fixed number of lines", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        fixedSizeHistoryButton->setText(tr2i18n("Fixed size scrollback:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        historyLineSpinner->setToolTip(tr2i18n("Number of lines of output to remember", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        unlimitedHistoryButton->setToolTip(tr2i18n("Remember all output produced by the terminal", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        unlimitedHistoryButton->setText(tr2i18n("Unlimited scrollback", Q_NULLPTR));
        Q_UNUSED(HistorySizeWidget);
    } // retranslateUi

};

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

QT_END_NAMESPACE

#endif // HISTORYSIZEWIDGET_H

