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

0001 import QtQuick 2.15
0002 import QtQuick.Controls 2.15
0003 import org.mauikit.controls 1.3 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 Behavior on color
0024         {
0025             Maui.ColorTransition{}
0026         }
0027 
0028     ShapePath
0029     {
0030         capStyle: ShapePath.RoundCap
0031         joinStyle: ShapePath.RoundJoin
0032         strokeWidth: control.borderWidth
0033         strokeColor: control.color
0034         fillColor: "transparent"
0035 
0036         startX: control.width * 0.5; startY: 0
0037         PathLine { x: control.width * 0.5; y: control.height }
0038     }
0039 
0040     ShapePath
0041     {
0042         capStyle: ShapePath.RoundCap
0043         joinStyle: ShapePath.RoundJoin
0044         strokeWidth: control.borderWidth
0045         strokeColor: control.color
0046         fillColor: "transparent"
0047 
0048         startX: 0; startY: control.height * 0.5
0049         PathLine { x: control.width; y: control.height * 0.5}
0050     }
0051 }