1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-10 15:52:58 -04:00

core/server: add generic dbus service

- Add QML client with subscribe/introspect/getprop/setprop/call
- Add CLI helper `dms notify` that allows async calls with action
  handlers.
This commit is contained in:
bbedward
2026-01-17 22:04:58 -05:00
parent 53f5240d41
commit 162ec909da
20 changed files with 1403 additions and 287 deletions

View File

@@ -13,6 +13,7 @@ StyledRect {
property bool enabled: true
property int buttonSize: 32
property var tooltipText: null
property string tooltipSide: "bottom"
signal clicked
signal entered
@@ -38,5 +39,6 @@ StyledRect {
onEntered: root.entered()
onExited: root.exited()
tooltipText: root.tooltipText
tooltipSide: root.tooltipSide
}
}

View File

@@ -8,6 +8,7 @@ MouseArea {
property color stateColor: Theme.surfaceText
property real cornerRadius: parent && parent.radius !== undefined ? parent.radius : Theme.cornerRadius
property var tooltipText: null
property string tooltipSide: "bottom"
readonly property real stateOpacity: disabled ? 0 : pressed ? 0.12 : containsMouse ? 0.08 : 0
@@ -26,7 +27,7 @@ MouseArea {
interval: 400
repeat: false
onTriggered: {
tooltip.show(root.tooltipText, root, 0, 0, "bottom");
tooltip.show(root.tooltipText, root, 0, 0, root.tooltipSide);
}
}