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

/********************************************************************************
** Form generated from reading UI file 'generalconfig.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_GENERALCONFIG_H
#define UI_GENERALCONFIG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QGroupBox>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "knuminput.h"

QT_BEGIN_NAMESPACE

class Ui_GeneralWidget
{
public:
    QVBoxLayout *verticalLayout_2;
    QCheckBox *kcfg_KeepClipboardContents;
    QCheckBox *kcfg_PreventEmptyClipboard;
    QCheckBox *kcfg_IgnoreImages;
    QGroupBox *selection_group;
    QVBoxLayout *verticalLayout;
    QCheckBox *kcfg_IgnoreSelection;
    QCheckBox *kcfg_SelectionTextOnly;
    QCheckBox *kcfg_SyncClipboards;
    QLabel *timeout_label;
    KIntSpinBox *kcfg_TimeoutForActionPopups;
    QLabel *history_size_label;
    KIntSpinBox *kcfg_MaxClipItems;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *GeneralWidget)
    {
        if (GeneralWidget->objectName().isEmpty())
            GeneralWidget->setObjectName(QString::fromUtf8("GeneralWidget"));
        GeneralWidget->resize(463, 417);
        verticalLayout_2 = new QVBoxLayout(GeneralWidget);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        kcfg_KeepClipboardContents = new QCheckBox(GeneralWidget);
        kcfg_KeepClipboardContents->setObjectName(QString::fromUtf8("kcfg_KeepClipboardContents"));

        verticalLayout_2->addWidget(kcfg_KeepClipboardContents);

        kcfg_PreventEmptyClipboard = new QCheckBox(GeneralWidget);
        kcfg_PreventEmptyClipboard->setObjectName(QString::fromUtf8("kcfg_PreventEmptyClipboard"));

        verticalLayout_2->addWidget(kcfg_PreventEmptyClipboard);

        kcfg_IgnoreImages = new QCheckBox(GeneralWidget);
        kcfg_IgnoreImages->setObjectName(QString::fromUtf8("kcfg_IgnoreImages"));

        verticalLayout_2->addWidget(kcfg_IgnoreImages);

        selection_group = new QGroupBox(GeneralWidget);
        selection_group->setObjectName(QString::fromUtf8("selection_group"));
        verticalLayout = new QVBoxLayout(selection_group);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        kcfg_IgnoreSelection = new QCheckBox(selection_group);
        kcfg_IgnoreSelection->setObjectName(QString::fromUtf8("kcfg_IgnoreSelection"));

        verticalLayout->addWidget(kcfg_IgnoreSelection);

        kcfg_SelectionTextOnly = new QCheckBox(selection_group);
        kcfg_SelectionTextOnly->setObjectName(QString::fromUtf8("kcfg_SelectionTextOnly"));

        verticalLayout->addWidget(kcfg_SelectionTextOnly);

        kcfg_SyncClipboards = new QCheckBox(selection_group);
        kcfg_SyncClipboards->setObjectName(QString::fromUtf8("kcfg_SyncClipboards"));

        verticalLayout->addWidget(kcfg_SyncClipboards);


        verticalLayout_2->addWidget(selection_group);

        timeout_label = new QLabel(GeneralWidget);
        timeout_label->setObjectName(QString::fromUtf8("timeout_label"));

        verticalLayout_2->addWidget(timeout_label);

        kcfg_TimeoutForActionPopups = new KIntSpinBox(GeneralWidget);
        kcfg_TimeoutForActionPopups->setObjectName(QString::fromUtf8("kcfg_TimeoutForActionPopups"));
        kcfg_TimeoutForActionPopups->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        verticalLayout_2->addWidget(kcfg_TimeoutForActionPopups);

        history_size_label = new QLabel(GeneralWidget);
        history_size_label->setObjectName(QString::fromUtf8("history_size_label"));

        verticalLayout_2->addWidget(history_size_label);

        kcfg_MaxClipItems = new KIntSpinBox(GeneralWidget);
        kcfg_MaxClipItems->setObjectName(QString::fromUtf8("kcfg_MaxClipItems"));
        kcfg_MaxClipItems->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        verticalLayout_2->addWidget(kcfg_MaxClipItems);

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

        verticalLayout_2->addItem(verticalSpacer);


        retranslateUi(GeneralWidget);
        QObject::connect(kcfg_IgnoreSelection, SIGNAL(clicked(bool)), kcfg_SelectionTextOnly, SLOT(setDisabled(bool)));
        QObject::connect(kcfg_IgnoreSelection, SIGNAL(clicked(bool)), kcfg_SyncClipboards, SLOT(setDisabled(bool)));
        QObject::connect(kcfg_SyncClipboards, SIGNAL(clicked(bool)), kcfg_IgnoreSelection, SLOT(setDisabled(bool)));

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

    void retranslateUi(QWidget *GeneralWidget)
    {
        kcfg_KeepClipboardContents->setText(tr2i18n("Save clipboard contents on exit", 0));
        kcfg_PreventEmptyClipboard->setText(tr2i18n("Prevent empty clipboard", 0));
        kcfg_IgnoreImages->setText(tr2i18n("Ignore images", 0));
        selection_group->setTitle(tr2i18n("Selection and Clipboard", 0));
        kcfg_IgnoreSelection->setText(tr2i18n("Ignore selection", 0));
        kcfg_SelectionTextOnly->setText(tr2i18n("Text selection only", 0));
        kcfg_SyncClipboards->setText(tr2i18n("Synchronize contents of the clipboard and the selection", 0));
        timeout_label->setText(tr2i18n("Timeout for action popups:", 0));
        history_size_label->setText(tr2i18n("Clipboard history size:", 0));
        Q_UNUSED(GeneralWidget);
    } // retranslateUi

};

namespace Ui {
    class GeneralWidget: public Ui_GeneralWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // GENERALCONFIG_H

