{{ $modulename := .Get "module" }} {{ $typename := .Get "type" }} {{ $type := index .Site.Data.modules $modulename $typename }} {{- define "partials/qmltypeflag.html" -}} {{- if eq . "default" -}} {{ . }} {{- else if eq . "singleton" -}} {{ . }} {{- else if eq . "uncreatable" -}} {{ . }} {{- else if eq . "readonly" -}} {{ . }} {{- else if eq . "writeonly" -}} {{ . }} {{- else -}} {{ . }} {{- end -}} {{- end -}} {{- define "partials/qmltypeflags.html" -}} {{- $first := true -}} [ {{- range $flag := . }} {{- if not $first -}}, {{ end -}} {{- $first = false -}} {{ partial "qmltypeflag.html" $flag }} {{- end -}} ] {{- end -}}
import {{ $modulename }}
{{- if $type.description -}}
{{ $name -}}
No details provided.
{{- end -}}{{ $propname }}.{{ $gadgetname -}} : {{ partial "qmltype.html" $gadgettype -}}
{{- end -}} {{- else -}}{{ $propname -}} : {{ partial "qmltype.html" $prop.type -}}
{{- end -}}No details provided.
{{- end -}}{{ partial "qmltype.html" $func.ret -}} {{ $func.name -}} ( {{- partial "qmlparams.html" $func.params -}} )
No details provided.
{{- end -}}{{ $signame -}} ( {{- partial "qmlparams.html" $sig.params -}} )
No details provided.
{{- end -}}