1#ifndef __textpreview_h__
2#define __textpreview_h__
7class KPrTextPreview : public TQFrame
13 KPrTextPreview( TQWidget* parent, const char* name = 0 );
16 void setShadowDirection( ShadowDirection sd ) { shadowDirection = sd; repaint( true ); }
17 void setShadowDistance( int sd ) { shadowDistance = sd; repaint( true ); }
18 void setShadowColor( const TQColor &sc ) { shadowColor = sc; repaint( true ); }
19 void setAngle( double a ) { angle = a; repaint( true ); }
22 void drawContents( TQPainter* );
24 ShadowDirection shadowDirection;
|