summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/webgradients.binaryjson
Commit message (Collapse)AuthorAgeFilesLines
* Harden logic for converting from CSS gradients to QGradientTor Arne Vestbø2018-06-271-0/+0
| | | | | | | | | Some of the gradients from https://webgradients.com/ are not minified completely, so we need to be a bit more lenient when converting them to the internal format used by QGradient. Change-Id: I47466b6a77abd6d2fefc1326fbf6ba5713dd74cb Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Provide presets for QGradientTor Arne Vestbø2018-05-311-0/+0
Similar to Qt::GlobalColor, the presets allow the user to create brushes based on predefined gradients, quickly getting pretty pixels on screen. The presets are based on the linear gradients from WebGradients, a free collection of gradients, hosted at https://webgradients.com/. The few radial and blended gradient presets have been excluded. Change-Id: I1ce8f2210a6045c9edb8829ab3eddcc313549127 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>