46 lines
725 B
QML
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"
|
|
}
|
|
}
|
|
}
|
|
}
|