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>
Update the git-archive export options

The .gitattributes, .gitignore, .commit-template files do not need to be
present in packaged sources, as they are for people using the Git
repository. People who download tarballs usually don't reimport into
Git -- they should just download the actual repositories.

Meanwhile, the .tag file is quite useful. Instead of making Git extract
to the useless SHA-1 of the "$Id$\n" string, ask git-archive to store
the SHA-1 of the commit being packaged.

Change-Id: I2b23ec88ebef02b059f56110eaca5e7c2895c791
Reviewed-by: Matti Paaso <matti.paaso@digia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: I7a70cd388d99334e261d3734a630af1001a0f254