summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWladimir Leuschner <wladimir.leuschner@qt.io>2023-11-30 06:37:37 +0100
committerWladimir Leuschner <wladimir.leuschner@qt.io>2023-12-01 16:02:53 +0100
commit3e50387f82d58bbcae0300bbc9cba8f8a3eaa9e1 (patch)
treedcd4e5a915e6333ca025bf16d5a338cbbecb3acd
parent7bf1989e62e6c268518e748a0ae83d2841f32624 (diff)
Fix documentation for qDrawPlainRoundedRect
Change-Id: Ifc7b8fe1d7dda10d29b5c50ebd7bc5c352c9c0c2 Reviewed-by: David Faure <david.faure@kdab.com>
-rw-r--r--src/widgets/styles/qdrawutil.cpp3
1 files changed, 3 insertions, 0 deletions
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 <qdrawutil.h>
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 <qdrawutil.h>
\overload