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

/********************************************************************************
** Form generated from reading UI file 'screensaver.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_SCREENSAVER_H
#define UI_SCREENSAVER_H

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

QT_BEGIN_NAMESPACE

class Ui_ScreenSaver
{
public:
    QVBoxLayout *verticalLayout;
    QWidget *mSettingsGroup;
    QFormLayout *formLayout;
    QGridLayout *gridLayout_2;
    QCheckBox *mEnabledCheckBox;
    KIntSpinBox *mWaitEdit;
    QSpacerItem *horizontalSpacer_6;
    QCheckBox *mLockCheckBox;
    KIntSpinBox *mWaitLockEdit;
    QSpacerItem *horizontalSpacer_7;
    QLabel *label_3;
    QRadioButton *mSimpleLockerRadio;
    QHBoxLayout *horizontalLayout;
    QRadioButton *mPlasmaWidgetsRadio;
    KPushButton *mPlasmaSetup;
    QRadioButton *mScreenSaverRadio;
    QWidget *mScreenSaverSettings;
    QGridLayout *gridLayout;
    QSpacerItem *horizontalSpacer;
    QTreeWidget *mSaverListView;
    QVBoxLayout *verticalLayout_2;
    QWidget *mPreviewAreaWidget;
    QVBoxLayout *verticalLayout_3;
    QSpacerItem *verticalSpacer_3;
    QWidget *widget;
    QHBoxLayout *horizontalLayout_2;
    QSpacerItem *horizontalSpacer_3;
    KPushButton *mTestBt;
    KPushButton *mSetupBt;
    QSpacerItem *horizontalSpacer_2;
    QSpacerItem *verticalSpacer_2;

    void setupUi(QWidget *ScreenSaver)
    {
        if (ScreenSaver->objectName().isEmpty())
            ScreenSaver->setObjectName(QString::fromUtf8("ScreenSaver"));
        ScreenSaver->resize(801, 733);
        verticalLayout = new QVBoxLayout(ScreenSaver);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        mSettingsGroup = new QWidget(ScreenSaver);
        mSettingsGroup->setObjectName(QString::fromUtf8("mSettingsGroup"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(mSettingsGroup->sizePolicy().hasHeightForWidth());
        mSettingsGroup->setSizePolicy(sizePolicy);
        formLayout = new QFormLayout(mSettingsGroup);
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        gridLayout_2 = new QGridLayout();
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        mEnabledCheckBox = new QCheckBox(mSettingsGroup);
        mEnabledCheckBox->setObjectName(QString::fromUtf8("mEnabledCheckBox"));

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

        mWaitEdit = new KIntSpinBox(mSettingsGroup);
        mWaitEdit->setObjectName(QString::fromUtf8("mWaitEdit"));

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

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

        gridLayout_2->addItem(horizontalSpacer_6, 0, 2, 1, 1);

        mLockCheckBox = new QCheckBox(mSettingsGroup);
        mLockCheckBox->setObjectName(QString::fromUtf8("mLockCheckBox"));

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

        mWaitLockEdit = new KIntSpinBox(mSettingsGroup);
        mWaitLockEdit->setObjectName(QString::fromUtf8("mWaitLockEdit"));

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

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

        gridLayout_2->addItem(horizontalSpacer_7, 1, 2, 1, 1);


        formLayout->setLayout(0, QFormLayout::FieldRole, gridLayout_2);

        label_3 = new QLabel(mSettingsGroup);
        label_3->setObjectName(QString::fromUtf8("label_3"));

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

        mSimpleLockerRadio = new QRadioButton(mSettingsGroup);
        mSimpleLockerRadio->setObjectName(QString::fromUtf8("mSimpleLockerRadio"));
        mSimpleLockerRadio->setChecked(true);

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

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        mPlasmaWidgetsRadio = new QRadioButton(mSettingsGroup);
        mPlasmaWidgetsRadio->setObjectName(QString::fromUtf8("mPlasmaWidgetsRadio"));

        horizontalLayout->addWidget(mPlasmaWidgetsRadio);

        mPlasmaSetup = new KPushButton(mSettingsGroup);
        mPlasmaSetup->setObjectName(QString::fromUtf8("mPlasmaSetup"));
        mPlasmaSetup->setEnabled(false);

        horizontalLayout->addWidget(mPlasmaSetup);


        formLayout->setLayout(2, QFormLayout::FieldRole, horizontalLayout);

        mScreenSaverRadio = new QRadioButton(mSettingsGroup);
        mScreenSaverRadio->setObjectName(QString::fromUtf8("mScreenSaverRadio"));

        formLayout->setWidget(3, QFormLayout::FieldRole, mScreenSaverRadio);

        mScreenSaverSettings = new QWidget(mSettingsGroup);
        mScreenSaverSettings->setObjectName(QString::fromUtf8("mScreenSaverSettings"));
        mScreenSaverSettings->setEnabled(false);
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Expanding);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(1);
        sizePolicy1.setHeightForWidth(mScreenSaverSettings->sizePolicy().hasHeightForWidth());
        mScreenSaverSettings->setSizePolicy(sizePolicy1);
        gridLayout = new QGridLayout(mScreenSaverSettings);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        horizontalSpacer = new QSpacerItem(16, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);

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

        mSaverListView = new QTreeWidget(mScreenSaverSettings);
        QTreeWidgetItem *__qtreewidgetitem = new QTreeWidgetItem();
        __qtreewidgetitem->setText(0, QString::fromUtf8("1"));
        mSaverListView->setHeaderItem(__qtreewidgetitem);
        mSaverListView->setObjectName(QString::fromUtf8("mSaverListView"));

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

        verticalLayout_2 = new QVBoxLayout();
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        mPreviewAreaWidget = new QWidget(mScreenSaverSettings);
        mPreviewAreaWidget->setObjectName(QString::fromUtf8("mPreviewAreaWidget"));
        verticalLayout_3 = new QVBoxLayout(mPreviewAreaWidget);
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
        verticalSpacer_3 = new QSpacerItem(20, 145, QSizePolicy::Minimum, QSizePolicy::Expanding);

        verticalLayout_3->addItem(verticalSpacer_3);

        widget = new QWidget(mPreviewAreaWidget);
        widget->setObjectName(QString::fromUtf8("widget"));
        QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(widget->sizePolicy().hasHeightForWidth());
        widget->setSizePolicy(sizePolicy2);
        widget->setMaximumSize(QSize(0, 0));

        verticalLayout_3->addWidget(widget);


        verticalLayout_2->addWidget(mPreviewAreaWidget);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        horizontalSpacer_3 = new QSpacerItem(5, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);

        horizontalLayout_2->addItem(horizontalSpacer_3);

        mTestBt = new KPushButton(mScreenSaverSettings);
        mTestBt->setObjectName(QString::fromUtf8("mTestBt"));
        mTestBt->setEnabled(false);

        horizontalLayout_2->addWidget(mTestBt);

        mSetupBt = new KPushButton(mScreenSaverSettings);
        mSetupBt->setObjectName(QString::fromUtf8("mSetupBt"));
        mSetupBt->setEnabled(false);

        horizontalLayout_2->addWidget(mSetupBt);

        horizontalSpacer_2 = new QSpacerItem(5, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);

        horizontalLayout_2->addItem(horizontalSpacer_2);


        verticalLayout_2->addLayout(horizontalLayout_2);

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

        verticalLayout_2->addItem(verticalSpacer_2);


        gridLayout->addLayout(verticalLayout_2, 0, 2, 1, 1);


        formLayout->setWidget(4, QFormLayout::FieldRole, mScreenSaverSettings);


        verticalLayout->addWidget(mSettingsGroup);

#ifndef UI_QT_NO_SHORTCUT
        label_3->setBuddy(mSimpleLockerRadio);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(mEnabledCheckBox, mWaitEdit);
        QWidget::setTabOrder(mWaitEdit, mLockCheckBox);
        QWidget::setTabOrder(mLockCheckBox, mWaitLockEdit);
        QWidget::setTabOrder(mWaitLockEdit, mSimpleLockerRadio);
        QWidget::setTabOrder(mSimpleLockerRadio, mPlasmaWidgetsRadio);
        QWidget::setTabOrder(mPlasmaWidgetsRadio, mPlasmaSetup);
        QWidget::setTabOrder(mPlasmaSetup, mScreenSaverRadio);
        QWidget::setTabOrder(mScreenSaverRadio, mSaverListView);

        retranslateUi(ScreenSaver);
        QObject::connect(mPlasmaWidgetsRadio, SIGNAL(toggled(bool)), mPlasmaSetup, SLOT(setEnabled(bool)));
        QObject::connect(mScreenSaverRadio, SIGNAL(toggled(bool)), mScreenSaverSettings, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *ScreenSaver)
    {
#ifndef UI_QT_NO_WHATSTHIS
        mEnabledCheckBox->setWhatsThis(tr2i18n("Automatically start the screen saver after a period of inactivity.", 0));
#endif // QT_NO_WHATSTHIS
        mEnabledCheckBox->setText(tr2i18n("Start a&utomatically after:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        mLockCheckBox->setWhatsThis(tr2i18n("Prevent potential unauthorized use by requiring a password to stop the screen saver.", 0));
#endif // QT_NO_WHATSTHIS
        mLockCheckBox->setText(tr2i18n("&Require password after:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        mWaitLockEdit->setWhatsThis(tr2i18n("The amount of time, after the screen saver has started, to ask for the unlock password.", 0));
#endif // QT_NO_WHATSTHIS
        label_3->setText(tr2i18n("&Screen locker type:", 0));
        mSimpleLockerRadio->setText(tr2i18n("S&imple locker", 0));
        mPlasmaWidgetsRadio->setText(tr2i18n("&Desktop Widgets", 0));
        mPlasmaSetup->setText(tr2i18n("Configure...", 0));
        mScreenSaverRadio->setText(tr2i18n("S&creen saver", 0));
#ifndef UI_QT_NO_WHATSTHIS
        mSaverListView->setWhatsThis(tr2i18n("Select the screen saver to use.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        mTestBt->setWhatsThis(tr2i18n("Show a full screen preview of the screen saver.", 0));
#endif // QT_NO_WHATSTHIS
        mTestBt->setText(tr2i18n("&Test", 0));
#ifndef UI_QT_NO_WHATSTHIS
        mSetupBt->setWhatsThis(tr2i18n("Configure the screen saver's options, if any.", 0));
#endif // QT_NO_WHATSTHIS
        mSetupBt->setText(tr2i18n("&Setup...", 0));
        Q_UNUSED(ScreenSaver);
    } // retranslateUi

};

namespace Ui {
    class ScreenSaver: public Ui_ScreenSaver {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SCREENSAVER_H

