mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-05 20:28:25 +02:00
18 lines
621 B
QML
18 lines
621 B
QML
import QtQuick
|
|
|
|
// Base item every bar widget extends. Codifies the three properties the
|
|
// bar host injects into each widget slot:
|
|
// bar - the host Bar instance (foreground/background/run/etc).
|
|
// moduleName - widget's canonical id, used by the host registry to look
|
|
// up settings and to disambiguate inline IPC routes.
|
|
// settings - per-widget overrides read from shell.json's layout entry.
|
|
//
|
|
// Widgets are free to add their own properties, signals, and child items.
|
|
Item {
|
|
id: root
|
|
|
|
property QtObject bar: null
|
|
property string moduleName: ""
|
|
property var settings: ({})
|
|
}
|