22 #ifndef PIXMAPFILMSTRIPOBJECT_H_
23 #define PIXMAPFILMSTRIPOBJECT_H_
35 namespace FrameDirection
58 const
char * format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor );
60 const QString & fileName,
61 const
char * format = 0, Qt::ImageConversionFlags flags = Qt::AutoColor,
62 const QPoint& startOffset = QPoint(0,0));
65 virtual QSize
size() const;
66 virtual
int width() const;
67 virtual
int height() const;
68 virtual QSizeF
sizeF() const;
70 virtual
void paint(QPainter * painter);
71 virtual
void paint(QPainter * painter,const QPointF& targetOriginInPainterCS);
72 virtual
void paint(QPainter * painter,const QRectF& targetRectInPainterCS);
75 virtual
void paint(QPainter * painter,const QRect& targetRectInPainterCS,
76 const QRect& sourceRect);
78 virtual
bool valid() const;
81 virtual
void nextFrame(
bool rollOver=false);
87 virtual
void setFrameIndex(quint32 index);
97 virtual
void createFrames(const QSize& frameSize,quint32 numFrames,FrameDirection::
Enum direction,const QPoint& startOffset = QPoint(0,0));
100 virtual
void createFrames(const QList<QRect>& frameCoordinates);