aboutsummaryrefslogtreecommitdiffstats
path: root/src/controls/qquickcontainer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Promote contentItem from Container to ControlJ-P Nurmi2015-06-151-61/+0
| | | | | Change-Id: I843e8afbee9f321112defeff99f885eadc748e75 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Rename Control::availableWidth/Height to contentWidth/HeightJ-P Nurmi2015-06-151-1/+1
| | | | | Change-Id: Ia39a52e7e8d968b05fd7a2d64ab3b3030a9f528e Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Remove obsolete Container::contentWidth & contentHeightJ-P Nurmi2015-06-151-38/+1
| | | | | Change-Id: Ia0ed99904e2bcdcf15820da9ad8a7e1f07fc7e1e Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Pass new & old padding to QQuickControl::paddingChange()J-P Nurmi2015-06-141-2/+2
| | | | | | | | | Consistent with geometryChange() and useful for controls that want to resize delegate items in a specific dimension (ie. either the width or height follows the delegate size). Change-Id: Id143b2ef1e7b266ac32d9f3129f88d0fadb036d0 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Container: resize the content automaticallyJ-P Nurmi2015-06-091-0/+25
| | | | | Change-Id: If7964b64b6f78fc77e1095d69658e27bcb89a6f8 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Control::availableWidth & availableHeightJ-P Nurmi2015-06-031-21/+12
| | | | | | | | | The recently introduced contentWidth/Height was ambiguous. It had even different semantics than in Containers, TextXxx & Flickable etc. Thus, replace with availableWidth/Height. Change-Id: Iaeef25ec82b395c602724d222ca73666460ffd29 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* QQuickContainer: omit automatic content size notifiersJ-P Nurmi2015-05-231-0/+11
| | | | | Change-Id: Iaeb851371810283cc272d755f32ffdafaff16118 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Add read-only Control::contentWidth and contentHeightJ-P Nurmi2015-05-231-17/+11
| | | | | | | This is the control width and height without padding. Change-Id: Iebee2a0d3fd6b5475fef1dad507c72efba12d903 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Fix QQuickContainer::contentItemChange()J-P Nurmi2015-04-151-1/+1
| | | | | | | New item is the first, old item the second argument. Change-Id: I9e4255d1046b3f02d15633b0979eb56ca79e4dbb Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Remove "abstract" prefix from the C++ classesJ-P Nurmi2015-04-101-0/+138
The QML type registration is still using Abstract-prefix to avoid conflicts, until QTBUG-43581 & QTBUG-43582 have been resolved so that the public types can be used for accessing attached properties and enums. Change-Id: I469712461f706a83c226e4017282ca1d6914c670 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>