aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/templates
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2016-02-05 15:47:24 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2016-02-06 13:16:25 +0000
commit66487fec4c558d8b77dd0573e524a61d11e33c2a (patch)
treedbb6e6ef4ef7231c6b0668289cdef6e00fa14fef /src/imports/templates
parent39cd9bce138e3463a0c460119531542acb7d126f (diff)
Remove AbstractButton::label in favor of contentItem
This has been on the TODO list for a long time and should have been done earlier. It's time to cleanup the API and remove all the delegate properties that became redundant when Control::contentItem was introduced. The biggest benefit of using Control::contentItem is that it is resized and positioned automatically, so we save a few QML bindings. Furthemore, contentItem is a common naming pattern in Qt Quick (Window, Flickable) and therefore less likely to conflict with IDs in user code (a thing that always bothered me with "label"). Change-Id: I8143a9f08d726db31cf4618670af48bd37f80b89 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/imports/templates')
-rw-r--r--src/imports/templates/plugins.qmltypes1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/imports/templates/plugins.qmltypes b/src/imports/templates/plugins.qmltypes
index d96563a7..d3ca28fc 100644
--- a/src/imports/templates/plugins.qmltypes
+++ b/src/imports/templates/plugins.qmltypes
@@ -22,7 +22,6 @@ Module {
Property { name: "autoExclusive"; type: "bool" }
Property { name: "autoRepeat"; type: "bool" }
Property { name: "indicator"; type: "QQuickItem"; isPointer: true }
- Property { name: "label"; type: "QQuickItem"; isPointer: true }
Signal { name: "pressed" }
Signal { name: "released" }
Signal { name: "canceled" }