kpresenter

KPrRectObject Class Reference

Inheritance diagram for KPrRectObject:

KPr2DObject KPrShadowObject KPrObject List of all members.

Detailed Description

Definition at line 32 of file KPrRectObject.h.


Public Member Functions

 KPrRectObject ()
 KPrRectObject (const KoPen &_pen, const QBrush &_brush, FillType _fillType, const QColor &_gColor1, const QColor &_gColor2, BCType _gType, int _xRnd, int _yRnd, bool _unbalanced, int _xfactor, int _yfactor)
virtual ~KPrRectObject ()
virtual DCOPObject * dcopObject ()
KPrRectObjectoperator= (const KPrRectObject &)
virtual void setRnds (int _xRnd, int _yRnd)
virtual ObjType getType () const
virtual QString getTypeString () const
virtual void getRnds (int &_xRnd, int &_yRnd) const
virtual QDomDocumentFragment save (QDomDocument &doc, double offset)
virtual double load (const QDomElement &element)
virtual void loadOasis (const QDomElement &element, KoOasisContext &context, KPrLoadingInfo *info)

Protected Member Functions

virtual const char * getOasisElementName () const
virtual bool saveOasisObjectAttributes (KPOasisSaveContext &sc) const
virtual void paint (QPainter *_painter, KoTextZoomHandler *_zoomHandler, int, bool drawingShadow, bool drawContour)

Protected Attributes

int xRnd
int yRnd

Member Function Documentation

const char * KPrRectObject::getOasisElementName  )  const [protected, virtual]
 

Get the element name for saving the object.

Implements KPrObject.

Definition at line 97 of file KPrRectObject.cpp.

void KPrRectObject::paint QPainter *  _painter,
KoTextZoomHandler *  _zoomHandler,
int  ,
bool  drawingShadow,
bool  drawContour
[protected, virtual]
 

This method is to be implemented by all KPShadowObjects, to draw themselves.

draw() took care of the shadow and of preparing painter for rotation. paint() must take care of the gradient itself!

Parameters:
drawingShadow true if called to draw the shadow of the object. Usually objects will want to draw a simpler version of themselves in that case.
This method isn't pure virtual because some objects implement draw() directly.

Reimplemented from KPrShadowObject.

Definition at line 173 of file KPrRectObject.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys