![]() |
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 193 of file qmovie.cpp.
QMoviePrivate::QMoviePrivate | ( | ) |
Definition at line 247 of file qmovie.cpp.
QMoviePrivate::QMoviePrivate | ( | ) |
void QMoviePrivate::_q_loadNextFrame | ( | ) |
Definition at line 481 of file qmovie.cpp.
References _q_loadNextFrame().
Referenced by jumpToFrame().
void QMoviePrivate::_q_loadNextFrame | ( | ) |
void QMoviePrivate::_q_loadNextFrame | ( | bool | starting | ) |
Definition at line 486 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 212 of file qmovie.cpp.
|
inline |
Definition at line 212 of file qmovie.cpp.
int QMoviePrivate::frameCount | ( | ) | const |
Definition at line 562 of file qmovie.cpp.
References greatestFrameNumber.
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 310 of file qmovie.cpp.
References currentFrameNumber, frameCount(), and greatestFrameNumber.
Referenced by next().
QFrameInfo QMoviePrivate::infoForFrame | ( | int | frameNumber | ) |
void QMoviePrivate::init | ( | QMovie * | qq, |
std::unique_ptr< QImageReader > | r ) |
Definition at line 251 of file qmovie.cpp.
void QMoviePrivate::init | ( | QMovie * | qq, |
std::unique_ptr< QImageReader > | r ) |
bool QMoviePrivate::isDone | ( | ) |
Definition at line 280 of file qmovie.cpp.
References playCounter.
Referenced by _q_loadNextFrame().
bool QMoviePrivate::isDone | ( | ) |
bool QMoviePrivate::isValid | ( | ) | const |
Definition at line 525 of file qmovie.cpp.
References greatestFrameNumber.
bool QMoviePrivate::isValid | ( | ) | const |
bool QMoviePrivate::jumpToFrame | ( | int | frameNumber | ) |
Definition at line 546 of file qmovie.cpp.
References _q_loadNextFrame(), currentFrameNumber, and nextFrameNumber.
Referenced by jumpToNextFrame().
bool QMoviePrivate::jumpToFrame | ( | int | frameNumber | ) |
bool QMoviePrivate::jumpToNextFrame | ( | ) |
Definition at line 575 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 434 of file qmovie.cpp.
References currentFrameNumber, infoForFrame(), isFirstIteration, next(), nextDelay, nextFrameNumber, playCounter, 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 263 of file qmovie.cpp.
References currentFrameNumber, greatestFrameNumber, isFirstIteration, nextDelay, nextFrameNumber, and playCounter.
void QMoviePrivate::reset | ( | ) |
|
inline |
Definition at line 223 of file qmovie.cpp.
|
inline |
Definition at line 223 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 293 of file qmovie.cpp.
Referenced by next().
int QMoviePrivate::speedAdjustedDelay | ( | int | delay | ) | const |
QString QMoviePrivate::absoluteFilePath |
Definition at line 240 of file qmovie.cpp.
int QMoviePrivate::currentFrameNumber = -1 |
Definition at line 229 of file qmovie.cpp.
Referenced by infoForFrame(), jumpToFrame(), jumpToNextFrame(), next(), and reset().
QPixmap QMoviePrivate::currentPixmap |
Definition at line 228 of file qmovie.cpp.
std::map< int, QFrameInfo > QMoviePrivate::frameMap |
Definition at line 239 of file qmovie.cpp.
QRect QMoviePrivate::frameRect |
Definition at line 227 of file qmovie.cpp.
int QMoviePrivate::greatestFrameNumber = -1 |
Definition at line 231 of file qmovie.cpp.
Referenced by frameCount(), infoForFrame(), isValid(), and reset().
qint64 QMoviePrivate::initialDevicePos = 0 |
Definition at line 234 of file qmovie.cpp.
bool QMoviePrivate::isFirstIteration = true |
Definition at line 238 of file qmovie.cpp.
Referenced by _q_loadNextFrame(), next(), and reset().
QMovie::MovieState QMoviePrivate::movieState = QMovie::NotRunning |
Definition at line 226 of file qmovie.cpp.
int QMoviePrivate::nextDelay = 0 |
Definition at line 232 of file qmovie.cpp.
int QMoviePrivate::nextFrameNumber = 0 |
Definition at line 230 of file qmovie.cpp.
Referenced by _q_loadNextFrame(), jumpToFrame(), next(), and reset().
QTimer * QMoviePrivate::nextImageTimer = nullptr |
Definition at line 242 of file qmovie.cpp.
int QMoviePrivate::playCounter = -1 |
Definition at line 233 of file qmovie.cpp.
Referenced by _q_loadNextFrame(), isDone(), next(), and reset().
std::unique_ptr< QImageReader > QMoviePrivate::reader = nullptr |
Definition at line 221 of file qmovie.cpp.