Fix missing tool tip on Button

This binding was trying to hide the tooltip when the tooltip
text is the same as the button text. Unforunatately the logic
was somewhat broken and could not even theoretically work
for the case when there was a tooltip text set on the
button itself. Since the user can locally fix this by simply
not setting a tool tip or setting it to an empty string, I
think it is better to simply get rid of the binding.

Change-Id: I80ad2941649915a4f0eb54d9ba1c590b0292662c
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Add icon to button with Base style

This was simply not implemented before. Unlike desktop styles
I made the button resize to fit the icon rather than scale it
down.

Change-Id: Ib58d4d54d0dce3d5e5b53a1528dc4108b377975a
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
SplitView: support changing orientation

Change-Id: I8a5f7ec5bd6315a8a74ac6f8b5c9bc0d0f9c19fa
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
SplitView: bugfix hiding splitter for last item

Change-Id: I8953d7fa4f1a1a940029270d4cb8f3d69da07bf7
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
SplitView: Always layout as if fillWidthItem is visible

Hiding the fillWidth item in the splitter is allowed, but
causes strange drawing/layout artifacts that can be
difficult to understand since the layout engine would ignore
all hidden items. This patch changes the implementation
by adding an exception to the rule. The layout engine
now treats the fillWidth item as if it is always visible.
Then, hiding it would just reveal a white field where the
fillItem would otherwise be, but the layout would otherwise
look correct.

Change-Id: I95ec51b595109e8f1efdc231c9a6697ee60aa483
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
SplitView: bugfix animating split items

Only assign a new width/height to a splitter item when
needed (that is, the value was clamped). Otherwise we just
end up breaking bindings and animations without a good reason.

Change-Id: Ic33007713f6450d52c9f5bd958fca74095413638
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: I3152e47e365c420f15da08c93f243666de0092b5