1 #ifndef KVI_ANIMATEDPIXMAP_H_
2 #define KVI_ANIMATEDPIXMAP_H_
97 return m_iStarted > 0;
116 return (m_pFrameData->count() > 0);
126 if(m_pFrameData->count() > 0)
127 return m_pFrameData->at(m_uCurrentFrameNumber).pixmap;
137 return m_uCurrentFrameNumber;
145 return m_pFrameData->count();
153 return m_pFrameData->size;
160 void resize(QSize newSize, Qt::AspectRatioMode ratioMode);
165 void nextFrame(
bool bEmitSignalAndScheduleNext);
Definition: KviAnimatedPixmap.h:67
Definition: KviAnimatedPixmapInterface.h:30
int m_iStarted
Definition: KviAnimatedPixmap.h:76
QString m_szFileName
Definition: KviAnimatedPixmap.h:72
uint activeFrameNumber()
Definition: KviAnimatedPixmap.h:135
uint framesCount()
Definition: KviAnimatedPixmap.h:143
bool isStarted()
Definition: KviAnimatedPixmap.h:95
uint m_uCurrentFrameNumber
Definition: KviAnimatedPixmap.h:75
KviAnimatedPixmapCache::Data * m_pFrameData
Definition: KviAnimatedPixmap.h:73
static QPixmap * dummyPixmap()
Definition: KviAnimatedPixmapCache.cpp:244
Definition: KviAnimatedPixmapCache.h:80
bool isValid()
Definition: KviAnimatedPixmap.h:114
const QSize & size()
Definition: KviAnimatedPixmap.h:151
This file contains compile time settings.
QPixmap * pixmap()
Definition: KviAnimatedPixmap.h:124
#define KVILIB_API
Definition: kvi_settings.h:125
virtual void nextFrame(bool)=0