23#ifndef PICTUREPREVIEW_H
24#define PICTUREPREVIEW_H
30class KPrPicturePreview : public TQFrame
36 KPrPicturePreview( TQWidget* parent, const char* name);
37 ~KPrPicturePreview() {}
39 void setDepth( int depth);
40 void setMirrorType (PictureMirrorType _t);
41 void setPicturePixmap( const TQPixmap &_pixmap);
43 int getDepth() const { return depth; }
46 void slotNormalPicture();
47 void slotHorizontalMirrorPicture();
48 void slotVerticalMirrorPicture();
49 void slotHorizontalAndVerticalMirrorPicture();
51 void slotPictureDepth0();
52 void slotPictureDepth1();
53 void slotPictureDepth8();
54 void slotPictureDepth16();
55 void slotPictureDepth32();
57 void slotSwapRGBPicture( bool _on );
59 void slotGrayscalPicture( bool _on );
61 void slotBrightValue( int _value );
64 virtual void drawContents( TQPainter *painter );
66 PictureMirrorType mirrorType;
|