kpresenter

KPrBackGround Class Reference

List of all members.

Detailed Description

Definition at line 49 of file KPrBackground.h.


Public Member Functions

 KPrBackGround (KPrPage *_page)
 ~KPrBackGround ()
void setBackType (BackType _backType)
void setBackView (BackView _backView)
void setBackColor1 (const QColor &_color)
void setBackColor2 (const QColor &_color)
void setBackColorType (BCType _bcType)
void setBackUnbalanced (bool _unbalanced)
void setBackXFactor (int _xfactor)
void setBackYFactor (int _yfactor)
void setBackPicture (const KoPicture &picture)
void setBackPicture (const KoPictureKey &key)
void setBackGround (const struct Settings &settings)
Settings getBackGround () const
KoPicture picture () const
BackType getBackType () const
BackView getBackView () const
QColor getBackColor1 () const
QColor getBackColor2 () const
BCType getBackColorType () const
KoPictureKey getBackPictureKey () const
KoPicture getBackPicture () const
bool getBackUnbalanced () const
int getBackXFactor () const
int getBackYFactor () const
void drawBackground (QPainter *_painter, const KoTextZoomHandler *zoomHandler, const QRect &crect, bool _drawBorders)
void drawBackground (QPainter *_painter, const QSize &ext, const QRect &crect, bool _drawBorders)
void reload ()
QDomElement save (QDomDocument &doc)
void load (const QDomElement &element)
void loadOasis (KoOasisContext &context)
void saveOasisBackgroundPageStyle (KoGenStyle &stylepageauto, KoGenStyles &mainStyles)

Protected Member Functions

void drawBackColor (QPainter *_painter, const QSize &ext, const QRect &crect)
void drawBackPix (QPainter *_painter, const QSize &ext, const QRect &crect)
void drawBorders (QPainter *_painter, const QSize &ext, const QRect &crect)
void removeGradient ()
void generateGradient (const QSize &size)
KoPictureCollection * pictureCollection () const
KPrGradientCollectiongradientCollection () const
QString saveOasisPictureStyle (KoGenStyles &mainStyles)

Classes

struct  Settings

Member Function Documentation

void KPrBackGround::setBackPicture ( const KoPicture &  picture  ) 

set the back picture to a new KoPicture

Definition at line 63 of file KPrBackground.cpp.


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