quickshell-web/modules/Quickshell/SystemClock.json
2024-09-28 02:35:19 +03:00

79 lines
1.6 KiB
JSON

{
"name": "SystemClock",
"module": "Quickshell",
"type": "class",
"super": {
"type": "qt",
"module": "qml.QtQml",
"name": "QtObject"
},
"description": "System clock accessor.",
"details": "",
"flags": [
"enum"
],
"properties": {
"precision": {
"type": {
"type": "local",
"module": "Quickshell",
"name": "SystemClock"
},
"details": "The precision the clock should measure at. Defaults to `SystemClock.Seconds`.\n"
},
"minutes": {
"type": {
"type": "qt",
"module": "qml",
"name": "int"
},
"details": "The current minute, or 0 if TYPE99Vprecision99Tprop99TYPE is `SystemClock.Hours`.\n",
"flags": [
"readonly"
]
},
"enabled": {
"type": {
"type": "qt",
"module": "qml",
"name": "bool"
},
"details": "If the clock should update. Defaults to true.\n\nSetting enabled to false pauses the clock.\n"
},
"hours": {
"type": {
"type": "qt",
"module": "qml",
"name": "int"
},
"details": "The current hour.\n",
"flags": [
"readonly"
]
},
"seconds": {
"type": {
"type": "qt",
"module": "qml",
"name": "int"
},
"details": "The current second, or 0 if TYPE99Vprecision99Tprop99TYPE is `SystemClock.Hours` or `SystemClock.Minutes`.\n",
"flags": [
"readonly"
]
}
},
"functions": [],
"signals": {},
"variants": {
"Hours": {
"details": null
},
"Seconds": {
"details": null
},
"Minutes": {
"details": null
}
}
}