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>