tests: update activeFocusOnTab to support editable ComboBox

ComboBox was editable since 4c184095d378622fb0c3bb1692b331b3cc04e010. It
should get focus when editable is true in tab focus chain. The behavior
was fixed in qtdeclarative side.

Change-Id: I85f26e99e00f970b8603d8ca23b1e55daa52159b
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Bump MODULE_VERSION to 5.2.2

Change-Id: I148e6396627239765059467605eda5a29761942e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Don't lie in the docs.

It seems we forgot to update the documentation when the default spacing
got changed to 5.

Change-Id: Id76ebd3d75ec5c0d5806aab65723d046c0f49864
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Support negative layout spacings (do not assert)

This tests
* default spacing
* explicit positive spacing
* negative spacings

Negative spacings that causes the layout to shrink down to 0 or
a negative spacing are not supported.
(But make sure they don't crash the whole engine)

Task-number: QTBUG-35741

Change-Id: I69521dffb03c35a63db37ab51a2e99152d88272b
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Fix typo in property in ComboBoxStyle

drowDownButtonWidth seems to be a typo in an exposed property name.

In order to keep compatibility an (undocumented) alias is added.

Change-Id: I2ab04b3518325e339c31cf6f403c488256a4aabe
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Fix TextField::placeholderText docs

For usability reasons the placeholder text is kept always visible when
the control is empty, even when focused.

Task-number: QTBUG-36303
Change-Id: I79733b0cf2a48807fb45d5697399f183c2b97f94
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Remove unused white rectangle causing drawing issues

The spinbox has a white rectangle which overlaps the frames with some
styles (eg. oxygen). However the Rectangle itself serves no real purpose
and so it's removed.

Change-Id: I37a6862dfd8ac21fb24b54261fa7d7ab54aa23c7
Reviewed-by: David Edmundson <davidedmundson@kde.org>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Fix implicit width for SpinBox

This patch ensures that we take the minimum width of the SpinBox
into account when getting the size from the style item.

The patch still relies on the height of the TextField since we
want to ensure that they keep similar height and the existing
spinbox code behaves somewhat erratic.

Task-number: QTBUG-36283
Change-Id: I50d14e5afb2576548c381e7f70063dfcb727e7d6
[ChangeLog][QtQuickControls]Fixed implicit width for SpinBox
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Fix StackView documentation

The extra "property Component" breaks the examples.

Task-number: QTBUG-35864
Change-Id: I1317f9a2ce42f4d9e4a03ecc3b85286b1eb3e855
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Controls: Fixed support for Keys attached property on controls allowing text input

By forwarding key events from the internal control.

It includes TextField, TextArea, ComboBox, SpinBox. The key events from
internal are Keys.forwardTo controls, then user could customize their
own behavior for those controls.

Autotest are included.

[ChangeLog][QtQuickControls] Fixed support for Keys attached property on
controls allowing text input, by forwarding key events from the internal
control.

Task-number: QTBUG-33493
Task-number: QTBUG-34101
Task-number: QTBUG-35763
Change-Id: I00ea131160e55048b34fe0713e1ee02ff9472f05
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Allow size hint changes during a rearrange.

Previously, we marked the layout as not dirty straight after a
rearrange was done. However, in the case of when a size hint changed
during a rearrange that would block the pending rearrange (since it
only perform the actual rearrange if its dirty).

Instead, mark the layout as not dirty *before* the rearrange.

This will allow bindings such as
  implicitWidth: height
to execute the pending rearrange.
(Although such bindings are not encouraged)

Task-number: QTBUG-36169
Change-Id: I75bd821a0ca4302026bd5dac01287ca3359d471b
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Touch example: Fix back navigation

The Key event needs to be in a item that has focus.

Change-Id: I6f7293ac74b477e37c200dbb7ee8629d4f769d05
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Ignore selectByMouse on android until QTBUG-36515 is resolved

At the moment mouse selection on android can make text input
unusable when certain virtual keyboard features are enabled.
This patch will temprorarily disable this feature on
TextField and TextArea until we have a workable solution for
these cases.

Change-Id: Ia04db31d1e83ddfc47bec7519e5a78746e6626a9
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Doc: Fix broken links

Change-Id: Ibf4431b20b61c5e16c6936775647ba3eb0049abe
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Set accessible name for RadioButton

Change-Id: Iad011baa39f955681613656028c6ccf852a8f869
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>