6#include <QtQuick/qquickitem.h>
7#include <QtQuick/qquickwindow.h>
25 int time = m_currentTime;
110void QQuickAnimatedNode::advance()
113 if (
time > m_duration) {
117 if (m_loopCount > 0 && ++m_currentLoop >= m_loopCount) {
128void QQuickAnimatedNode::update()
136#include "moc_qquickanimatednode_p.cpp"
qint64 elapsed() const noexcept
Returns the number of milliseconds since this QElapsedTimer was last started.
qint64 restart() noexcept
Restarts the timer and returns the number of milliseconds elapsed since the previous start.
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
QQuickWindow * window() const
void setLoopCount(int count)
QQuickAnimatedNode(QQuickItem *target)
void setCurrentTime(int time)
void setDuration(int duration)
virtual void updateCurrentTime(int time)
void start(int duration=0)
virtual void sync(QQuickItem *target)
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
\qmltype Window \instantiates QQuickWindow \inqmlmodule QtQuick
void frameSwapped()
This signal is emitted when a frame has been queued for presenting.
void update()
Schedules the window to render another frame.
void beforeRendering()
\qmlsignal QtQuick::Window::afterSynchronizing()
Combined button and popup list for selecting options.
GLenum GLenum GLsizei count
myObject disconnect()
[26]