MauiKit Controls

CheckMark.qml
1import QtQuick 2.9
2import QtQuick.Controls 2.2
3import org.mauikit.controls 1.0 as Maui
4import QtQuick.Shapes 1.12
5
6Shape
7{
8 id: control
9
10 /**
11 * color : color
12 */
13 property color color : Maui.Theme.backgroundColor
14
15 /**
16 * borderWidth : int
17 */
18 property int borderWidth: 2
19
20 layer.enabled: true
21 layer.samples: 4
22
23 ShapePath
24 {
25 strokeColor: control.color
26 strokeWidth: control.borderWidth
27 fillColor: "transparent"
28 capStyle:ShapePath.RoundCap
29 joinStyle: ShapePath.RoundJoin
30
31 startX: 0
32 startY: control.height * 0.6
33 PathLine { x: control.width * 0.4 ; y: control.height }
34 PathLine { x: control.width; y: 0 }
35 }
36}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:56:16 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.