Enable text eliding in base style tabs

This introduces text eliding in Base style tabs when there is not
enough space to draw the entire text label. In addition it removes the
need for clipping completely.

Change-Id: I58be7c88bff275984b97b04c1bd1a942e9d256e0
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
SpinBox: fix selection behavior

Automatic value selection and focus must go hand in hand. A selection
without focus is pointless, because one can't then type or even copy
the value.

This patch ensures that the automatic selection is only done when the
control has active focus. Furthermore, manual selection is only enabled
when either activeFocusOnPress is true or when the control has gained
active focus by other means (activeFocusOnTab or programmatically).

Change-Id: Id0c6a55a6f4a55eb419d06d5dcb3f25a36fe2ec5
Reviewed-by: Martin Klapetek <mklapetek@kde.org>
Reviewed-by: Liang Qi <liang.qi@digia.com>
Make editable Combobox accept substrings

This fixes the issue that onAccepted would not update the currentText or
current index if  the string was a substring/partial match.

Note that the new internal MatchFixedString case matches the complete
string in a case insensitive way.

[ChangeLog][Qt Quick Controls][Editable Combobox would not update
currentText when accepting a substring of an existing value.]

Task-number: QTBUG-35521
Change-Id: Ied850208425ae71b2414f1abf9389e9a8ed50cfb
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Set style object on QStyleOptionFrames in QQuickStyleItem

For some controls an explicit QStyleOptionFrame is created. By setting
the styleObject the QStyle can recognize that it's a QQuickItem and
adjust the rendering. This is for example needed in the oxygen style to
get the frame around a menu.

Change-Id: I52d2a8b259477b2ff668827334d5073c6934f23c
Reviewed-by: Martin Klapetek <mklapetek@kde.org>
Reviewed-by: David Edmundson <davidedmundson@kde.org>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Menu: Don't create platform item for QQuickMenuItemContainers

They don't have any QPA counterpart as they're just plain containers.
This also removes that "Menu does not contain the item to be removed"
warning on Mac.

Task-Number: QTBUG-32197
Change-Id: I06e08817194c2e3ad3efd7ded193bfac9d3a1948
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>