Update TextArea::wrapMode docs

The documentation adapted from TextEdit mentioned a wrong default
value and contained confusing and unnecessary low-level details how
TextEdit calculates its content/implicitWidth. TextArea hides these
details and the documentation has been simplified accordingly.

Task-number: QTBUG-38022
Change-Id: Ifa29956b59b7f169fbdc94f455dbdad29469db3e
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Improve scrollbars on touch

Hide the scrollbar background which makes it look like a desktop
scrollbar. Scrollbars are now by default non-interactive on touch.

[ChangeLog][QtQuickControls][ScrollView] Scrollbars are now
non-interactive on mobile/touch devices.

Task-number: QTBUG-37387
Change-Id: I63b6db9309a6e33140de0d26c8d4fd3e1bcfb832
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Import QtQuick 2.2

Change-Id: Ifc9719ec6fbbd80b866c01eebc471d0ed121bd16
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
ButtonStyle: fix checked state

Restore checked state handling that was lost in fd8d7261.

Task-number: QTBUG-38143
Change-Id: Iec6598d5ddba449da16cfefa55b0d575d2563c47
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Bump QtQuick.Controls import version to 1.2

Change-Id: Idc0b93cbfc2fe23e8be3bcaece672d06555a81f6
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Fix initialization to non-zero TableView index

The bug was caused by trying to set the currentIndex of the
internal TabBar ListView higher than the model count which was
populated later. We can work around it by adding an extra check
on the model size.

[ChangeLog][QtQuickControls][TabView] Fixed a graphics issue when
initializing currentIndex to a non-zero value.

Task-number: QTBUG-38157
Change-Id: Ic0907bc41512f187b31c79d47515fb51b15c5f0e
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Docs: fix \since tags

Use Qt version only for \qmltype, and module import version
for \qmlproperty, \qmlmethod and \qmlsignal.

Change-Id: Ia5851b7b86a420f07ca335e0cf2ddf3df1f8c25a
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Implement input for entering non-standard font size.

User should be able to enter non-standard font size which is not
available in the list of standard font sizes. The selected value
in the list of standard font sizes should synchronize with the
input field for the non-standard point size value, and vice versa
if there is a match.

Change-Id: I63b855054b2feb4dad339fe8ec06be5179bb2a37
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Fix ScrollView behavior when used in a Flickable

Setting preventStealing to true for the mouse areas allow
them to be used in a Flickable.

Task-number: QTBUG-37941

Change-Id: I72def1b60e84b4704827b8617095c7cc0370afb4
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Allow TableView headers to be resized in a Flickable

Setting preventStealing to true will allow headers to be
resized when in a horizontal flickable.

Task-number: QTBUG-37941
Change-Id: I7be45409d96c7940f5f70b311cdedd3a8b7844ed
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Dialogs: modality applies to fake window decorations too

For the sake of consistency with dialog behavior on desktop platforms,
when a modal dialog is shown on a display that doesn't support windows,
and therefore fake window decorations are used to make the dialog look
like a Window while actually being an Item in the same scene graph,
you can't dismiss it by tapping outside.  If it's non-modal you can.

[ChangeLog][QtQuick][Dialogs]when a modal dialog is shown on a display
that doesn't support windows, you can't dismiss it by tapping outside

Task-number: QTBUG-37860
Change-Id: I1150f53774f5d70e88e2b2f5a9d3524a8a00dbec
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Fix left/right cursor keys in TextArea

Since commit 5dc805c86077e key events for left/right cursor
get eaten by the MenuBar. That means, the events shouldn't be accepted
if no menu is shown.

Change-Id: Icc249a3c4d96e19e8c902276938a2972cf1364d9
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Fix the editable delegate in tableview example

We re-interpreted what "model" means in TableView to align it
with what it means for ListView. Unfortunately the example still assume
that "model" refers to the views acual model object and not to the
current item data as it did for listview.

Change-Id: I3457954a622be38500672edb1c0a910d18760947
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Take into account icon size when determining button size

When a style calculates the sizeFromContents on a pushbutton it needs to
be informed about the size of the icon on the button.

In oxygen icons with buttons are slightly larger than buttons without.

Change-Id: I2f2d5f08747ad5e6ac0dfb50531c3e7627e9b35f
Reviewed-by: Sebastian Kügler <sebas@kde.org>
Reviewed-by: Marco Martin <mart@kde.org>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Merge remote-tracking branch 'origin/stable' into dev

Conflicts:
	src/controls/ApplicationWindow.qml

Change-Id: I2ab8efb4e04006724410da0f6ed03bd2672c5eb6