noctalia-shell/Modules/Bar/Bar.qml
2025-08-09 14:28:39 -04:00

46 lines
725 B
QML

import QtQuick
import Quickshell
import QtQuick.Controls
import QtQuick.Layouts
import qs.Widgets
import qs.Services
import qs.Theme
PanelWindow {
id: root
readonly property real scaling: Scaling.scale(screen)
property var modelData
screen: modelData
implicitHeight: Style.barHeight * scaling
color: "transparent"
anchors {
top: true
left: true
right: true
}
Item {
anchors.fill: parent
Rectangle {
anchors.fill: parent
color: Theme.backgroundPrimary
layer.enabled: true
}
RowLayout {
// Just testing
NToggle {
label: "Label"
description: "Description"
}
NIconButton {
icon: "refresh"
}
}
}
}