6#include <QtQuick/private/qquickitem_p.h>
7#include <QtQuick/private/qsgadaptationlayer_p.h>
8#include <QtQuickControls2Impl/private/qquickanimatednode_p.h>
55 const qreal firstPhaseProgress = percentageComplete <= 0.5 ? percentageComplete * 2 : 0;
56 const qreal secondPhaseProgress = percentageComplete > 0.5 ? (percentageComplete - 0.5) * 2 : 0;
79 const qreal dx = (
w - sz) / 2;
80 const qreal dy = (
h - sz) / 2;
81 const int circleRadius = sz / 12;
97 m.translate(dx +
pos.x(), dy +
pos.y());
192#include "moc_qquickbasicbusyindicator_p.cpp"
The QColor class provides colors based on RGB, HSV or CMYK values.
static QColor fromRgba(QRgb rgba) noexcept
Static convenience function that returns a QColor constructed from the given QRgb value rgba.
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
\inmodule QtCore\reentrant
void setLoopCount(int count)
void setCurrentTime(int time)
void setDuration(int duration)
void start(int duration=0)
void sync(QQuickItem *item) override
void updateCurrentTime(int time) override
QQuickBasicBusyIndicatorNode(QQuickBasicBusyIndicator *item)
QQuickBasicBusyIndicator(QQuickItem *parent=nullptr)
void setPen(const QColor &pen)
void itemChange(ItemChange change, const ItemChangeData &data) override
Called when change occurs for this item.
void setRunning(bool running)
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.
void setFill(const QColor &fill)
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.
\inmodule QtCore\reentrant
virtual void setRadius(qreal radius)=0
virtual void setAntialiasing(bool antialiasing)
virtual void setPenColor(const QColor &color)=0
virtual void setPenWidth(qreal width)=0
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.
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.
Combined button and popup list for selecting options.
static Q_CONSTINIT QBasicAtomicInt running
bool qFuzzyIsNull(qfloat16 f) noexcept
constexpr const T & qMin(const T &a, const T &b)
GLfloat GLfloat GLfloat w
[0]
GLsizei GLsizei GLfloat distance
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLfloat GLfloat GLfloat GLfloat h
static QT_BEGIN_NAMESPACE const int CircleCount
static QPointF moveCircle(const QPointF &pos, qreal rotation, qreal distance)
static const int QbbiTotalDuration
static const QRgb TransparentColor
QT_BEGIN_NAMESPACE typedef unsigned int QRgb
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent