From 00dfd9e5cc99371152be44e48ce88f3a69757022 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Wed, 8 Jun 2016 11:13:43 +0200 Subject: Universal: remove qdoc markers The original plan was to include the default implementation (of all styles, if we could make the snippets collapsiple) in the customization docs. Since the default implementations tend to include internal types, in the end we went the other way and wrote dedicated example snippets for the customization docs. Therefore these markers no longer server a purpose, but just add unnecessary extra bytes for the QML parser to read. Change-Id: I5740192b0a3e80614a795d32dabeb753f86bbd68 Reviewed-by: Mitch Curtis --- src/imports/controls/universal/CheckDelegate.qml | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/imports/controls/universal/CheckDelegate.qml') diff --git a/src/imports/controls/universal/CheckDelegate.qml b/src/imports/controls/universal/CheckDelegate.qml index 9441c7b0..c0ca272e 100644 --- a/src/imports/controls/universal/CheckDelegate.qml +++ b/src/imports/controls/universal/CheckDelegate.qml @@ -54,15 +54,12 @@ T.CheckDelegate { topPadding: padding - 1 bottomPadding: padding + 1 - //! [indicator] indicator: CheckIndicator { x: text ? (control.mirrored ? control.leftPadding : control.width - width - control.rightPadding) : control.leftPadding + (control.availableWidth - width) / 2 y: control.topPadding + (control.availableHeight - height) / 2 control: control } - //! [indicator] - //! [contentItem] contentItem: Text { leftPadding: !control.mirrored ? 0 : control.indicator.width + control.spacing rightPadding: control.mirrored ? 0 : control.indicator.width + control.spacing @@ -77,9 +74,7 @@ T.CheckDelegate { opacity: enabled ? 1.0 : 0.2 color: control.Universal.foreground } - //! [contentItem] - //! [background] background: Rectangle { visible: control.down || control.highlighted || control.visualFocus color: control.down ? control.Universal.listMediumColor : control.Universal.altMediumLowColor @@ -92,5 +87,4 @@ T.CheckDelegate { } } - //! [background] } -- cgit v1.2.3