qt6-bb10/tests/auto/gui/painting
Marc Mutz 78b6876974 Long live QColor::fromString()!
It is customary for Qt types that can be constructed from string-ish
to provide a fromString() named constructor. QColor didn't, relying
instead on a set of overloaded implicit and explicit constructors.

Add the named constructor, with the intent to deprecate the string-ish
QColor constructors after a grace period.

To prevent new users from using known-to-become-deprecated API, mark
the old functions as \obsolete.

Also rename isValidColor() to isValidColorName(). The only reason why
these are lumped together in single commit is so that their docs can
refer to each other instead of having to temporarily refer to obsolete
API.

[ChangeLog][QtGui][QColor] Added fromString() and isValidColorName(),
both taking QAnyStringView.

Task-number: QTBUG-101389
Change-Id: I2857c728257ad2f14c7c968b45547bdf07c44b63
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2022-03-08 06:51:10 +01:00
..
qbrush Fix: QBrush autotest failure on Android and Wayland 2021-03-11 07:03:45 +00:00
qcolor Long live QColor::fromString()! 2022-03-08 06:51:10 +01:00
qcolorspace CMake: Add BUILTIN_TESTDATA option to qt_internal_add_test 2022-02-11 21:54:44 +01:00
qpagelayout Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpageranges Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpagesize Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpaintengine Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpainter Fix painting clipping glitches with fractional scaling 2022-03-02 13:58:10 +00:00
qpainterpath QPainterPath: fix handling of fill rules 2021-03-26 10:45:46 +01:00
qpainterpathstroker Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpathclipper Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpdfwriter Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpen Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpolygon Remove the qmake project files 2021-01-07 15:32:28 +01:00
qregion Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtransform Remove the qmake project files 2021-01-07 15:32:28 +01:00
qwmatrix Get rid of QMatrix 2020-02-28 08:57:57 +01:00
CMakeLists.txt Rename QRangeCollection to QPageRanges, make it a proper value type 2020-11-08 11:49:54 +01:00