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

#include <pixmapjupocobject.h>

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

Public Member Functions

QUuid addPart (QPixmap &srcPixmap, const QRect &srcRect=QRect())
 public: More...
 
PixmapJUPOCRefObjectaddAndGetPart (QPixmap &srcPixmap, const QRect &srcRect=QRect())
 
PixmapJUPOCRefObjectgetPart (const QUuid &partUid)
 
virtual void fill (const QColor &c)
 
virtual ~PixmapJUPOCObject ()
 
- Public Member Functions inherited from PixmapObject
 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 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 PixmapJUPOCRefObjecttransfer (PixmapJUPOCObject *p_jupoc, PixmapObject *p_src)
 
static PixmapJUPOCObjectnewJUPOC (quint32 width, quint32 height)
 
- Static Public Member Functions inherited from PixmapObject
static quint64 sizeOfPixmap (const QPixmap *p_pixmap)
 
static quint64 sizeOfPixmap (quint32 width, quint32 height)
 

Protected Member Functions

 PixmapJUPOCObject (int width, int height)
 protected: More...
 
virtual QRect findSpace (QSize s)
 
bool advanceRow (quint32 heightNeeded)
 
int trySize (QSize s, QRect &r_rect)
 
- Protected Member Functions inherited from PixmapObject
 PixmapObject (QPixmap *p_pixmap)
 
 PixmapObject (const QUuid &specificUid)
 

Protected Attributes

QMap< QUuid, QRect > m_parts
 
QRect m_gridLocator
 
QRect m_lastRectAdded
 
- Protected Attributes inherited from PixmapObject
QUuid m_uid
 
QPixmap * pm
 
bool m_destroyEmitted
 

Friends

class PixmapJUPOCRefObject
 

Additional Inherited Members

- Signals inherited from PixmapObject
void signalObjectDestroyed ()
 

Constructor & Destructor Documentation

PixmapJUPOCObject::~PixmapJUPOCObject ( )
virtual
PixmapJUPOCObject::PixmapJUPOCObject ( int  width,
int  height 
)
protected

protected:

Member Function Documentation

PixmapJUPOCRefObject * PixmapJUPOCObject::addAndGetPart ( QPixmap &  srcPixmap,
const QRect &  srcRect = QRect() 
)
QUuid PixmapJUPOCObject::addPart ( QPixmap &  srcPixmap,
const QRect &  srcRect = QRect() 
)

public:

bool PixmapJUPOCObject::advanceRow ( quint32  heightNeeded)
protected
void PixmapJUPOCObject::fill ( const QColor &  c)
virtual

Reimplemented from PixmapObject.

QRect PixmapJUPOCObject::findSpace ( QSize  s)
protectedvirtual
PixmapJUPOCRefObject * PixmapJUPOCObject::getPart ( const QUuid &  partUid)
PixmapJUPOCObject * PixmapJUPOCObject::newJUPOC ( quint32  width,
quint32  height 
)
static
PixmapJUPOCRefObject * PixmapJUPOCObject::transfer ( PixmapJUPOCObject p_jupoc,
PixmapObject p_src 
)
static
int PixmapJUPOCObject::trySize ( QSize  s,
QRect &  r_rect 
)
protected

Friends And Related Function Documentation

friend class PixmapJUPOCRefObject
friend

Member Data Documentation

QRect PixmapJUPOCObject::m_gridLocator
protected
QRect PixmapJUPOCObject::m_lastRectAdded
protected
QMap<QUuid,QRect> PixmapJUPOCObject::m_parts
protected

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