Quote:
Originally Posted by Skeeve
Could you please tell me how to find the available colors for "Text but with a fixed list of permitted values"?
|
http://www.w3.org/TR/SVG/types.html#ColorKeywords
Quote:
From browsing through the source code, I found that the names are checked against QColor.colorNames(), but I have no idea what's in that list.
I also miss the ability to specify a color in the "#RRGGBB" notation. Or can the set of colors somehow be extended so that I could ad my own color names?
|
Currently the set of names is fixed. If you want to hack at the source you could probably add # notation as long as the values respect the rules given at
http://qt-project.org/doc/qt-4.8/qco...#setNamedColor