LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PixmapObject Class Reference

#include <pixmapobject.h>

Inheritance diagram for PixmapObject:
[legend]
Collaboration diagram for PixmapObject:
[legend]

Signals

void signalObjectDestroyed ()
 

Public Member Functions

 PixmapObject ()
 
 PixmapObject (int width, int height)
 
 PixmapObject (const QString &fileName, const char *format=0, Qt::ImageConversionFlags flags=Qt::AutoColor)
 
 PixmapObject (const QString &fileName, const QSize &desiredSize, bool limitOnly=true, const char *format=0, Qt::ImageConversionFlags flags=Qt::AutoColor)
 
virtual PixmapObjectclone ()
 
virtual ~PixmapObject ()
 
virtual bool valid () const
 
virtual QUuid id () const
 
virtual void setId (const QUuid &uid)
 
virtual void setId (const QString &quuid_as_string)
 
virtual bool resize (const quint32 w, const quint32 h)
 
virtual bool resize (const QSize &size)
 
virtual QSize size () const
 
virtual int width () const
 
virtual int height () const
 
virtual QSizeF sizeF () const
 
virtual quint64 sizeOf () const
 
virtual bool isSquare () const
 
virtual QSize nativeSize () const
 
virtual int nativeWidth () const
 
virtual int nativeHeight () const
 
virtual QSizeF nativeSizeF () const
 
virtual void fill (const QColor &c)
 
virtual void paint (QPainter *painter)
 
virtual void paint (QPainter *painter, const QPointF &targetOriginInPainterCS)
 
virtual void paint (QPainter *painter, const QRectF &targetRectInPainterCS)
 
virtual void paint (QPainter *painter, const QRect &targetRectInPainterCS, const QRect &sourceRect)
 
virtual QPoint translatePaintTargetPointToPixmapPoint (const QPoint &point, const QRect &sourceRect, const QRect &destRect)
 
virtual QVector< qint32 > translatePaintTargetPointToPixmapPointEx (const QPoint &point, const QRect &sourceRect, const QRect &destRect)
 
virtual QPixmap * operator-> () const
 
virtual QPixmap & operator* () const
 
virtual operator QPixmap * () const
 
virtual QPixmap * data () const
 

Static Public Member Functions

static quint64 sizeOfPixmap (const QPixmap *p_pixmap)
 
static quint64 sizeOfPixmap (quint32 width, quint32 height)
 

Protected Member Functions

 PixmapObject (QPixmap *p_pixmap)
 
 PixmapObject (const QUuid &specificUid)
 

Protected Attributes

QUuid m_uid
 
QPixmap * pm
 
bool m_destroyEmitted
 

Friends

class VirtualCamera
 
class PixmapObjectLoader
 
class PixPager
 
class PixPagerPage
 
class PixPagerAtlasPage
 

Constructor & Destructor Documentation

PixmapObject::PixmapObject ( )
PixmapObject::PixmapObject ( int  width,
int  height 
)
PixmapObject::PixmapObject ( const QString &  fileName,
const char *  format = 0,
Qt::ImageConversionFlags  flags = Qt::AutoColor 
)
PixmapObject::PixmapObject ( const QString &  fileName,
const QSize &  desiredSize,
bool  limitOnly = true,
const char *  format = 0,
Qt::ImageConversionFlags  flags = Qt::AutoColor 
)
PixmapObject::~PixmapObject ( )
virtual
PixmapObject::PixmapObject ( QPixmap *  p_pixmap)
protected
PixmapObject::PixmapObject ( const QUuid &  specificUid)
protected

Member Function Documentation

virtual PixmapObject* PixmapObject::clone ( )
inlinevirtual
virtual QPixmap* PixmapObject::data ( ) const
inlinevirtual

Reimplemented in PixmapHugeObject.

void PixmapObject::fill ( const QColor &  c)
virtual

Reimplemented in PixmapJUPOCRefObject, and PixmapJUPOCObject.

QUuid PixmapObject::id ( ) const
virtual
bool PixmapObject::isSquare ( ) const
virtual

Reimplemented in PixmapHugeObject, and PixmapJUPOCRefObject.

int PixmapObject::nativeHeight ( ) const
virtual

Reimplemented in PixmapJUPOCRefObject.

QSize PixmapObject::nativeSize ( ) const
virtual

Reimplemented in PixmapJUPOCRefObject.

QSizeF PixmapObject::nativeSizeF ( ) const
virtual

Reimplemented in PixmapJUPOCRefObject.

int PixmapObject::nativeWidth ( ) const
virtual

Reimplemented in PixmapJUPOCRefObject.

virtual PixmapObject::operator QPixmap * ( ) const
inlinevirtual

Reimplemented in PixmapHugeObject.

virtual QPixmap& PixmapObject::operator* ( ) const
inlinevirtual

Reimplemented in PixmapHugeObject.

virtual QPixmap* PixmapObject::operator-> ( ) const
inlinevirtual

Reimplemented in PixmapHugeObject.

void PixmapObject::paint ( QPainter *  painter)
virtual
void PixmapObject::paint ( QPainter *  painter,
const QPointF &  targetOriginInPainterCS 
)
virtual
void PixmapObject::paint ( QPainter *  painter,
const QRectF &  targetRectInPainterCS 
)
virtual
void PixmapObject::paint ( QPainter *  painter,
const QRect &  targetRectInPainterCS,
const QRect &  sourceRect 
)
virtual
bool PixmapObject::resize ( const quint32  w,
const quint32  h 
)
virtual
bool PixmapObject::resize ( const QSize &  size)
virtual
void PixmapObject::setId ( const QUuid &  uid)
virtual
void PixmapObject::setId ( const QString &  quuid_as_string)
virtual
void PixmapObject::signalObjectDestroyed ( )
signal
QSize PixmapObject::size ( ) const
virtual
QSizeF PixmapObject::sizeF ( ) const
virtual
quint64 PixmapObject::sizeOf ( ) const
virtual

Reimplemented in PixmapHugeObject, and PixmapJUPOCRefObject.

quint64 PixmapObject::sizeOfPixmap ( const QPixmap *  p_pixmap)
static
quint64 PixmapObject::sizeOfPixmap ( quint32  width,
quint32  height 
)
static
QPoint PixmapObject::translatePaintTargetPointToPixmapPoint ( const QPoint &  point,
const QRect &  sourceRect,
const QRect &  destRect 
)
virtual

Reimplemented in PixmapHugeObject.

QVector< qint32 > PixmapObject::translatePaintTargetPointToPixmapPointEx ( const QPoint &  point,
const QRect &  sourceRect,
const QRect &  destRect 
)
virtual

Reimplemented in PixmapHugeObject.

bool PixmapObject::valid ( ) const
virtual

Friends And Related Function Documentation

friend class PixmapObjectLoader
friend
friend class PixPager
friend
friend class PixPagerAtlasPage
friend
friend class PixPagerPage
friend
friend class VirtualCamera
friend

Member Data Documentation

bool PixmapObject::m_destroyEmitted
protected
QUuid PixmapObject::m_uid
protected
QPixmap* PixmapObject::pm
protected

The documentation for this class was generated from the following files: