qt5base-lts/util/gradientgen
Jarek Kobus a7f9d5a7fa Use QList instead of QVector in util
Task-number: QTBUG-84469
Change-Id: I077fb5c32456d438a457c1f73852313ea2ea9ae5
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2020-07-07 20:34:48 +02:00
..
.gitignore WebGradients: redo implementation 2019-12-14 11:31:46 +01:00
gradientgen.cpp Use QList instead of QVector in util 2020-07-07 20:34:48 +02:00
gradientgen.js WebGradients: redo implementation 2019-12-14 11:31:46 +01:00
gradientgen.pro WebGradients: redo implementation 2019-12-14 11:31:46 +01:00
package-lock.json Provide presets for QGradient 2018-05-31 15:50:50 +00:00
package.json Provide presets for QGradient 2018-05-31 15:50:50 +00:00
qt_attribution.json WebGradients: redo implementation 2019-12-14 11:31:46 +01:00
README WebGradients: redo implementation 2019-12-14 11:31:46 +01:00
WEBGRADIENTS_LICENSE.txt WebGradients: redo implementation 2019-12-14 11:31:46 +01:00
webgradients.css WebGradients: redo implementation 2019-12-14 11:31:46 +01:00

Regeneration of gradients:

0) Grab a new .css for the webgradients
1) Run the gradientgen.js script (requires node):

   gradientgen.js enum webgradients.css    # will regen the enumeration names (on stdout)
   gradientgen.js json webgradients.css    # will regen the actual gradients (on stdout)

2) Build gradientgen.pro
3) Run gradientgen, passing the json as stdin, the result will be on stdout