TabView: fix dynamic tab handling

Task-number: QTBUG-33162
Change-Id: I873b37bd157230f80237fd40f3e5149fbd0207ca
Reviewed-by: Volker Krause <volker.krause@kdab.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Menu: Fix popup closing when moving mouse to submenu

Task-number: QTBUG-32673
Change-Id: I1a083f6d7b231b1e3d60012306faf5ad4c573f5e
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Set the menu role for the QPlatformMenuItem to the default

QAction has a default menu role which is passed on to the
QPlatformMenuItem. But as QtQuickControls does not use QAction, we need
to set the default menu role explicitly to TextHeuristicRole. This fixes
the merging of menu items on Mac.

Task-number: QTBUG-31883
Change-Id: I24f0e265f8ceca376db9970d62e8f79a646fef3b
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Fix incorrect spinbox validation at startup

The problem was that the validator was applied during the
object creation which means the incorrect decimal values were applied
and the initial value was incorrectly changed.

Task-number: QTBUG-33309
Change-Id: Ic1ace174b9059b9c6ce24fd88b81c5edd7318e80
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Menu: Fix keyboard navigation on Windows

The Windows QPA plugin doesn't trigger activated window events for popups,
resulting on the popup window not being the application focus window, and
therefore, the popup window's content item not getting focus. This results
in key pressed events not being sent to the menu item.

We workaround this by emitting the window activated event ourselves right
after the popup window is exposed.

Task-number: QTBUG-33175
Change-Id: I77d1eb33b71af2232a6be6d0f7c6b480bffc10d4
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Menu: Enable mnemonic menu navigation

We also added a new mnemonic specific shortcut context matcher. This
prevents two menu items with the same mnemonic but within different
menus to be reported as ambiguous.

Task-number: QTBUG-33030
ChangeLog: Added mnemonic navigation for menus
Change-Id: I192c9aacba4d15851fe65bf9201251962fe976d5
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Fix Tab ownership issue that has been blocking stable->dev merge

Change-Id: Ifcae96687bcc54486d7f16b1e1002e54394b914d
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Merge branch 'stable' into dev

Conflicts:
	src/controls/qquickaction.cpp

Change-Id: I85255ba5c27c0d8ea023d0867e5963d43f8f1ddb
Merge "Merge branch 'stable' into dev" into refs/staging/dev