diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2018-09-29 21:54:35 +0200 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2018-10-18 06:36:23 +0000 |
commit | d65631daa48c82cfa1edc636ee10069b1a77fb6d (patch) | |
tree | b09c1b4b39e030214636b00d2ab934706e57367b /src/widgets/doc/images/graphicsview-pixmapitem.png | |
parent | 4afd9234c2f16536a360370a5b302f943bae727d (diff) |
Qt Style Sheets: add support for hsl(a) colors
The Qt stylesheets color property did not support hsl or hsla although
CSS 2.1 does support it. Since QColor natively supports this color model
only the color parsing needed to be adjusted.
This also adds some stricter checks for a valid css color definition and
prints a warning about the issue.
[ChangeLog][QtGui][CSS] Added support for hsl/hsla colors
Fixes: QTBUG-58804
Change-Id: Ief65a36a7e0ed0d705dc1fe5a8658e8d07fe9a13
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/widgets/doc/images/graphicsview-pixmapitem.png')
0 files changed, 0 insertions, 0 deletions