Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Additional Inherited Members | |
Public Types inherited from QObjectPrivate | |
typedef void(*) | StaticMetaCallFunction(QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData> |
Static Public Member Functions inherited from QObjectPrivate | |
static bool | removeConnection (Connection *c) |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (const QObject *o) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Definition at line 190 of file qmovie.cpp.
QMoviePrivate::QMoviePrivate | ( | QMovie * | ) |
Definition at line 241 of file qmovie.cpp.
QMoviePrivate::QMoviePrivate | ( | QMovie * | ) |
void QMoviePrivate::_q_loadNextFrame | ( | ) |
Definition at line 467 of file qmovie.cpp.
References _q_loadNextFrame().
Referenced by jumpToFrame().
void QMoviePrivate::_q_loadNextFrame | ( | ) |
void QMoviePrivate::_q_loadNextFrame | ( | bool | starting | ) |
Definition at line 472 of file qmovie.cpp.
References isDone(), isFirstIteration, next(), nextFrameNumber, and playCounter.
Referenced by _q_loadNextFrame().
void QMoviePrivate::_q_loadNextFrame | ( | bool | starting | ) |
|
inline |
Definition at line 206 of file qmovie.cpp.
|
inline |
Definition at line 206 of file qmovie.cpp.
int QMoviePrivate::frameCount | ( | ) | const |
Definition at line 548 of file qmovie.cpp.
References greatestFrameNumber, and reader.
Referenced by infoForFrame().
int QMoviePrivate::frameCount | ( | ) | const |
QFrameInfo QMoviePrivate::infoForFrame | ( | int | frameNumber | ) |
Returns the QFrameInfo for the given frameNumber.
If the frame number is invalid, an invalid QFrameInfo is returned.
If the end of the animation has been reached, a special end marker QFrameInfo is returned.
Definition at line 296 of file qmovie.cpp.
References QFrameInfo::QFrameInfo(), currentFrameNumber, QFrameInfo::endMarker(), frameCount(), greatestFrameNumber, and reader.
Referenced by next().
QFrameInfo QMoviePrivate::infoForFrame | ( | int | frameNumber | ) |
bool QMoviePrivate::isDone | ( | ) |
Definition at line 266 of file qmovie.cpp.
References playCounter.
Referenced by _q_loadNextFrame().
bool QMoviePrivate::isDone | ( | ) |
bool QMoviePrivate::isValid | ( | ) | const |
Definition at line 511 of file qmovie.cpp.
References greatestFrameNumber, and reader.
bool QMoviePrivate::isValid | ( | ) | const |
bool QMoviePrivate::jumpToFrame | ( | int | frameNumber | ) |
Definition at line 532 of file qmovie.cpp.
References _q_loadNextFrame(), currentFrameNumber, and nextFrameNumber.
Referenced by jumpToNextFrame().
bool QMoviePrivate::jumpToFrame | ( | int | frameNumber | ) |
bool QMoviePrivate::jumpToNextFrame | ( | ) |
Definition at line 561 of file qmovie.cpp.
References currentFrameNumber, and jumpToFrame().
bool QMoviePrivate::jumpToNextFrame | ( | ) |
bool QMoviePrivate::next | ( | ) |
Attempts to advance the animation to the next frame. If successful, currentFrameNumber, currentPixmap and nextDelay are updated accordingly, and true is returned. Otherwise, false is returned. When false is returned, isDone() can be called to determine whether the animation ended gracefully or an error occurred when reading the frame.
Definition at line 420 of file qmovie.cpp.
References currentFrameNumber, QFrameInfo::delay, infoForFrame(), QFrameInfo::isEndMarker(), isFirstIteration, QFrameInfo::isValid(), next(), nextDelay, nextFrameNumber, playCounter, reader, and speedAdjustedDelay().
Referenced by _q_loadNextFrame(), and next().
bool QMoviePrivate::next | ( | ) |
QMoviePrivate::Q_OBJECT_BINDABLE_PROPERTY_WITH_ARGS | ( | QMoviePrivate | , |
QMovie::CacheMode | , | ||
cacheMode | , | ||
QMovie::CacheNone | ) |
QMoviePrivate::Q_OBJECT_BINDABLE_PROPERTY_WITH_ARGS | ( | QMoviePrivate | , |
QMovie::CacheMode | , | ||
cacheMode | , | ||
QMovie::CacheNone | ) |
void QMoviePrivate::reset | ( | ) |
Definition at line 249 of file qmovie.cpp.
References currentFrameNumber, greatestFrameNumber, isFirstIteration, nextDelay, nextFrameNumber, and playCounter.
void QMoviePrivate::reset | ( | ) |
|
inline |
Definition at line 217 of file qmovie.cpp.
|
inline |
Definition at line 217 of file qmovie.cpp.
int QMoviePrivate::speedAdjustedDelay | ( | int | delay | ) | const |
Given the original delay, this function returns the actual number of milliseconds to delay according to the current speed. E.g. if the speed is 200%, the result will be half of the original delay.
Definition at line 279 of file qmovie.cpp.
Referenced by next().
int QMoviePrivate::speedAdjustedDelay | ( | int | delay | ) | const |
QString QMoviePrivate::absoluteFilePath |
Definition at line 234 of file qmovie.cpp.
int QMoviePrivate::currentFrameNumber = -1 |
Definition at line 223 of file qmovie.cpp.
Referenced by infoForFrame(), jumpToFrame(), jumpToNextFrame(), next(), and reset().
QPixmap QMoviePrivate::currentPixmap |
Definition at line 222 of file qmovie.cpp.
QMap< int, QFrameInfo > QMoviePrivate::frameMap |
Definition at line 233 of file qmovie.cpp.
QRect QMoviePrivate::frameRect |
Definition at line 221 of file qmovie.cpp.
int QMoviePrivate::greatestFrameNumber = -1 |
Definition at line 225 of file qmovie.cpp.
Referenced by frameCount(), infoForFrame(), isValid(), and reset().
qint64 QMoviePrivate::initialDevicePos = 0 |
Definition at line 228 of file qmovie.cpp.
bool QMoviePrivate::isFirstIteration = true |
Definition at line 232 of file qmovie.cpp.
Referenced by _q_loadNextFrame(), next(), and reset().
QMovie::MovieState QMoviePrivate::movieState = QMovie::NotRunning |
Definition at line 220 of file qmovie.cpp.
int QMoviePrivate::nextDelay = 0 |
Definition at line 226 of file qmovie.cpp.
int QMoviePrivate::nextFrameNumber = 0 |
Definition at line 224 of file qmovie.cpp.
Referenced by _q_loadNextFrame(), jumpToFrame(), next(), and reset().
QTimer QMoviePrivate::nextImageTimer |
Definition at line 236 of file qmovie.cpp.
int QMoviePrivate::playCounter = -1 |
Definition at line 227 of file qmovie.cpp.
Referenced by _q_loadNextFrame(), isDone(), next(), and reset().
QImageReader * QMoviePrivate::reader = nullptr |
Definition at line 215 of file qmovie.cpp.
Referenced by frameCount(), infoForFrame(), isValid(), and next().