6#include <QtCore/qmath.h>
7#include <QtCore/qeasingcurve.h>
8#include <QtQuick/private/qquickitem_p.h>
9#include <QtQuick/private/qsgadaptationlayer_p.h>
10#include <QtQuickControls2Impl/private/qquickanimatednode_p.h>
53 m_phases[0].curve.addCubicBezierSegment(
QPointF(0.02, 0.33),
QPointF(0.38, 0.77),
QPointF(1.00, 1.00));
54 m_phases[2].curve.addCubicBezierSegment(
QPointF(0.57, 0.17),
QPointF(0.95, 0.75),
QPointF(1.00, 1.00));
55 m_phases[3].curve.addCubicBezierSegment(
QPointF(0.00, 0.19),
QPointF(0.07, 0.72),
QPointF(1.00, 1.00));
56 m_phases[5].curve.addCubicBezierSegment(
QPointF(0.00, 0.00),
QPointF(0.95, 0.37),
QPointF(1.00, 1.00));
64 while (transformNode) {
78 for (phaseIndex = 0; phaseIndex <
PhaseCount - 1; ++phaseIndex) {
81 remain -= m_phases[phaseIndex].duration;
82 elapsed += m_phases[phaseIndex].duration;
85 const Phase &phase = m_phases[phaseIndex];
91 qreal value = phase.curve.valueForProgress(
pos / phase.duration);
115 qreal radius = diameter / 2;
122 if (!transformNode) {
148 while (transformNode) {
150 delete transformNode;
168 if (m_count ==
count)
182 if (m_color ==
color)
220#include "moc_qquickuniversalbusyindicator_p.cpp"
The QColor class provides colors based on RGB, HSV or CMYK values.
Type
The type of easing curve.
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
void rotate(float angle, const QVector3D &vector)
Multiples this matrix by another that rotates coordinates through angle degrees about vector.
void translate(const QVector3D &vector)
Multiplies this matrix by another that translates coordinates by the components of vector.
\inmodule QtCore\reentrant
void setLoopCount(int count)
void setCurrentTime(int time)
void setDuration(int duration)
void start(int duration=0)
static QQuickItemPrivate * get(QQuickItem *item)
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
void setFlag(Flag flag, bool enabled=true)
Enables the specified flag for this item if enabled is true; if enabled is false, the flag is disable...
qreal width
This property holds the width of this item.
virtual void itemChange(ItemChange, const ItemChangeData &)
Called when change occurs for this item.
qreal height
This property holds the height of this item.
ItemChange
Used in conjunction with QQuickItem::itemChange() to notify the item about certain types of changes.
void update()
Schedules a call to updatePaintNode() for this item.
void updateCurrentTime(int time) override
QQuickUniversalBusyIndicatorNode(QQuickUniversalBusyIndicator *item)
void sync(QQuickItem *item) override
QQuickUniversalBusyIndicator(QQuickItem *parent=nullptr)
void itemChange(ItemChange change, const ItemChangeData &data) override
Called when change occurs for this item.
void setColor(const QColor &color)
QSGNode * updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *) override
Called on the render thread when it is time to sync the state of the item with the scene graph.
\inmodule QtCore\reentrant
virtual void setRadius(qreal radius)=0
virtual void setAntialiasing(bool antialiasing)
virtual void setRect(const QRectF &rect)=0
virtual void setColor(const QColor &color)=0
\group qtquick-scenegraph-nodes \title Qt Quick Scene Graph Node classes
QSGNode * nextSibling() const
Returns the node after this in the parent's list of children.
int childCount() const
Returns the number of child nodes.
void appendChildNode(QSGNode *node)
Appends node to this node's list of children.
QSGNode * firstChild() const
Returns the first child of this node.
NodeType type() const
Returns the type of this node.
The QSGOpacityNode class is used to change opacity of nodes.
void setOpacity(qreal opacity)
Sets the opacity of this node to opacity.
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
constexpr const T & qMin(const T &a, const T &b)
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLenum GLenum GLsizei count
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLenum GLuint GLintptr offset
static const int Interval
static const int TotalDuration
static QT_BEGIN_NAMESPACE const int PhaseCount
QtPrivate::QRegularExpressionMatchIteratorRangeBasedForIterator begin(const QRegularExpressionMatchIterator &iterator)
static double elapsed(qint64 after, qint64 before)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent