6#include <QtGui/qpainter.h>
50 const qreal dx = (
w - sz) / 2;
51 const qreal dy = (
h - sz) / 2;
53 const int pw = 2 * hpw;
54 const QRectF bounds(dx + hpw, dy + hpw, sz - pw - 1, sz - pw - 1);
80#include "moc_qquickfusionbusyindicator_p.cpp"
The QColor class provides colors based on RGB, HSV or CMYK values.
void setCenter(const QPointF ¢er)
Sets the center of this conical gradient in logical coordinates to center.
void setColorAt(qreal pos, const QColor &color)
Creates a stop point at the given position with the given color.
The QPainter class performs low-level painting on widgets and other paint devices.
void setPen(const QColor &color)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void drawArc(const QRectF &rect, int a, int alen)
Draws the arc defined by the given rectangle, startAngle and spanAngle.
void translate(const QPointF &offset)
Translates the coordinate system by the given offset; i.e.
void setRenderHint(RenderHint hint, bool on=true)
Sets the given render hint on the painter if on is true; otherwise clears the render hint.
\inmodule QtCore\reentrant
void setColor(const QColor &color)
QQuickFusionBusyIndicator(QQuickItem *parent=nullptr)
void paint(QPainter *painter) override
This function, which is usually called by the QML Scene Graph, paints the contents of an item in loca...
void setRunning(bool running)
void itemChange(ItemChange change, const ItemChangeData &data) override
Called when change occurs for this item.
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
qreal width
This property holds the width of 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.
The QQuickPaintedItem class provides a way to use the QPainter API in the QML Scene Graph.
void itemChange(ItemChange, const ItemChangeData &) override
\reimp
\inmodule QtCore\reentrant
Combined button and popup list for selecting options.
static Q_CONSTINIT QBasicAtomicInt running
bool qFuzzyIsNull(qfloat16 f) noexcept
int qRound(qfloat16 d) noexcept
constexpr const T & qMin(const T &a, const T &b)
constexpr const T & qMax(const T &a, const T &b)
GLfloat GLfloat GLfloat w
[0]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLfloat GLfloat GLfloat GLfloat h
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent