TableView: Reset dragged header position if not moved

The user expects the "ghost" header to be aligned with the actual
column header when he starts dragging it.

Change-Id: Ifccf633403a72fe8448132fe6c349a85acba28d7
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
TableView: Make sure we get the content width with hidden header

The key is to get a headerRowDelegate of non-null dimensions.

Task-number: QTBUG-39393
Change-Id: I5ceadb07ebfc84142bbbfe98c5d61780e0314cf5
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Menu: Properly relay enabled state to QPA menu object

Task-number: QTBUG-39384
Change-Id: I1b71912b4f35ea0aa9e06667a5c0ecedec30f980
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
TableView: Allow resizing and scrolling single-column tables

Also makes sure the resize handle is visible in desktop style.

Task-number: QTBUG-39393
Change-Id: I44410c65e76b0a3221ea5fce713c1f1b69079947
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Calendar: fix dayOfWeekDelegate positioning

The grid line width needs to be taken into account

Change-Id: I13ecf5e32d1ae3fa967bbd01ae104686ee371411
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Calendar: respect style provided size

Task-number: QTBUG-39473
Change-Id: Ic0f874a6015b13b4833c6e1d6441c54d9533e2da
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Make Base ToolButtonStyle honor icon size.

Change-Id: Iba7cd88bd3d69ad254f312f57845d10c6170af63
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
CalendarStyle: do not hard code the height of dayOfWeekDelegate

Task-number: QTBUG-39482
Change-Id: I7b610a098402f5ec684fc0d7f9b47c4b9981e733
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
CalendarStyle: do not hard code the width of weekNumberDelegate

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

Change-Id: Ib60d7e00639f5a73bf4eed48e44dab880cdc748b
Merge "Merge remote-tracking branch 'origin/stable' into 5.3" into refs/staging/5.3
CalendarStyle: document available styleData properties

Change-Id: I0eb2a3ef443fe0827cb6b5d1d4bfa44543025906
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
CalendarStyle: add styleData.index for dayOfWeekDelegate

The first/last day could be styled in a different way compared to the
days in the middle. Expose the index for convenience and consistency
with weekNumberDelegate.

Change-Id: Ia0cdf5d121f81c243345ea65a8ee355342b4f220
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Fix CalendarStyle::control as read-only

This should never be set by the user, and marking it explicitly as
read-only makes it also appear read-only in the docs.

Change-Id: I9b66a62d2989446396e4c3ceb81d2ee8575d7a03
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Merge remote-tracking branch 'origin/5.3' into dev

Change-Id: I7ab0f7c218d462515c5aaaac3fbe3cd88d5cb5a5
Merge "Merge remote-tracking branch 'origin/5.3' into dev" into refs/staging/dev