20#ifndef __VSTROKEFILLPREVIEW_H__
21#define __VSTROKEFILLPREVIEW_H__
31class VStrokeFillPreview : public TQFrame
37 VStrokeFillPreview( KarbonPart *part, TQWidget* parent = 0L, const char* name = 0L );
38 ~VStrokeFillPreview();
40 virtual TQSize sizeHint() const
41 { return TQSize( 50, 50 ); }
42 virtual TQSize minimumSizeHint() const
43 { return TQSize( 20, 20 ); }
44 virtual TQSizePolicy sizePolicy() const
45 { return TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding ); }
49 virtual bool eventFilter( TQObject* object, TQEvent* event );
51 bool strokeIsSelected() const { return m_strokeWidget; }
52 void setFillSelected();
53 void setStrokeSelected();
55 void strokeChanged( const VStroke & );
56 void fillChanged( const VFill& );
58 void strokeSelected();
61 virtual void paintEvent( TQPaintEvent* event );
64 VKoPainter* m_painter;
65 void drawFill( const VFill & );
66 void drawStroke( const VStroke & );
Keeps track of visual per document properties.
Manages the fill of shapes.
Manages stroke properties.
|