LunaSysMgr
|
#include <pixmapfilmstripobject.h>
Public Member Functions | |
PixmapFilmstripObject (const QList< QRect > frameCoordinates, const QString &fileName, const char *format=0, Qt::ImageConversionFlags flags=Qt::AutoColor) | |
PixmapFilmstripObject (const QSize &frameSize, quint32 numFrames, FrameDirection::Enum direction, const QString &fileName, const char *format=0, Qt::ImageConversionFlags flags=Qt::AutoColor, const QPoint &startOffset=QPoint(0, 0)) | |
virtual | ~PixmapFilmstripObject () |
virtual QSize | size () const |
virtual int | width () const |
virtual int | height () const |
virtual QSizeF | sizeF () 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 bool | valid () const |
virtual void | nextFrame (bool rollOver=false) |
virtual void | rewind () |
virtual void | setFrameIndex (quint32 index) |
virtual quint32 | frameIndex () const |
virtual quint32 | totalFrames () const |
virtual QSize | minFrame () const |
virtual QSize | maxFrame () const |
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 PixmapObject * | clone () |
virtual | ~PixmapObject () |
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 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 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 Attributes | |
static const char * | FrameIndexPropertyName = "frameindex" |
static const char * | TotalFramesPropertyName = "totalframes" |
Protected Member Functions | |
virtual void | createFrames (const QSize &frameSize, quint32 numFrames, FrameDirection::Enum direction, const QPoint &startOffset=QPoint(0, 0)) |
virtual void | createFrames (const QList< QRect > &frameCoordinates) |
Protected Member Functions inherited from PixmapObject | |
PixmapObject (QPixmap *p_pixmap) | |
PixmapObject (const QUuid &specificUid) | |
Protected Attributes | |
quint32 | m_currentFrameIndex |
QRect | m_currentFrameRect |
QSize | m_minFrameSize |
QSize | m_maxFrameSize |
QList< QRect > | m_frames |
Protected Attributes inherited from PixmapObject | |
QUuid | m_uid |
QPixmap * | pm |
bool | m_destroyEmitted |
Properties | |
quint32 | frameindex |
quint32 | totalframes |
Additional Inherited Members | |
Signals inherited from PixmapObject | |
void | signalObjectDestroyed () |
Static Public Member Functions inherited from PixmapObject | |
static quint64 | sizeOfPixmap (const QPixmap *p_pixmap) |
static quint64 | sizeOfPixmap (quint32 width, quint32 height) |
PixmapFilmstripObject::PixmapFilmstripObject | ( | const QList< QRect > | frameCoordinates, |
const QString & | fileName, | ||
const char * | format = 0 , |
||
Qt::ImageConversionFlags | flags = Qt::AutoColor |
||
) |
PixmapFilmstripObject::PixmapFilmstripObject | ( | const QSize & | frameSize, |
quint32 | numFrames, | ||
FrameDirection::Enum | direction, | ||
const QString & | fileName, | ||
const char * | format = 0 , |
||
Qt::ImageConversionFlags | flags = Qt::AutoColor , |
||
const QPoint & | startOffset = QPoint(0,0) |
||
) |
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
|
virtual |
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
|
virtual |
Reimplemented from PixmapObject.
|
virtual |
Reimplemented from PixmapObject.
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
readwrite |
|
read |