forked from Shinonome/dots-hyprland
23 lines
525 B
QML
23 lines
525 B
QML
import QtQuick
|
|
|
|
QtObject {
|
|
// Textual info
|
|
required property string name
|
|
property string statusText
|
|
property string tooltipText: ""
|
|
property string icon: "close"
|
|
|
|
// State
|
|
property bool hasStatusText: true
|
|
property bool available: true
|
|
property bool toggled: false
|
|
|
|
// Interactions
|
|
required property var mainAction
|
|
property bool hasMenu: false
|
|
property var altAction: null
|
|
|
|
// Allow stuff like Processes to be declared freely
|
|
default property list<QtObject> data
|
|
}
|