Doc: add a note about the tickmarksEnabled property

Change-Id: I61e6029c813fd0258a24c6ea547190808f42edc9
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Merge remote-tracking branch 'origin/5.4' into 5.4.0

Change-Id: I278a90bb0049a96008700f4e0128bd95c0fae1fd
Android/SwitchStyle: use TextMetrics instead of FontMetrics

Ensures that the thumb text width is correctly calculated regardless
of QML's arbitrary binding evaluation order.

Change-Id: I71526db963fec6d54ad717f46382537591268e37
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
Android/SwitchStyle: hide thumb text on Android 5.0

Change-Id: Ied63a5bd58a88f097ac9e20f30c21d45f45a2f46
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
Android 5.0: apply tint color

Without this change checkboxes, radio buttons, slider handle etc.
are black on Android 5.0. This change applies the tint color so
that the controls become green/cyan as appropriate.

Task-number: QTBUG-42520
Change-Id: Ib8bd9d279f34e0f7951b311f398bc1fb11f7b1ba
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Doc: Update gallery screenshots

To match the updated example. Display a screenshot for both
Android and OS X in the gallery example documentation.

Change-Id: I37e56437bb54248a4d500810c56ce8a8ba15b4d2
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: Martin Smith <martin.smith@digia.com>
Fix text selection on desktop

So far, text selection handles were only provided by mobile
specific styles. The new Flat style is an exception that
provides text selection handles for mobile, but is still
intended to be usable on desktop too.

The text selection handling code thus needs not only to check
whether the text selection handles exist, but also whether it's
a mobile platform. This fixes text selection on desktop.

Change-Id: Ibda2045ca42970e7db692d2e8370ac0dba21625a
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Merge "Merge remote-tracking branch 'origin/5.4' into 5.4.0" into refs/staging/5.4.0
Doc: Fixed the \image reference

An earlier commit renamed the image that was
referred but this reference was not updated.

Change-Id: Ic4b6e9d6d1e01835e53a4fd4640ae45b105898fd
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Doc: Corrected brief statements for overview pages

Task-number: QTBUG-42682
Change-Id: I14b60415f5a1bfdc0874013de707560a944c0824
Reviewed-by: Martin Smith <martin.smith@digia.com>
5.4.0 changelog

Change-Id: I759db84f29216844a043df4712d9858b6a251490
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Doc: added brief statement for group menus

Task-number: QTBUG-40362
Change-Id: I94d869e9d38c5d958df4abd1e17f219cfa3ce16a
Reviewed-by: Martin Smith <martin.smith@digia.com>
Android 5.0: add missing state transitions

Android 5.0 introduced control state change transitions. Without this
change, CheckBoxes and RadioButtons don't transition between checked
and unchecked states as appropriate.

Task-number: QTBUG-42520
Change-Id: If2aa70898e72b78f105732cc4ee5c9674cc6082c
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Only make scrollbars non-interactive on mobile devices.

Before this patch, I could not adjust the scrollbars in a ScrollArea on
a Windows 8.1 desktop computer just because it had a touch screen.

The same problem was observed on Linux (with touch screen).

Task-number: QTBUG-42806
Change-Id: I6f35c40b0362820d7c1685e1b6fc8474432237eb
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Take all offsets into account also with PlatformMenu

Task-number: QTBUG-42314
Change-Id: I7e63d744bbed4a5c254d6cffdc8aba4c5e37d5c3
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Merge remote-tracking branch 'origin/5.4.0' into 5.4

Change-Id: I4c81a7852e7041328b7cfa320e907cc3cb863f04