Doc: Fixed TextArea::textColor snippet.

"color" -> "textColor"

Change-Id: Id6b8dd7747ca3b80fc9592b17550d1038387ff7a
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Add text alignment property to SpinBox and SpinBoxStyle

- Added a public alignment property
- Made it possible to set the default alignment in SpinBoxStyle
- Made it possible to override the default spinbox size.
- Change default text alignment to AlignRight for base and mac style.

Change-Id: I3d02ecb880eb2d1e9ad77725207cd88bf4fc2a89
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Doc: Fix versions in \qmlmodule and \inqmlmodule

In the future qdoc will ignore the version in \inqmlmodule.

Task-number: QTBUG-33555

Change-Id: I6bec55d33bc50db9639e48fe3017a634a4bbc671
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Doc: Changed the \since argument to the Qt version.

-1.0 types were introduced in Qt 5.1
-1.1 types were introduced in Qt 5.2
-The module versions are now taken from the \qmlmodule

This change was only applied to \qmltype.
For methods, signals, and properties, we keep the
\since QtQuick.Controls <version>

Task-number: QTBUG-32172
Change-Id: Iefa73d4a489aa285bae873f68ae9a228030f0115
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Make ToolButton a Button and allow styling

This will add a menu property to ToolButton which it should
have anyway and allows it to be styled as a normal button.

Change-Id: Ie298752ad2e7e237f103479e6c97fb76ae381354
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Show list of valid flags for the alignment property

Change-Id: I9671e4f545454ac08436a622010d2a38061dd72b
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Respect items maximumwidth also when layouting baseline items

Change-Id: Ie36dcf158f5901ef84ce8b3c06ea9e6069f9c294
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Add placeholderTextColor to TextFieldStyle

Change-Id: I33308f5fe4a6778c438a95a9827c5bea7d95763a
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Enable flicking on touch based devices

The heuristic should probably be better but this will allow
ScrollView and TableView to at least support basic touch input.

Change-Id: I5904a0f2a29659e4cb0c3e7978ca0aa72d2415c4
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Don't apply baseline calculations if Qt.AlignBaseline is not set

Parts of the code assumed that if q_minimumDescent or q_minimumAscent
was valid, it would reserve enough space in each case for the combined
ascents and descents of all items in a row.

The extreme case was when one item had a baseline at its bottom edge,
and the next item had the baseline at its top edge, the layouts minimum
height tried to reserve space for such a case even though baseline
alignment was not desired.

The last case in the test demonstrates such a (valid) case. The problem
was that the same logic was applied to the first case.

Change-Id: Ie24503b1a5f7333f16ed84ebe01ab8d48becb4e2
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Update the internal alignment when an item *changes* its alignment

Previously it only respected the initial alignment.

Task-number: QTBUG-33773
Change-Id: I1d24209b866babd4bacabaec569f2f7dcc913c02
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Make the manual test nicer and more useful

Change-Id: Iac5e8c32d8fa70664829ce5ded37fe3ff5ceb455
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Doc: Moved \inqmlmodule version to \qmlmodule for QtQuick.Layouts

-QDoc uses \qmlmodule as the import statement and the version
in \inqmlmodule is not needed.
-used QtQuick.Layouts 1.1 for Qt 5.2

Task-number: QTBUG-32172
Change-Id: I5f9b1ba252e86d30b10a70878c4800d28e92b42a
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
ApplicationWindow has no default size

ApplicationWindow should not set a default window size because
every platform already does that, and normally an application would
set its initial width and height to the layout's minimums anyway.

Change-Id: I42ab1b6ecc71a38961f44a67f1c819a6a2037171
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>