Menu: Fix submenu overlap and item width

Task-number: QTBUG-34194

Change-Id: Ie4e7064647759bb92397b1ab39ad6e17e3eb6c0a
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Don't add any extra space to RadioButton and CheckBox by default

We instead do this in the layout code. It seems to make sense to support
the use case where only the indicator is visible without adding
extra padding to it.

Change-Id: Ib55c3a97d7c23a52a14121b46be84299d1ad2132
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Switch styling fixes

- makes it work somewhat better on HDPI devices.
- makes it translucent when disabled
- makes it show up int testbench

Change-Id: I48a4b65f969430a3f7d1c5fe3b6623b86324a3d3
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Use depends instead of ordered for dependencies

Change-Id: Ia24df4e387655106c7b7d31535f00ecb675860b4
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
ComboBox: Minimize currentText changes when changing model

Bonus change, changing the model after its initial value will reset
currentIndex to 0.

test_arraymodelwithtextrole needs some rework. The issue relies on
textRole and model being set separately, and a late change to
__modelIsArray updating the currentText when it probably shouldn't.

[ChangeLog][QtQuick Controls][ComboBox]
Changing the model after initialization will reset currentIndex to 0

Change-Id: If6c0dee9e022036ef888f2aef87a5c405868684b
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Adjust height if the ToolBar or StatusBar is dynamically hidden

Triggered by a manual test I'm working on

Change-Id: I8d49a7d19ac7daebda388df8e2d8595607fdd52c
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Add classnames for QML plugins.

Needed for static builds on iOS

Change-Id: I77a0f9b9dc0531a321227b6f618558f31d0dd2da
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Updating plugins.qmltypes

The prototypes for ApplicationWindow were broken.
Currently we have to duplicate the declaration of QQuickWindow.

Change-Id: I5e5aa37a4c08420fca76d94aa90cce035f7007ba
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Fix: Button does not toggle on keypress

This ensures that you can toggle a button using the space bar.

task-number: QTBUG-33540
Change-Id: I7f665623fe113be11ba7e3f2c605e255d45e31a9
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
More styling improvements for Base Style

- Better scalability
- Retina support
- Added glow filter to Private
- Added focus rects

Change-Id: I2ec36a9db546c21e20408429c5e17fde8d67b7c3
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Expose ToolBarStyle and StatusBarStyle

As they are rather basic, I think we should simply expose them rather
than explain why people should use rectangles.

Change-Id: I8ef79452fb27ffa0ef11bb477c687033996b4a5e
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Fix some issues with Base style

- Missing checkmark added
- Fixed TableView painting glitch on touch devices

Change-Id: Ifaad596061bc8d4432ad026efa74a13356b7a77e
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Doc: the implicit size of ProgressBarStyle's background must be set.

Change-Id: I54f160ed3fb875b694909e6d9eddcb500566422c
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
use private linkage where possible

Change-Id: I693f8469b8bec8e80d65d69122c01d0273a38b3d
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Fix input method committing

On mobile devices the virtual keyboard would in some situations not have
words committed yet - this leads to the last word after a space being
cut off when querying for the text property.

Change-Id: I23d81154f3bed1dd287f24c3c5f958cf4335475c
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Doc: Updated url variable in qdocconf files.

In 5.2, the HTML output is in a flatter structure and when they are
hosted in qt-project.org/doc, the documentation will be found at
http://qt-project.org/doc/qt-$QT_VER

The url variable is used by projects outside of Qt 5 which need
to link to Qt 5 documentation, such as Qt Creator.

Task-number: QTBUG-34584
Change-Id: Ifb9ba5c4a0e78b6170c448ec97f0bec8fa80bdfe
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Optimize TableView by using ImageProvider

This optimizes tableview as we were not able to utilize the
image atlas efficiently without it.

Change-Id: I3cce48b7557d843fb057cc1597dc4363c35bdef8
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Tests: Fix warning in activeFocusOnTab test

Missing image.

Change-Id: I3c52d7d60690346bed4002dee5c6b0844194784f
Reviewed-by: Liang Qi <liang.qi@digia.com>
Fix warning in Tests_TabView::test_mousePressOnTabBar

Task-number: QTBUG-34666
Change-Id: I13506cc7504c71d9411e2b100bec803abb2eaccd
Reviewed-by: Liang Qi <liang.qi@digia.com>
Update changelog for Qt 5.2

Change-Id: If3e03b628906857985d0f5bd49e71fcd1aced0fa
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>