ComboBox style: Remove old styling API in Base pop-up frame

Also, make it more useful while not yet implemented.

Change-Id: I954623c83e24398e0b4d099c1ab3f608082c2073
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
ComboBox style: Remove old API in desktop drop-down frame

The contentWidth, contentHeight properties no longer exist. We should
use padding instead.

Task-number: QTBUG-38054

Change-Id: I0e2574a5b17e12b9e43a3ab42e86ce38a31fff84
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
ComboBox: Update currentText when currentIndex goes from -1 to 0

We need to help things a bit because the internal selectedText property
won't change in that specific case.

Task-number: QTBUG-38036

Change-Id: Id997da97a77faad8ffaad08e8b9c7614d8b6b7fc
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Tests: Remove insignificant marker for Win7 build with Angle

tst_controls is now passing for the Windows 7 32bit with Angle
configuration.

Task-number: QTBUG-33029
Change-Id: If0b47b827d97bb654a12bb8a2c9dc98d3b968988
Reviewed-by: Sergio Ahumada <sahumada@blackberry.com>
Fix styleData.activeFocus for TabViewStyle::tab

As the documentation says, the property is supposed to be true when
the specific tab button/item has active focus. It was an alias to tab
bar's activeFocus, so it was true for all tab buttons/items when any of
them had active focus.

Change-Id: I5fd56ec56bb496ce75735a63bbb581c4bcfc6186
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
ComboBox: Subtract style padding from TextInput width

Task-number: QTBUG-38384
Change-Id: I89b59bda26188e9aebdd696d0a3af02389921279
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Ensure that child MouseAreas will get the event first

By lowering the MouseArea provided by a ScrollView we can ensure that
any user MouseArea created as a child will get the event first which can
pass it on afterwards.

Task-number: QTBUG-38083

Change-Id: Id0a36fab7600966a0e12043fa7e8a98641d71a81
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Calculate the position of the scrollbar handle correctly

When the width of the flickable in the ScrollArea was changing dynamically
so it ended up with an originX that was not 0 then it would not calculate
the leftMargin of the scrollbar correctly. The calculation here is done
based on how QStyle calculates it for consistency.

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