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

/********************************************************************************
** Form generated from reading UI file 'ksnapshotwidget.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_KSNAPSHOTWIDGET_H
#define UI_KSNAPSHOTWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QComboBox>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QWidget>
#include "knuminput.h"
#include "kpushbutton.h"
#include "ksnapshotpreview.h"

QT_BEGIN_NAMESPACE

class Ui_KSnapshotWidget
{
public:
    QGridLayout *gridLayout_2;
    KSnapshotPreview *lblImage;
    QHBoxLayout *horizontalLayout;
    QSpacerItem *horizontalSpacer;
    KPushButton *btnNew;
    QSpacerItem *horizontalSpacer_2;
    QFrame *line1;
    QGridLayout *gridLayout;
    QLabel *textLabel1;
    QComboBox *comboMode;
    QLabel *lblDelay;
    KIntSpinBox *spinDelay;
    QLabel *lblIncludeDecorations;
    QCheckBox *cbIncludeDecorations;
    QLabel *lblIncludePointer;
    QCheckBox *cbIncludePointer;

    void setupUi(QWidget *KSnapshotWidget)
    {
        if (KSnapshotWidget->objectName().isEmpty())
            KSnapshotWidget->setObjectName(QString::fromUtf8("KSnapshotWidget"));
        KSnapshotWidget->resize(436, 374);
        gridLayout_2 = new QGridLayout(KSnapshotWidget);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        lblImage = new KSnapshotPreview(KSnapshotWidget);
        lblImage->setObjectName(QString::fromUtf8("lblImage"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(lblImage->sizePolicy().hasHeightForWidth());
        lblImage->setSizePolicy(sizePolicy);
        lblImage->setMinimumSize(QSize(200, 130));

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

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout->addItem(horizontalSpacer);

        btnNew = new KPushButton(KSnapshotWidget);
        btnNew->setObjectName(QString::fromUtf8("btnNew"));

        horizontalLayout->addWidget(btnNew);

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

        horizontalLayout->addItem(horizontalSpacer_2);


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

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

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

        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        textLabel1 = new QLabel(KSnapshotWidget);
        textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
        textLabel1->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        comboMode = new QComboBox(KSnapshotWidget);
        comboMode->setObjectName(QString::fromUtf8("comboMode"));

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

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

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

        spinDelay = new KIntSpinBox(KSnapshotWidget);
        spinDelay->setObjectName(QString::fromUtf8("spinDelay"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(spinDelay->sizePolicy().hasHeightForWidth());
        spinDelay->setSizePolicy(sizePolicy1);

        gridLayout->addWidget(spinDelay, 1, 1, 1, 1);

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

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

        cbIncludeDecorations = new QCheckBox(KSnapshotWidget);
        cbIncludeDecorations->setObjectName(QString::fromUtf8("cbIncludeDecorations"));
        cbIncludeDecorations->setChecked(true);

        gridLayout->addWidget(cbIncludeDecorations, 2, 1, 1, 1);

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

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

        cbIncludePointer = new QCheckBox(KSnapshotWidget);
        cbIncludePointer->setObjectName(QString::fromUtf8("cbIncludePointer"));

        gridLayout->addWidget(cbIncludePointer, 3, 1, 1, 1);


        gridLayout_2->addLayout(gridLayout, 3, 0, 1, 1);

#ifndef UI_QT_NO_SHORTCUT
        textLabel1->setBuddy(comboMode);
        lblDelay->setBuddy(spinDelay);
        lblIncludeDecorations->setBuddy(cbIncludeDecorations);
        lblIncludePointer->setBuddy(cbIncludePointer);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(btnNew, comboMode);
        QWidget::setTabOrder(comboMode, spinDelay);
        QWidget::setTabOrder(spinDelay, cbIncludeDecorations);

        retranslateUi(KSnapshotWidget);

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

    void retranslateUi(QWidget *KSnapshotWidget)
    {
#ifndef UI_QT_NO_WHATSTHIS
        lblImage->setWhatsThis(tr2i18n("This is a preview of the current snapshot.\n"
"\n"
"The image can be dragged to another application or document to copy the full screenshot there. Try it with the file manager.\n"
"\n"
"You can also copy the image to the clipboard by pressing Ctrl+C.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        btnNew->setWhatsThis(tr2i18n("Click this button to take a new snapshot.", 0));
#endif // QT_NO_WHATSTHIS
        btnNew->setText(tr2i18n("Take a &New Snapshot", 0));
        textLabel1->setText(tr2i18n("Cap&ture mode:", 0));
        comboMode->clear();
        comboMode->insertItems(0, QStringList()
         << tr2i18n("Full Screen", 0)
         << tr2i18n("Window Under Cursor", 0)
         << tr2i18n("Rectangular Region", 0)
         << tr2i18n("Freehand Region", 0)
         << tr2i18n("Section of Window", 0)
         << tr2i18n("Current Screen", 0)
        );
#ifndef UI_QT_NO_WHATSTHIS
        comboMode->setWhatsThis(tr2i18n("<qt>Using this menu, you can select from the six following snapshot modes:\n"
"<p>\n"
"<b>Full Screen</b> - captures the entire desktop.<br/>\n"
"<b>Window Under Cursor</b> - captures only the window (or menu) that is under the mouse cursor when the snapshot is taken.<br/>\n"
"<b>Rectangular Region</b> - captures only the rectangular region of the desktop that you specify. When taking a new snapshot in this mode you will be able to select any area of the screen by clicking and dragging the mouse.<br/>\n"
"<b>Freehand Region</b> - captures arbitrary shapes that you specify. When taking a new snapshot in this mode you will be able to select any shape by dragging the mouse.<br/>\n"
"<b>Section of Window</b> - captures only a section of the window. When taking a new snapshot in this mode you will be able to select any child window by moving the mouse over it.<br/>\n"
"<b>Current Screen</b> - if you have multiple screens, this captures the screen containing the mouse cursor when the snapshot is taken.\n"
"</p></qt>", 0));
#endif // QT_NO_WHATSTHIS
        lblDelay->setText(tr2i18n("Snapshot &delay:", 0));
#ifndef UI_QT_NO_TOOLTIP
        spinDelay->setToolTip(tr2i18n("Snapshot delay in seconds", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        spinDelay->setWhatsThis(tr2i18n("<qt><p>\n"
"This is the number of seconds to wait after clicking the <i>New Snapshot</i> button before taking the snapshot.\n"
"</p><p>\n"
"This is very useful for getting windows, menus and other items on the screen set up just the way you want.\n"
"</p><p>\n"
"If <i>no delay</i> is set, the program will wait for a mouse click before taking a snapshot.\n"
"</p>\n"
"</qt>", 0));
#endif // QT_NO_WHATSTHIS
        spinDelay->setSpecialValueText(tr2i18n("No delay", 0));
        spinDelay->setSuffix(QString());
        lblIncludeDecorations->setText(tr2i18n("Include &window decorations:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        cbIncludeDecorations->setWhatsThis(tr2i18n("When enabled, snapshot of a window will also include the window decorations", 0));
#endif // QT_NO_WHATSTHIS
        cbIncludeDecorations->setText(QString());
        lblIncludePointer->setText(tr2i18n("Include mouse &pointer:", 0));
        cbIncludePointer->setText(QString());
        Q_UNUSED(KSnapshotWidget);
    } // retranslateUi

};

namespace Ui {
    class KSnapshotWidget: public Ui_KSnapshotWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KSNAPSHOTWIDGET_H

