Commit d76c2134 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Add primaryActions and secondaryActions properties to SensorFace

This allows faces to expose a list of actions that can then be used by
an application to trigger behaviour that the face exposes. The primary
use case I have at the moment is exposing a set of actions that are
added to the toolbar in KSysGuardQML, but I can easily imagine more
parent fd453e16
......@@ -30,6 +30,10 @@ import org.kde.ksysguard.faces 1.0 as Faces
Faces.AbstractSensorFace {
id: root
property list<Kirigami.Action> primaryActions
property list<Kirigami.Action> secondaryActions
implicitWidth: contentItem.implicitWidth
implicitHeight: contentItem.implicitHeight
Layout.minimumWidth: contentItem.Layout.minimumWidth
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment