Qt 4.8
Public Functions | Static Public Functions | Public Variables | List of all members
QFrameInfo Class Reference

Public Functions

bool isEndMarker ()
 
bool isValid ()
 
 QFrameInfo (bool endMark)
 
 QFrameInfo ()
 
 QFrameInfo (const QPixmap &pixmap, int delay)
 

Static Public Functions

static QFrameInfo endMarker ()
 

Public Variables

int delay
 
bool endMark
 
QPixmap pixmap
 

Detailed Description

Definition at line 227 of file qmovie.cpp.

Constructors and Destructors

◆ QFrameInfo() [1/3]

QFrameInfo::QFrameInfo ( bool  endMark)
inline

Definition at line 233 of file qmovie.cpp.

235  { }
QPixmap pixmap
Definition: qmovie.cpp:230
#define QMOVIE_INVALID_DELAY
Definition: qmovie.cpp:223
bool endMark
Definition: qmovie.cpp:232
The QPixmap class is an off-screen image representation that can be used as a paint device...
Definition: qpixmap.h:71
int delay
Definition: qmovie.cpp:231

◆ QFrameInfo() [2/3]

QFrameInfo::QFrameInfo ( )
inline

Definition at line 237 of file qmovie.cpp.

Referenced by endMarker().

239  { }
QPixmap pixmap
Definition: qmovie.cpp:230
#define QMOVIE_INVALID_DELAY
Definition: qmovie.cpp:223
bool endMark
Definition: qmovie.cpp:232
The QPixmap class is an off-screen image representation that can be used as a paint device...
Definition: qpixmap.h:71
int delay
Definition: qmovie.cpp:231

◆ QFrameInfo() [3/3]

QFrameInfo::QFrameInfo ( const QPixmap pixmap,
int  delay 
)
inline

Definition at line 241 of file qmovie.cpp.

242  : pixmap(pixmap), delay(delay), endMark(false)
243  { }
QPixmap pixmap
Definition: qmovie.cpp:230
bool endMark
Definition: qmovie.cpp:232
int delay
Definition: qmovie.cpp:231

Functions

◆ endMarker()

static QFrameInfo QFrameInfo::endMarker ( )
inlinestatic

Definition at line 253 of file qmovie.cpp.

Referenced by QMoviePrivate::infoForFrame().

254  { return QFrameInfo(true); }
QFrameInfo()
Definition: qmovie.cpp:237

◆ isEndMarker()

bool QFrameInfo::isEndMarker ( )
inline

Definition at line 250 of file qmovie.cpp.

Referenced by QMoviePrivate::next().

251  { return endMark; }
bool endMark
Definition: qmovie.cpp:232

◆ isValid()

bool QFrameInfo::isValid ( )
inline

Definition at line 245 of file qmovie.cpp.

Referenced by QMoviePrivate::next().

246  {
247  return endMark || !(pixmap.isNull() && (delay == QMOVIE_INVALID_DELAY));
248  }
QPixmap pixmap
Definition: qmovie.cpp:230
#define QMOVIE_INVALID_DELAY
Definition: qmovie.cpp:223
bool endMark
Definition: qmovie.cpp:232
bool isNull() const
Returns true if this is a null pixmap; otherwise returns false.
Definition: qpixmap.cpp:615
int delay
Definition: qmovie.cpp:231

Properties

◆ delay

int QFrameInfo::delay

Definition at line 231 of file qmovie.cpp.

Referenced by QMoviePrivate::next().

◆ endMark

bool QFrameInfo::endMark

Definition at line 232 of file qmovie.cpp.

Referenced by isEndMarker().

◆ pixmap

QPixmap QFrameInfo::pixmap

Definition at line 230 of file qmovie.cpp.

Referenced by QMoviePrivate::next().


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