QCanvasGridPattern: simplify constructor
The constructor with 9 parameters of the same type was hard to use, and
code calling it hard to read and understand. There is no advantage over
calling the property setters explicitly after constructing with the
startPosition and cellSize parameters, which were also incorrectly
named.
Remove the defaulted parameters, and adjust tests, examples, and
documentation.
Pick-to: 6.12
Task-number: QTBUG-146286
Change-Id: Iae683760265a3e525e1ad2fe11dadf5403265132
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>