Dialogs must know when they are closed by the operating system

The dialog cannot be opened again if it does not know that it was
closed.  So whenever there is a native window, the visibleChanged signal
must be connected.

Task-number: QTBUG-40855
Change-Id: I0726b7568937a19deba067d43ce72b0579f7c4c5
Reviewed-by: Liang Qi <liang.qi@digia.com>
Bump version

Change-Id: I8c96a7ae4ade4be6e230a8e542d68644d4c945d1
Dialogs: correct C++ warnings

Initialization order, and mistaken use of comparison instead of
assignment.

Change-Id: Ic9fbcac1085d84294386311f967209a6b33f2297
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Revert "TextField/Area: soft dependency to inputMethodHints"

This broke the input method hints handling altogether. We will
fix this properly in QtQuickTextInput and QQuickTextEdit instead.
Nobody has even complained about QT_NO_IM, it was a hypothetical
problem brought up in code reviews.

This reverts commit c185d6cd67653b34f04a7999a84634de1f1063b0.

Change-Id: Ib81adba1ee899dd2a384bd83eea82d629eacb333
Reviewed-by: Samuel Nevala <samuel.nevala@digia.com>
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Fix menu/combobox popup positioning

Task-number: QTBUG-41113
Change-Id: Ic55657d42b44950356b176334d826b0a8d16e3cd
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Doc: .*Style attachment correction

The .*Style is attached to the control not the other way around.

Change-Id: Ia9158463d86881997e917c26427cb62beb8e5edc
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Fix wrong menu popup window parenting

When embedded into a widget-based UI in a window container,
extra care is needed to find the correct top-level because
the QQuickWindow is not it.

Task-number: QTBUG-40883
Change-Id: I8d5a91f23c405e14b0994f08aa74581742f6482b
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Fix menu popups positioning with window containers

Task-number: QTBUG-40883
Change-Id: I5c46c049b5890259d65f325adb59e15ebf29f84a
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
tst_tableview: cleanup test items to avoid side effects in later tests

Change-Id: I2027a4576529accb623045d4ce63c76af723c5e9
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
TableView: fix tab navigation

Task-number: QTBUG-41202
Change-Id: I13c420dd1443c152053ac331da7bfe5a9fbc9603
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Merge remote-tracking branch 'origin/5.3.2' into 5.3

Change-Id: I91d1886e6081e39a1b5ea17b6c44d73b539889b1
Fix tooltip position for real inside QQuickWidgets

If the QQuickWidget was embedded in a complex layout, tooltip positions
would be off. Tooltip positions need to be moved by the offset of the
actual render window.

Task-number: QTBUG-39878
Change-Id: I5f923b1d1a0956aa67afa7c05d4bfec2788682a6
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>