Make QML slider style work with vertical alignment

Change-Id: I1ae8b61c827d68c1aa52ea1ece0ca1fda684ea6e
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Move ScrollBarStyle inside ScrollViewStyle

Change-Id: I22403a7deac19b614f08475a2b29696a5698811f
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Add column role back in TableView itemDelegate

Change-Id: I8e30f3eabf6751fdc55bd3eef8760b0d1b02b060
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Fix tabs not to disappear on press-and-hold

Change-Id: I32c03a6b2a03b07f2383571c54a56752b66ac1e9
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
TableView: Fix mouse click not forwarded to child

Add autotest.

Change-Id: Iff3e5c1caab506b90bb1a9cd14a418c48280ffe3
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
MenuItem, ComboBox: Finish style for widgets-less controls

Task-number: QTBUG-30830

Change-Id: I9d7207eb97436fa3d8def26f2ee416d785cdb3da
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
TestBench: Add option to load a custom style

Change-Id: I071f91837bde7827749de98150081fbf92f2cb7f
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
TestBench: Add currentText and currentIndex properties

Change-Id: I2e101e19e4cc2b76529559a8efea0f6eb1bc811e
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Button: Fix checkable behavior

Change-Id: If8d4ed12bcf8c2ad3a1da07738008eeb88ac7f60
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Button: Add support for icons

Change-Id: Iaedb7418c37fec50ad6f97cdceaeb1732f184c1e
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
TestBench: Add iconSource property

Add a test icon for convenience while testing

Change-Id: I7ff4e55f87bb07bd93c250a2e709f9378e2f5240
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
MenuBar: Make widgets-less style work

Change-Id: I3a92408085d7d2aac663647d27b1f8d0f602b73e
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
MenuItem: Properly render mnemonics in widgets-less style

Change-Id: I4458d66c3c7f18637b5a200252fee6797cf8066f
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
MenuItem: Add shortcuts in widgets-less style

Change-Id: Ic6e87ab9ae7d6b008dea4a586a18c952922089d2
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Repopulate the GridLayout if flow is changed

This is needed because changing the flow will change which
cell an item is associated with.

Change-Id: Id84d1710fb6d7debe72a859c52b505e1e47f06b0
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Don't select a TableView index by default

Change-Id: I436849ce43b11dd3b61ef59280e3b8fa39b7da0f
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Make TableView selection color work

I had to rename hasFocus to hasActiveFocus

Change-Id: I7b3300dcd173ea1bb26d5b3c2dff2299ce9bf480
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Refactor propagation of size hints

This issue refactors how size hints are propagated up layout
hierarchies. It fixes several problems:

1. Do not overwrite explicitly set size hints when propagating them
   (Covered by test_sizeHint(propagateNone) )
2. Propagate size hints immediately when they are changed.
   Previously, this was in an inconsistent state, since for some
   operations (such as implicitWidth changes) it would immediately
   propagate through an explicit call to propagateSizeHints. However,
   changes to other properties such as Layout.minimumWidth would simply
   call invalidate(), causing the propagation to be postponed until the
   layout got rearranged.
3. Do not propagate size hints from rearrange. This could potentially
   make rearrange() unnecessary slow.
4. Only use the fallback to width/height the *first* time the size hint
   is queried. This had the unfortunate consequence when a
   Layout.preferredWidth was reset back to -1 it could end up querying
   the width again (due to layout resizing, this could at this point be
   different than what was specified in the QML file). This is still
   not bullet proof, but AFAIK there is no bullet-proof way, since there
   is no way of retrieving the original value that 'width' was bound to
   in the QML file.
   (Covered by test_sizeHintPropagationCount)

The performance characteristics for this change should be that it will
make resizing of layouts faster, but will make dynamic changes to the
layout slower (since it has to propagate the size hints every time a
property is changed).

Change-Id: I3dd818f6f7504908534eb5b22413fbeba1877985
Task-number: QTBUG-30773
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
ScrollBar style refactoring

Making ScrollBar harmonize with other styles by using Style and
panel.

Change-Id: Ic3bbae6d3a5d456ba3b3668c71ede3b3e11d2dc7
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Move Style.qml to Private as it provides no useful API

Change-Id: I96d27d8af83a5460b92afb963a60f07d218e2460
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>