qt5base-lts/tests/auto/gui/text/qcssparser
Albert Astals Cid 9b021a1fbd Make QColor understand #AARRGGBB
This way I can have in my QtQuick something like
Text {
 text: "<font color='#ff0000'>H</font> <font color='#99ff0000'>H</font>"
}
and it works properly

QtQuick already supports #AARRGGBB for color: properties so I've
decided to go the notation

Once this is merged we can remove the extra code
in QQuickColorProvider::QColorFromString

I've also added some tests for the hex -> QColor conversion that where
non existent

Change-Id: I1dd4a2ec113293aec26968329b2e4930df6fdcb7
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
2013-04-26 09:59:04 +02:00
..
testdata/scanner Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
.gitignore Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
qcssparser.pro QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
tst_qcssparser.cpp Make QColor understand #AARRGGBB 2013-04-26 09:59:04 +02:00