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

/********************************************************************************
** Form generated from reading UI file 'trainingconfigwidget.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_TRAININGCONFIGWIDGET_H
#define UI_TRAININGCONFIGWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QFormLayout>
#include <QtGui/QGroupBox>
#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_TrainingConfigWidget
{
public:
    QVBoxLayout *verticalLayout;
    QFormLayout *formLayout_2;
    QLabel *trainingLabel;
    QCheckBox *kcfg_EnforceTypingErrorCorrection;
    QCheckBox *kcfg_ShowKeyboard;
    QCheckBox *kcfg_ShowStatistics;
    QSpacerItem *verticalSpacer;
    QLabel *nextLineLabel;
    QRadioButton *kcfg_NextLineWithReturn;
    QRadioButton *kcfg_NextLineWithSpace;
    QSpacerItem *verticalSpacer_2;
    QGroupBox *groupBox;
    QFormLayout *formLayout;
    QLabel *requiredStrokesPerMinuteLabel;
    KIntNumInput *kcfg_RequiredStrokesPerMinute;
    QLabel *requiredAccuracyLabel;
    KDoubleNumInput *kcfg_RequiredAccuracy;
    QSpacerItem *verticalSpacer_3;

    void setupUi(QWidget *TrainingConfigWidget)
    {
        if (TrainingConfigWidget->objectName().isEmpty())
            TrainingConfigWidget->setObjectName(QString::fromUtf8("TrainingConfigWidget"));
        TrainingConfigWidget->resize(344, 267);
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(TrainingConfigWidget->sizePolicy().hasHeightForWidth());
        TrainingConfigWidget->setSizePolicy(sizePolicy);
        verticalLayout = new QVBoxLayout(TrainingConfigWidget);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        formLayout_2 = new QFormLayout();
        formLayout_2->setObjectName(QString::fromUtf8("formLayout_2"));
        trainingLabel = new QLabel(TrainingConfigWidget);
        trainingLabel->setObjectName(QString::fromUtf8("trainingLabel"));

        formLayout_2->setWidget(0, QFormLayout::LabelRole, trainingLabel);

        kcfg_EnforceTypingErrorCorrection = new QCheckBox(TrainingConfigWidget);
        kcfg_EnforceTypingErrorCorrection->setObjectName(QString::fromUtf8("kcfg_EnforceTypingErrorCorrection"));

        formLayout_2->setWidget(0, QFormLayout::FieldRole, kcfg_EnforceTypingErrorCorrection);

        kcfg_ShowKeyboard = new QCheckBox(TrainingConfigWidget);
        kcfg_ShowKeyboard->setObjectName(QString::fromUtf8("kcfg_ShowKeyboard"));
        kcfg_ShowKeyboard->setMinimumSize(QSize(83, 0));

        formLayout_2->setWidget(1, QFormLayout::FieldRole, kcfg_ShowKeyboard);

        kcfg_ShowStatistics = new QCheckBox(TrainingConfigWidget);
        kcfg_ShowStatistics->setObjectName(QString::fromUtf8("kcfg_ShowStatistics"));

        formLayout_2->setWidget(2, QFormLayout::FieldRole, kcfg_ShowStatistics);

        verticalSpacer = new QSpacerItem(20, 13, QSizePolicy::Minimum, QSizePolicy::Fixed);

        formLayout_2->setItem(3, QFormLayout::FieldRole, verticalSpacer);

        nextLineLabel = new QLabel(TrainingConfigWidget);
        nextLineLabel->setObjectName(QString::fromUtf8("nextLineLabel"));

        formLayout_2->setWidget(4, QFormLayout::LabelRole, nextLineLabel);

        kcfg_NextLineWithReturn = new QRadioButton(TrainingConfigWidget);
        kcfg_NextLineWithReturn->setObjectName(QString::fromUtf8("kcfg_NextLineWithReturn"));

        formLayout_2->setWidget(4, QFormLayout::FieldRole, kcfg_NextLineWithReturn);

        kcfg_NextLineWithSpace = new QRadioButton(TrainingConfigWidget);
        kcfg_NextLineWithSpace->setObjectName(QString::fromUtf8("kcfg_NextLineWithSpace"));

        formLayout_2->setWidget(5, QFormLayout::FieldRole, kcfg_NextLineWithSpace);


        verticalLayout->addLayout(formLayout_2);

        verticalSpacer_2 = new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Fixed);

        verticalLayout->addItem(verticalSpacer_2);

        groupBox = new QGroupBox(TrainingConfigWidget);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(groupBox->sizePolicy().hasHeightForWidth());
        groupBox->setSizePolicy(sizePolicy1);
        formLayout = new QFormLayout(groupBox);
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
        requiredStrokesPerMinuteLabel = new QLabel(groupBox);
        requiredStrokesPerMinuteLabel->setObjectName(QString::fromUtf8("requiredStrokesPerMinuteLabel"));
        requiredStrokesPerMinuteLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        formLayout->setWidget(0, QFormLayout::LabelRole, requiredStrokesPerMinuteLabel);

        kcfg_RequiredStrokesPerMinute = new KIntNumInput(groupBox);
        kcfg_RequiredStrokesPerMinute->setObjectName(QString::fromUtf8("kcfg_RequiredStrokesPerMinute"));
        QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(kcfg_RequiredStrokesPerMinute->sizePolicy().hasHeightForWidth());
        kcfg_RequiredStrokesPerMinute->setSizePolicy(sizePolicy2);
        kcfg_RequiredStrokesPerMinute->setMinimum(0);
        kcfg_RequiredStrokesPerMinute->setMaximum(360);
        kcfg_RequiredStrokesPerMinute->setSingleStep(10);
        kcfg_RequiredStrokesPerMinute->setSliderEnabled(true);

        formLayout->setWidget(0, QFormLayout::FieldRole, kcfg_RequiredStrokesPerMinute);

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

        formLayout->setWidget(1, QFormLayout::LabelRole, requiredAccuracyLabel);

        kcfg_RequiredAccuracy = new KDoubleNumInput(groupBox);
        kcfg_RequiredAccuracy->setObjectName(QString::fromUtf8("kcfg_RequiredAccuracy"));
        sizePolicy2.setHeightForWidth(kcfg_RequiredAccuracy->sizePolicy().hasHeightForWidth());
        kcfg_RequiredAccuracy->setSizePolicy(sizePolicy2);
        kcfg_RequiredAccuracy->setMinimum(90);
        kcfg_RequiredAccuracy->setMaximum(100);
        kcfg_RequiredAccuracy->setSingleStep(0.1);
        kcfg_RequiredAccuracy->setDecimals(1);
        kcfg_RequiredAccuracy->setSliderEnabled(true);

        formLayout->setWidget(1, QFormLayout::FieldRole, kcfg_RequiredAccuracy);


        verticalLayout->addWidget(groupBox);

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

        verticalLayout->addItem(verticalSpacer_3);

#ifndef UI_QT_NO_SHORTCUT
        requiredStrokesPerMinuteLabel->setBuddy(kcfg_RequiredStrokesPerMinute);
        requiredAccuracyLabel->setBuddy(kcfg_RequiredAccuracy);
#endif // QT_NO_SHORTCUT

        retranslateUi(TrainingConfigWidget);

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

    void retranslateUi(QWidget *TrainingConfigWidget)
    {
        trainingLabel->setText(tr2i18n("During training:", 0));
        kcfg_EnforceTypingErrorCorrection->setText(tr2i18n("Enforce correction of typing errors", 0));
        kcfg_ShowKeyboard->setText(tr2i18n("Show keyboard", 0));
        kcfg_ShowStatistics->setText(tr2i18n("Show real-time statistics", 0));
        nextLineLabel->setText(tr2i18n("Go to next line with:", 0));
        kcfg_NextLineWithReturn->setText(tr2i18n("Return", 0));
        kcfg_NextLineWithSpace->setText(tr2i18n("Space", 0));
        groupBox->setTitle(tr2i18n("Lesson unlocking limits", 0));
        requiredStrokesPerMinuteLabel->setText(tr2i18n("Minimum strokes per minute:", 0));
        requiredAccuracyLabel->setText(tr2i18n("Minimum accuracy:", 0));
        kcfg_RequiredAccuracy->setSuffix(tr2i18n("%", 0));
        Q_UNUSED(TrainingConfigWidget);
    } // retranslateUi

};

namespace Ui {
    class TrainingConfigWidget: public Ui_TrainingConfigWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // TRAININGCONFIGWIDGET_H

