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

/********************************************************************************
** Form generated from reading UI file 'kcmmiscwidget.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_KCMMISCWIDGET_H
#define UI_KCMMISCWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QRadioButton>
#include <QtGui/QSlider>
#include <QtGui/QSpacerItem>
#include <QtGui/QWidget>
#include "kbuttongroup.h"
#include "knuminput.h"

QT_BEGIN_NAMESPACE

class Ui_KeyboardConfigWidget
{
public:
    QGridLayout *gridLayout;
    KButtonGroup *numlockGroupBox;
    QGridLayout *gridLayout_7;
    KButtonGroup *numlockButtonGroup;
    QGridLayout *gridLayout_6;
    QRadioButton *RadioButton1;
    QRadioButton *RadioButton1_2;
    QRadioButton *RadioButton1_3;
    QGroupBox *keyboardRepeatGroupBox;
    QGridLayout *gridLayout_4;
    KButtonGroup *keyboardRepeatButtonGroup;
    QGridLayout *gridLayout_3;
    QRadioButton *keyboardRepeatOnRadioButton;
    QRadioButton *keyboardRepeatOffRadioButton;
    QRadioButton *keyboardRepeatUnchangedRadioButton;
    QSpacerItem *horizontalSpacer_2;
    QGroupBox *keyboardRepeatParamsGroupBox;
    QGridLayout *gridLayout_2;
    QLabel *lblDelay;
    QSlider *delaySlider;
    KIntNumInput *delay;
    QLabel *lblRate;
    QSlider *rateSlider;
    KDoubleNumInput *rate;
    QHBoxLayout *horizontalLayout_2;
    QLabel *label;
    QLineEdit *lineEdit;
    QGroupBox *groupBox;
    QGridLayout *gridLayout_5;
    QHBoxLayout *horizontalLayout;
    QLabel *TextLabel1;
    QSlider *click;
    QSpacerItem *horizontalSpacer;
    QFrame *line;

    void setupUi(QWidget *KeyboardConfigWidget)
    {
        if (KeyboardConfigWidget->objectName().isEmpty())
            KeyboardConfigWidget->setObjectName(QString::fromUtf8("KeyboardConfigWidget"));
        KeyboardConfigWidget->resize(577, 361);
        gridLayout = new QGridLayout(KeyboardConfigWidget);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        numlockGroupBox = new KButtonGroup(KeyboardConfigWidget);
        numlockGroupBox->setObjectName(QString::fromUtf8("numlockGroupBox"));
        gridLayout_7 = new QGridLayout(numlockGroupBox);
        gridLayout_7->setObjectName(QString::fromUtf8("gridLayout_7"));
        numlockButtonGroup = new KButtonGroup(numlockGroupBox);
        numlockButtonGroup->setObjectName(QString::fromUtf8("numlockButtonGroup"));
        numlockButtonGroup->setFlat(true);
        gridLayout_6 = new QGridLayout(numlockButtonGroup);
        gridLayout_6->setObjectName(QString::fromUtf8("gridLayout_6"));
        RadioButton1 = new QRadioButton(numlockButtonGroup);
        RadioButton1->setObjectName(QString::fromUtf8("RadioButton1"));

        gridLayout_6->addWidget(RadioButton1, 0, 0, 1, 1);

        RadioButton1_2 = new QRadioButton(numlockButtonGroup);
        RadioButton1_2->setObjectName(QString::fromUtf8("RadioButton1_2"));

        gridLayout_6->addWidget(RadioButton1_2, 1, 0, 1, 1);

        RadioButton1_3 = new QRadioButton(numlockButtonGroup);
        RadioButton1_3->setObjectName(QString::fromUtf8("RadioButton1_3"));

        gridLayout_6->addWidget(RadioButton1_3, 2, 0, 1, 1);


        gridLayout_7->addWidget(numlockButtonGroup, 0, 0, 1, 1);


        gridLayout->addWidget(numlockGroupBox, 0, 0, 1, 1);

        keyboardRepeatGroupBox = new QGroupBox(KeyboardConfigWidget);
        keyboardRepeatGroupBox->setObjectName(QString::fromUtf8("keyboardRepeatGroupBox"));
        gridLayout_4 = new QGridLayout(keyboardRepeatGroupBox);
        gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4"));
        keyboardRepeatButtonGroup = new KButtonGroup(keyboardRepeatGroupBox);
        keyboardRepeatButtonGroup->setObjectName(QString::fromUtf8("keyboardRepeatButtonGroup"));
        keyboardRepeatButtonGroup->setFlat(true);
        gridLayout_3 = new QGridLayout(keyboardRepeatButtonGroup);
        gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
        keyboardRepeatOnRadioButton = new QRadioButton(keyboardRepeatButtonGroup);
        keyboardRepeatOnRadioButton->setObjectName(QString::fromUtf8("keyboardRepeatOnRadioButton"));

        gridLayout_3->addWidget(keyboardRepeatOnRadioButton, 0, 0, 1, 1);

        keyboardRepeatOffRadioButton = new QRadioButton(keyboardRepeatButtonGroup);
        keyboardRepeatOffRadioButton->setObjectName(QString::fromUtf8("keyboardRepeatOffRadioButton"));

        gridLayout_3->addWidget(keyboardRepeatOffRadioButton, 1, 0, 1, 1);

        keyboardRepeatUnchangedRadioButton = new QRadioButton(keyboardRepeatButtonGroup);
        keyboardRepeatUnchangedRadioButton->setObjectName(QString::fromUtf8("keyboardRepeatUnchangedRadioButton"));

        gridLayout_3->addWidget(keyboardRepeatUnchangedRadioButton, 2, 0, 1, 1);


        gridLayout_4->addWidget(keyboardRepeatButtonGroup, 0, 0, 1, 1);

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

        gridLayout_4->addItem(horizontalSpacer_2, 0, 1, 1, 1);

        keyboardRepeatParamsGroupBox = new QGroupBox(keyboardRepeatGroupBox);
        keyboardRepeatParamsGroupBox->setObjectName(QString::fromUtf8("keyboardRepeatParamsGroupBox"));
        keyboardRepeatParamsGroupBox->setFlat(false);
        gridLayout_2 = new QGridLayout(keyboardRepeatParamsGroupBox);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        lblDelay = new QLabel(keyboardRepeatParamsGroupBox);
        lblDelay->setObjectName(QString::fromUtf8("lblDelay"));
        QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(lblDelay->sizePolicy().hasHeightForWidth());
        lblDelay->setSizePolicy(sizePolicy);

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

        delaySlider = new QSlider(keyboardRepeatParamsGroupBox);
        delaySlider->setObjectName(QString::fromUtf8("delaySlider"));
        delaySlider->setMinimum(0);
        delaySlider->setMaximum(10000);
        delaySlider->setSingleStep(1000);
        delaySlider->setPageStep(1000);
        delaySlider->setValue(5000);
        delaySlider->setOrientation(Qt::Horizontal);
        delaySlider->setTickInterval(1000);

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

        delay = new KIntNumInput(keyboardRepeatParamsGroupBox);
        delay->setObjectName(QString::fromUtf8("delay"));

        gridLayout_2->addWidget(delay, 0, 2, 1, 1);

        lblRate = new QLabel(keyboardRepeatParamsGroupBox);
        lblRate->setObjectName(QString::fromUtf8("lblRate"));
        sizePolicy.setHeightForWidth(lblRate->sizePolicy().hasHeightForWidth());
        lblRate->setSizePolicy(sizePolicy);

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

        rateSlider = new QSlider(keyboardRepeatParamsGroupBox);
        rateSlider->setObjectName(QString::fromUtf8("rateSlider"));
        rateSlider->setMinimum(0);
        rateSlider->setMaximum(10000);
        rateSlider->setSingleStep(1000);
        rateSlider->setPageStep(1000);
        rateSlider->setValue(5000);
        rateSlider->setOrientation(Qt::Horizontal);
        rateSlider->setTickInterval(1000);

        gridLayout_2->addWidget(rateSlider, 1, 1, 1, 1);

        rate = new KDoubleNumInput(keyboardRepeatParamsGroupBox);
        rate->setObjectName(QString::fromUtf8("rate"));

        gridLayout_2->addWidget(rate, 1, 2, 1, 1);


        gridLayout_4->addWidget(keyboardRepeatParamsGroupBox, 0, 2, 1, 1);


        gridLayout->addWidget(keyboardRepeatGroupBox, 1, 0, 1, 1);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        label = new QLabel(KeyboardConfigWidget);
        label->setObjectName(QString::fromUtf8("label"));

        horizontalLayout_2->addWidget(label);

        lineEdit = new QLineEdit(KeyboardConfigWidget);
        lineEdit->setObjectName(QString::fromUtf8("lineEdit"));

        horizontalLayout_2->addWidget(lineEdit);


        gridLayout->addLayout(horizontalLayout_2, 4, 0, 1, 1);

        groupBox = new QGroupBox(KeyboardConfigWidget);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        gridLayout_5 = new QGridLayout(groupBox);
        gridLayout_5->setObjectName(QString::fromUtf8("gridLayout_5"));
        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        TextLabel1 = new QLabel(groupBox);
        TextLabel1->setObjectName(QString::fromUtf8("TextLabel1"));

        horizontalLayout->addWidget(TextLabel1);

        click = new QSlider(groupBox);
        click->setObjectName(QString::fromUtf8("click"));
        click->setMaximum(100);
        click->setSingleStep(10);
        click->setOrientation(Qt::Horizontal);
        click->setTickPosition(QSlider::NoTicks);

        horizontalLayout->addWidget(click);

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

        horizontalLayout->addItem(horizontalSpacer);


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


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

        line = new QFrame(KeyboardConfigWidget);
        line->setObjectName(QString::fromUtf8("line"));
        line->setFrameShape(QFrame::HLine);
        line->setFrameShadow(QFrame::Sunken);

        gridLayout->addWidget(line, 3, 0, 1, 1);

#ifndef UI_QT_NO_SHORTCUT
        lblDelay->setBuddy(delay);
        lblRate->setBuddy(rate);
        TextLabel1->setBuddy(click);
#endif // QT_NO_SHORTCUT

        retranslateUi(KeyboardConfigWidget);

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

    void retranslateUi(QWidget *KeyboardConfigWidget)
    {
#ifndef UI_QT_NO_WHATSTHIS
        numlockGroupBox->setWhatsThis(tr2i18n("If supported, this option allows you to setup the state of NumLock after KDE startup.<p>You can configure NumLock to be turned on or off, or configure KDE not to set NumLock state.", 0));
#endif // QT_NO_WHATSTHIS
        numlockGroupBox->setTitle(tr2i18n("NumLock on KDE Startup", 0));
        RadioButton1->setText(tr2i18n("T&urn on", 0));
        RadioButton1_2->setText(tr2i18n("Turn o&ff", 0));
        RadioButton1_3->setText(tr2i18n("Leave unchan&ged", 0));
        keyboardRepeatGroupBox->setTitle(tr2i18n("Keyboard Repeat", 0));
        keyboardRepeatOnRadioButton->setText(tr2i18n("T&urn on", 0));
        keyboardRepeatOffRadioButton->setText(tr2i18n("Turn o&ff", 0));
        keyboardRepeatUnchangedRadioButton->setText(tr2i18n("Leave unchan&ged", 0));
        keyboardRepeatParamsGroupBox->setTitle(QString());
        lblDelay->setText(tr2i18n("&Delay:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        delaySlider->setWhatsThis(tr2i18n("If supported, this option allows you to set the delay after which a pressed key will start generating keycodes. The 'Repeat rate' option controls the frequency of these keycodes.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        delay->setWhatsThis(tr2i18n("If supported, this option allows you to set the delay after which a pressed key will start generating keycodes. The 'Repeat rate' option controls the frequency of these keycodes.", 0));
#endif // QT_NO_WHATSTHIS
        delay->setSuffix(tr2i18n(" ms", 0));
        lblRate->setText(tr2i18n("&Rate:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        rateSlider->setWhatsThis(tr2i18n("If supported, this option allows you to set the rate at which keycodes are generated while a key is pressed.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        rate->setWhatsThis(tr2i18n("If supported, this option allows you to set the rate at which keycodes are generated while a key is pressed.", 0));
#endif // QT_NO_WHATSTHIS
        rate->setSuffix(tr2i18n(" repeats/s", 0));
#ifndef UI_QT_NO_TOOLTIP
        label->setToolTip(QString());
#endif // QT_NO_TOOLTIP
        label->setText(tr2i18n("Test area:", 0));
#ifndef UI_QT_NO_TOOLTIP
        lineEdit->setToolTip(tr2i18n("Allows to test keyboard repeat and click volume (just don't forget to apply the changes).", 0));
#endif // QT_NO_TOOLTIP
        groupBox->setTitle(tr2i18n("Key Click", 0));
#ifndef UI_QT_NO_WHATSTHIS
        TextLabel1->setWhatsThis(tr2i18n("If supported, this option allows you to hear audible clicks from your computer's speakers when you press the keys on your keyboard. This might be useful if your keyboard does not have mechanical keys, or if the sound that the keys make is very soft.<p>You can change the loudness of the key click feedback by dragging the slider button or by clicking the up/down arrows on the spin box. Setting the volume to 0% turns off the key click.", 0));
#endif // QT_NO_WHATSTHIS
        TextLabel1->setText(tr2i18n("Key click &volume:", 0));
        Q_UNUSED(KeyboardConfigWidget);
    } // retranslateUi

};

namespace Ui {
    class KeyboardConfigWidget: public Ui_KeyboardConfigWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KCMMISCWIDGET_H

