From 3e50387f82d58bbcae0300bbc9cba8f8a3eaa9e1 Mon Sep 17 00:00:00 2001 From: Wladimir Leuschner Date: Thu, 30 Nov 2023 06:37:37 +0100 Subject: Fix documentation for qDrawPlainRoundedRect Change-Id: Ifc7b8fe1d7dda10d29b5c50ebd7bc5c352c9c0c2 Reviewed-by: David Faure --- src/widgets/styles/qdrawutil.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/widgets/styles/qdrawutil.cpp b/src/widgets/styles/qdrawutil.cpp index 80494d85af..fd76291401 100644 --- a/src/widgets/styles/qdrawutil.cpp +++ b/src/widgets/styles/qdrawutil.cpp @@ -614,6 +614,7 @@ void qDrawPlainRect(QPainter *p, int x, int y, int w, int h, const QColor &c, int width, int height, qreal rx, qreal ry, const QColor &lineColor, int lineWidth, const QBrush *fill) + \since 6.7 \relates Draws the plain rounded rectangle beginning at (\a x, \a y) @@ -635,6 +636,7 @@ void qDrawPlainRect(QPainter *p, int x, int y, int w, int h, const QColor &c, \sa qDrawShadeRect(), QStyle */ +// ### Qt7: Pass QPen instead of QColor for frame drawing void qDrawPlainRoundedRect(QPainter *p, int x, int y, int w, int h, qreal rx, qreal ry, const QColor &c, int lineWidth, const QBrush *fill) @@ -885,6 +887,7 @@ void qDrawPlainRect(QPainter *p, const QRect &r, const QColor &c, qreal rx, qreal ry, const QColor &lineColor, int lineWidth, const QBrush *fill) + \since 6.7 \relates \overload -- cgit v1.2.3