5#include <QtGui/qpainter.h>
6#include <QtGui/qpainterpath.h>
7#include <QtQuick/private/qquickitem_p.h>
20 path.arcTo(
QRectF(
rect.left(),
rect.bottom() - 2 * m_radius, 2 * m_radius, 2 * m_radius), 180, 90);
22 path.arcTo(
QRectF(
rect.right() - 2 * m_radius,
rect.bottom() - 2 * m_radius, 2 * m_radius, 2 * m_radius), 270, 90);
52#include "moc_qquickfluentwinui3focusstroke_p.cpp"
The QColor class provides colors based on RGB, HSV or CMYK values.
The QPainter class performs low-level painting on widgets and other paint devices.
void fillPath(const QPainterPath &path, const QBrush &brush)
Fills the given path using the given brush.
void setRenderHint(RenderHint hint, bool on=true)
Sets the given render hint on the painter if on is true; otherwise clears the render hint.
QQuickFluentWinUI3FocusStroke(QQuickItem *parent=nullptr)
void setColor(const QColor &color)
void setRadius(int radius)
void paint(QPainter *painter) override
This function, which is usually called by the QML Scene Graph, paints the contents of an item in loca...
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
virtual QRectF boundingRect() const
Returns the extents of the item in its own coordinate system: a rectangle from {0,...
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.
\inmodule QtCore\reentrant
Combined button and popup list for selecting options.
GLsizei const GLchar *const * path