MauiKit Controls

Triangle.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 ShapePath
16 {
17 capStyle: ShapePath.SquareCap
18 fillColor: control.color
19 strokeColor: "transparent"
20 strokeStyle: ShapePath.SolidLine
21 startX: 0; startY: 0
22 PathLine { x: control.width; y: control.height }
23 PathLine { x: 0; y: control.height }
24 PathLine { x: 0; y: 0 }
25 }
26}
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.