Warning, /maui/mauikit/src/controls.5/private/shapes/CheckMark.qml is written in an unsupported language. File is not indexed.

0001 import QtQuick 2.9
0002 import QtQuick.Controls 2.2
0003 import org.mauikit.controls 1.0 as Maui
0004 import QtQuick.Shapes 1.12
0005 
0006 Shape
0007 {
0008     id: control
0009 
0010     /**
0011       * color : color
0012       */
0013     property color color : Maui.Theme.backgroundColor
0014 
0015     /**
0016       * borderWidth : int
0017       */
0018     property int borderWidth: 2
0019 
0020     layer.enabled: true
0021     layer.samples: 4
0022 
0023     ShapePath
0024     {
0025         strokeColor: control.color
0026         strokeWidth: control.borderWidth
0027         fillColor: "transparent"
0028         capStyle:ShapePath.RoundCap
0029         joinStyle: ShapePath.RoundJoin
0030 
0031         startX: 0
0032         startY: control.height * 0.6
0033         PathLine { x: control.width * 0.4 ; y: control.height }
0034         PathLine { x: control.width; y: 0 }
0035     }
0036 }