quickshell-web/modules/Quickshell/ShellScreen.json

142 lines
3.1 KiB
JSON
Raw Normal View History

2024-09-27 23:35:19 +00:00
{
"name": "ShellScreen",
"module": "Quickshell",
"type": "class",
"super": {
"type": "qt",
"module": "qml.QtQml",
"name": "QtObject"
},
"description": null,
"details": "Monitor object useful for setting the monitor for a TYPE99MQS_Quickshell99NQsWindow99TYPE\nor querying information about the monitor.\n\n> [!WARNING] If the monitor is disconnected than any stored copies of its ShellMonitor will\n> be marked as dangling and all properties will return default values.\n> Reconnecting the monitor will not reconnect it to the ShellMonitor object.\n\nDue to some technical limitations, it was not possible to reuse the native qml TYPE99MQT_qml_QtQuick99NScreen99TYPE type.\n",
"flags": [
"uncreatable"
],
"properties": {
"orientation": {
"type": {
"type": "unknown",
"module": "",
"name": ""
},
"details": null,
"flags": [
"readonly"
]
},
"width": {
"type": {
"type": "qt",
"module": "qml",
"name": "int"
},
"details": null,
"flags": [
"readonly"
]
},
"y": {
"type": {
"type": "qt",
"module": "qml",
"name": "int"
},
"details": null,
"flags": [
"readonly"
]
},
"logicalPixelDensity": {
"type": {
"type": "qt",
"module": "qml",
"name": "real"
},
"details": "The number of device-independent (scaled) pixels per millimeter.\n",
"flags": [
"readonly"
]
},
"physicalPixelDensity": {
"type": {
"type": "qt",
"module": "qml",
"name": "real"
},
"details": "The number of physical pixels per millimeter.\n",
"flags": [
"readonly"
]
},
"x": {
"type": {
"type": "qt",
"module": "qml",
"name": "int"
},
"details": null,
"flags": [
"readonly"
]
},
"devicePixelRatio": {
"type": {
"type": "qt",
"module": "qml",
"name": "real"
},
"details": "The ratio between physical pixels and device-independent (scaled) pixels.\n",
"flags": [
"readonly"
]
},
"height": {
"type": {
"type": "qt",
"module": "qml",
"name": "int"
},
"details": null,
"flags": [
"readonly"
]
},
"name": {
"type": {
"type": "qt",
"module": "qml",
"name": "string"
},
"details": "The name of the screen as seen by the operating system.\n\nUsually something like `DP-1`, `HDMI-1`, `eDP-1`.\n",
"flags": [
"readonly"
]
},
"primatyOrientation": {
"type": {
"type": "unknown",
"module": "",
"name": ""
},
"details": null,
"flags": [
"readonly"
]
}
},
"functions": [
{
"ret": {
"type": "qt",
"module": "qml",
"name": "string"
},
"name": "toString",
"id": "toString",
"details": null,
"params": []
}
],
"signals": {},
"variants": {}
}