/****************************************************************************
** Form interface generated from reading ui file 'ksnapshotwidget.ui'
**
** Created by: The TQt user interface compiler (TQt 3.5.0)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef UI_KSNAPSHOTWIDGET_H
#define UI_KSNAPSHOTWIDGET_H

#include <ntqvariant.h>
#include <ntqpixmap.h>
#include <ntqwidget.h>

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class KSnapshotPreview;
class TQFrame;
class TQSpinBox;
class TQLabel;
class TQCheckBox;
class TQComboBox;
class KPushButton;

class KSnapshotWidget : public TQWidget
{
    TQ_OBJECT

public:
    KSnapshotWidget( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
    ~KSnapshotWidget();

    KSnapshotPreview* lblImage;
    TQFrame* line1;
    TQSpinBox* spinDelay;
    TQLabel* lblDelay;
    TQLabel* textLabel1;
    TQCheckBox* cbIncludeDecorations;
    TQComboBox* comboMode;
    KPushButton* btnNew;
    KPushButton* btnSave;
    KPushButton* btnCopy;
    KPushButton* btnPrint;
    KPushButton* btnOpenWithKP;
    KPushButton* btnOpenWith;

    void setPreview( const TQPixmap & pm );
    void setDelay( int i );
    void setIncludeDecorations( bool b );
    void setMode( int mode );
    int delay();
    bool includeDecorations();
    int mode();
    TQPixmap preview();

public slots:
    int previewWidth();
    int previewHeight();

signals:
    void newClicked();
    void saveClicked();
    void copyClicked();
    void printClicked();
    void openWithKPClicked();
    void startImageDrag();

protected:
    TQGridLayout* KSnapshotWidgetLayout;
    TQSpacerItem* Spacer1;
    TQVBoxLayout* layout1;
    TQSpacerItem* Spacer6;

protected slots:
    virtual void languageChange();

    void slotModeChanged( int mode );
    void slotNewClicked();
    void slotSaveClicked();
    void slotCopyClicked();
    void slotPrintClicked();
    void slotStartDrag();
    void slotOpenWithKPClicked();


private:
    TQPixmap image0;

};

#endif // KSNAPSHOTWIDGET_H
