101 lines
2.7 KiB
JSON
101 lines
2.7 KiB
JSON
|
{
|
||
|
"name": "Region",
|
||
|
"module": "Quickshell",
|
||
|
"type": "class",
|
||
|
"super": {
|
||
|
"type": "qt",
|
||
|
"module": "qml.QtQml",
|
||
|
"name": "QtObject"
|
||
|
},
|
||
|
"description": "A composable region used as a mask.",
|
||
|
"details": "See TYPE99MQS_Quickshell99NQsWindow99Vmask99Tprop99TYPE.\n",
|
||
|
"properties": {
|
||
|
"shape": {
|
||
|
"type": {
|
||
|
"type": "local",
|
||
|
"module": "Quickshell",
|
||
|
"name": "RegionShape"
|
||
|
},
|
||
|
"details": "Defaults to `Rect`.\n"
|
||
|
},
|
||
|
"regions": {
|
||
|
"type": {
|
||
|
"type": "qt",
|
||
|
"module": "qml",
|
||
|
"name": "list",
|
||
|
"of": {
|
||
|
"type": "local",
|
||
|
"module": "Quickshell",
|
||
|
"name": "Region"
|
||
|
}
|
||
|
},
|
||
|
"details": "Regions to apply on top of this region.\n\nRegions can be nested to create a more complex region.\nFor example this will create a square region with a cutout in the middle.\n```qml\nRegion {\n width: 100; height: 100;\n\n Region {\n x: 50; y: 50;\n width: 50; height: 50;\n intersection: Intersection.Subtract\n }\n}\n```\n",
|
||
|
"flags": [
|
||
|
"default",
|
||
|
"readonly"
|
||
|
]
|
||
|
},
|
||
|
"height": {
|
||
|
"type": {
|
||
|
"type": "qt",
|
||
|
"module": "qml",
|
||
|
"name": "int"
|
||
|
},
|
||
|
"details": "Defaults to 0. Does nothing if TYPE99Vitem99Tprop99TYPE is set.\n"
|
||
|
},
|
||
|
"item": {
|
||
|
"type": {
|
||
|
"type": "qt",
|
||
|
"module": "qml.QtQuick",
|
||
|
"name": "Item"
|
||
|
},
|
||
|
"details": "The item that determines the geometry of the region.\n`item` overrides TYPE99Vx99Tprop99TYPE, TYPE99Vy99Tprop99TYPE, TYPE99Vwidth99Tprop99TYPE and TYPE99Vheight99Tprop99TYPE.\n"
|
||
|
},
|
||
|
"width": {
|
||
|
"type": {
|
||
|
"type": "qt",
|
||
|
"module": "qml",
|
||
|
"name": "int"
|
||
|
},
|
||
|
"details": "Defaults to 0. Does nothing if TYPE99Vitem99Tprop99TYPE is set.\n"
|
||
|
},
|
||
|
"intersection": {
|
||
|
"type": {
|
||
|
"type": "local",
|
||
|
"module": "Quickshell",
|
||
|
"name": "Intersection"
|
||
|
},
|
||
|
"details": "The way this region interacts with its parent region. Defaults to `Combine`.\n"
|
||
|
},
|
||
|
"x": {
|
||
|
"type": {
|
||
|
"type": "qt",
|
||
|
"module": "qml",
|
||
|
"name": "int"
|
||
|
},
|
||
|
"details": "Defaults to 0. Does nothing if TYPE99Vitem99Tprop99TYPE is set.\n"
|
||
|
},
|
||
|
"y": {
|
||
|
"type": {
|
||
|
"type": "qt",
|
||
|
"module": "qml",
|
||
|
"name": "int"
|
||
|
},
|
||
|
"details": "Defaults to 0. Does nothing if TYPE99Vitem99Tprop99TYPE is set.\n"
|
||
|
}
|
||
|
},
|
||
|
"functions": [],
|
||
|
"signals": {
|
||
|
"childrenChanged": {
|
||
|
"name": "childrenChanged",
|
||
|
"details": null,
|
||
|
"params": []
|
||
|
},
|
||
|
"changed": {
|
||
|
"name": "changed",
|
||
|
"details": null,
|
||
|
"params": []
|
||
|
}
|
||
|
},
|
||
|
"variants": {}
|
||
|
}
|