kpresenter
KPrPixmapObject Class Reference
Inheritance diagram for KPrPixmapObject:

Detailed Description
Definition at line 38 of file KPrPixmapObject.h.
Public Member Functions | |
KPrPixmapObject (KoPictureCollection *_imageCollection) | |
KPrPixmapObject (KoPictureCollection *_imageCollection, const KoPictureKey &key) | |
virtual | ~KPrPixmapObject () |
KPrPixmapObject & | operator= (const KPrPixmapObject &) |
virtual DCOPObject * | dcopObject () |
QString | getFileName () const |
KoPictureKey | getKey () const |
QSize | originalSize () const |
void | setPixmap (const KoPictureKey &key) KDE_DEPRECATED |
void | setPicture (const KoPictureKey &key) |
void | reload (void) |
virtual ObjType | getType () const |
virtual QString | getTypeString () const |
virtual QDomDocumentFragment | save (QDomDocument &doc, double offset) |
virtual double | load (const QDomElement &element) |
virtual void | loadOasis (const QDomElement &element, KoOasisContext &context, KPrLoadingInfo *info) |
virtual void | draw (QPainter *_painter, KoTextZoomHandler *_zoomHandler, int, SelectionMode selectionMode, bool drawContour=FALSE) |
QPixmap | getOriginalPixmap () |
PictureMirrorType | getPictureMirrorType () const |
int | getPictureDepth () const |
bool | getPictureSwapRGB () const |
bool | getPictureGrayscal () const |
int | getPictureBright () const |
ImageEffect | getImageEffect () const |
QVariant | getIEParam1 () const |
QVariant | getIEParam2 () const |
QVariant | getIEParam3 () const |
void | setImageEffect (ImageEffect eff) |
void | setIEParams (QVariant p1, QVariant p2, QVariant p3) |
void | setPictureMirrorType (const PictureMirrorType &_mirrorType) |
void | setPictureDepth (int _depth) |
void | setPictureSwapRGB (bool _swapRGB) |
void | setPictureGrayscal (bool _grayscal) |
void | setPictureBright (int _bright) |
KoPicture | picture () const |
void | loadImage (const QString &fileName) KDE_DEPRECATED |
void | loadPicture (const QString &fileName) |
virtual void | flip (bool horizontal) |
Protected Member Functions | |
virtual const char * | getOasisElementName () const |
virtual bool | saveOasisObjectAttributes (KPOasisSaveContext &sc) const |
KPrPixmapObject () | |
QPixmap | changePictureSettings (QPixmap _tmpPixmap) |
virtual void | saveOasisPictureElement (KoGenStyle &styleobjectauto) const |
void | loadOasisPictureEffect (KoOasisContext &context) |
virtual void | fillStyle (KoGenStyle &styleObjectAuto, KoGenStyles &mainStyles) const |
void | drawShadow (QPainter *_painter, KoZoomHandler *_zoomHandler) |
QPixmap | generatePixmap (KoZoomHandler *_zoomHandler) |
QString | convertValueToPercent (int val) const |
Protected Attributes | |
KoPictureCollection * | imageCollection |
KoPicture | image |
PictureMirrorType | mirrorType |
PictureMirrorType | m_cachedMirrorType |
int | depth |
int | m_cachedDepth |
bool | swapRGB |
bool | m_cachedSwapRGB |
bool | grayscal |
bool | m_cachedGrayscal |
int | bright |
int | m_cachedBright |
ImageEffect | m_effect |
ImageEffect | m_cachedEffect |
QVariant | m_ie_par1 |
QVariant | m_cachedPar1 |
QVariant | m_ie_par2 |
QVariant | m_cachedPar2 |
QVariant | m_ie_par3 |
QVariant | m_cachedPar3 |
QPixmap | m_cachedPixmap |
QRect | m_cachedRect |
Member Function Documentation
QString KPrPixmapObject::getFileName | ( | ) | const [inline] |
Only used as a default value in the filedialog, in changePicture.
- Warning:
- Do not use for anything else
Definition at line 54 of file KPrPixmapObject.h.
const char * KPrPixmapObject::getOasisElementName | ( | ) | const [protected, virtual] |
Get the element name for saving the object.
Implements KPrObject.
Definition at line 217 of file KPrPixmapObject.cpp.
void KPrPixmapObject::loadImage | ( | const QString & | fileName | ) |
Deprecated, please use KPrPixmapObject::loadPicture.
Definition at line 224 of file KPrPixmapObject.cpp.
void KPrPixmapObject::setPixmap | ( | const KoPictureKey & | key | ) |
Deprecated, please use KPrPixmapObject::setPicture.
Definition at line 240 of file KPrPixmapObject.cpp.
The documentation for this class was generated from the following files: