Luigit
repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by admin

quickshell/nuguland/BarControl.qml

Raw
import QtQuick

// Root of a feature's own bar presentation, a registry entry's `barControl`
// (see FeatureEntry.qml). Bar sets the three inputs below, lays its shared
// pointer and keyboard state layer over the control, rounded by `radius`, and
// owns activation and the popup anchor; the control only renders.
Rectangle {
    // The entry's `barLabel`.
    property string label: ""
    // The entry's popup is the open one.
    property bool selected: false
    // The bar is vertical (left edge) instead of horizontal (top edge).
    property bool vertical: false
}