97 lines
2.5 KiB
JSON
97 lines
2.5 KiB
JSON
{
|
|
"name": "WlSessionLockSurface",
|
|
"module": "Quickshell.Wayland",
|
|
"type": "class",
|
|
"super": {
|
|
"type": "local",
|
|
"module": "Quickshell",
|
|
"name": "Reloadable"
|
|
},
|
|
"description": "Surface to display with a `WlSessionLock`.",
|
|
"details": "Surface displayed by a {{< qmltypelink type=\"local\" module=\"Quickshell.Wayland\" name=\"WlSessionLock\" mtype=\"\" mname=\"\" >}} when it is locked.\n",
|
|
"properties": {
|
|
"screen": {
|
|
"type": {
|
|
"type": "local",
|
|
"module": "Quickshell",
|
|
"name": "ShellScreen"
|
|
},
|
|
"details": "The screen that the surface is displayed on.\n",
|
|
"flags": [
|
|
"readonly"
|
|
]
|
|
},
|
|
"data": {
|
|
"type": {
|
|
"type": "qt",
|
|
"module": "qml",
|
|
"name": "list",
|
|
"of": {
|
|
"type": "qt",
|
|
"module": "qml.QtQml",
|
|
"name": "QtObject"
|
|
}
|
|
},
|
|
"details": null,
|
|
"flags": [
|
|
"default",
|
|
"readonly"
|
|
]
|
|
},
|
|
"visible": {
|
|
"type": {
|
|
"type": "qt",
|
|
"module": "qml",
|
|
"name": "bool"
|
|
},
|
|
"details": "If the surface has been made visible.\n\nNote: SessionLockSurfaces will never become invisible, they will only be destroyed.\n",
|
|
"flags": [
|
|
"readonly"
|
|
]
|
|
},
|
|
"color": {
|
|
"type": {
|
|
"type": "qt",
|
|
"module": "qml",
|
|
"name": "color"
|
|
},
|
|
"details": "The background color of the window. Defaults to white.\n\n{{< callout type=\"warning\" >}}\n This seems to behave weirdly when using transparent colors on some systems.\nUsing a colored content item over a transparent window is the recommended way to work around this:\n```qml\nProxyWindow {\n Rectangle {\n anchors.fill: parent\n color: \"#20ffffff\"\n\n // your content here\n }\n}\n```\n... but you probably shouldn't make a transparent lock,\nand most compositors will ignore an attempt to do so.\n\n{{< /callout >}}"
|
|
},
|
|
"height": {
|
|
"type": {
|
|
"type": "qt",
|
|
"module": "qml",
|
|
"name": "int"
|
|
},
|
|
"details": null,
|
|
"flags": [
|
|
"readonly"
|
|
]
|
|
},
|
|
"width": {
|
|
"type": {
|
|
"type": "qt",
|
|
"module": "qml",
|
|
"name": "int"
|
|
},
|
|
"details": null,
|
|
"flags": [
|
|
"readonly"
|
|
]
|
|
},
|
|
"contentItem": {
|
|
"type": {
|
|
"type": "qt",
|
|
"module": "qml.QtQuick",
|
|
"name": "Item"
|
|
},
|
|
"details": null,
|
|
"flags": [
|
|
"readonly"
|
|
]
|
|
}
|
|
},
|
|
"functions": [],
|
|
"signals": {},
|
|
"variants": {}
|
|
} |