Menu: Don't open disabled submenus

Task-number: QTBUG-39384
Change-Id: I5310c6efb0a7045f6f89c6347551a0043d8e0ca6
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Doc: Updated layouts docs with images and snippets

The images and the corresponding snippets
should help the reader understand the Quick Layouts
better.

Task-number: QTBUG-33799
Change-Id: I0a4831f33d99de87fcd7cb68a36844885509bb06
Sanity-Review: Qt Sanity Bot <qt_sanitybot@qt-project.org>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Merge remote-tracking branch 'origin/stable' into 5.3

Change-Id: I44e51646f79c71b9ade6cbedd9e22bcae00833c8
Bump version

Change-Id: I818c2ac10a2b807cfe67f6964ede4b5d7f7b8d20
Add changelog for 5.3.1

Change-Id: I5b3fb1c9e6b91bcf58b72f6e380c3cd580674f3c
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Fix grammar in Layout::fillWidth and Layout::fillHeight documentation.

Change-Id: If6ef7eb6fe3f5f6f70b70dc4bc19678e0db18321
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Remove unused BasicButton::__textColor

Gets rid of an extra SystemPalette instance that installs
an event filter on the application object.

Change-Id: Ib7e1fd5634084a2b949bb5b7146fabe89f05be38
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Kill unnecessary SystemPalette instances

Each SystemPalette instance installs an event filter on the
application object, so we should try to avoid these as much as
possible. Style already creates an instance that switches between
Active and Disabled states based on control's enabled state and is
suitable for most use cases.

Change-Id: Icdbc793f639a3217ece6b2ded281e2a8beacb742
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Singleton SystemPalette

Each SystemPalette instance installs an event filter on the
application object. Avoid this by sharing a single SystemPalette
instance.

Change-Id: Ica9f8979b33e511c1238add3d689f380d0daa93c
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Slider: fix behavior inside a flickable on touch

Do not move the handle immediately on press, but delay it until the
drag is over the threshold. This makes Slider behave inside a flickable
in a sensible way ie. the handle is not prematurely moved when flicking

Change-Id: Ie02762717156e75be9db757330a95a3f50451f1a
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Introduce Calendar.navigationBarVisible

[ChangeLog][Calendar] Introduced navigationBarVisible -property to
control the visibility of the navigation bar.

Change-Id: I74051fc88e7043023dca6fdb67c81909630fc2db
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
ComboBox: open the popup on release on touch devices

This is the common behavior on touch devices, and avoids such problems
as opening the popup while trying to flick a ScrollView that contains
a ComboBox.

Change-Id: I9207bc2c00524fe4cd5a673f4fe505f6db825838
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Remove Widgets dependency for QNX

Changes.txt says that with Qt 5.2.0 dependency for
Widgets have been removed for touch based platforms.
But QNX is also a touch based platform and its missing.

Change-Id: I140842d4501422537175ac5acb07beebe994f0eb
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Remove QtWidgets dependency for WinRT

Change-Id: Ifacceae8690d2ab4dfaed0d5439b9e29804c1943
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Cleanup whitespace

Change-Id: I9e84ce56e853a18205aa180cef1ee8ff4f2f678c
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Merge remote-tracking branch 'origin/5.3' into dev

Conflicts:
	.qmake.conf
	src/controls/Styles/Desktop/SpinBoxStyle.qml

Change-Id: Ia501c1388a2af9f273ec2742abbfc766717ad9e6
Merge remote-tracking branch 'origin/5.3.1' into 5.3

Change-Id: I433651eb5ccc66d74fa2dcf508e5fde44e4ed5db
Doc: Added images and missing snippets

Task-number: QTBUG-33799
Change-Id: I582518a73276d47cf63cf31411b5176a90acab6f
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Doc: Add a link to Tab in TabView documentation

Task-number: QTBUG-39671
Change-Id: I5a9ddf064c9095c89906ac75665d67d7a51ce615
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
TextArea: fix the handles to honor selectByMouse

Change-Id: I1defac48449169bedea82c94d5badacb3d00d88e
Reviewed-by: Caroline Chao <caroline.chao@digia.com>