MauiKit Controls
21import QtQuick.Controls as QQC
23import org.mauikit.controls as Maui
40 width: (filling ? parent.width : mWidth)
41 height: (filling ? parent.height : mHeight)
43 anchors.centerIn: parent
47 enabled: control.hint === 1
51 duration: Maui.Style.units.shortDuration
52 easing.type: Q.Easing.InOutQuad
58 enabled: control.hint === 1
62 duration: Maui.Style.units.shortDuration
63 easing.type: Q.Easing.InOutQuad
67 readonly property int mWidth: Math.round(Math.min(control.parent.width * widthHint, maxWidth))
68 readonly property int mHeight: Math.round(Math.min(control.parent.height * heightHint, maxHeight))
70 margins: filling ? 0 : Maui.Style.space.medium
72 property bool filling : false
76 default property alias content : _content.data
81 property int maxWidth : 700
86 property int maxHeight : 400
91 property double hint : 0.9
96 property double heightHint: hint
101 property double widthHint: hint
108 layer.effect: MultiEffect
111 maskThresholdMin: 0.5
114 maskThresholdMax: 1.0
115 maskSource: Q.ShaderEffectSource
117 sourceItem: Q.Rectangle
119 width: _content.width
120 height: _content.height
121 radius: control.filling ? 0 : Maui.Style.radiusV
127 Maui.Controls.flat: control.filling
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 12:11:16 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.