progress dump

This commit is contained in:
Bloxx12 2025-05-06 10:30:18 +02:00
commit cc71593a9b
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E
7 changed files with 38 additions and 36 deletions

View file

@ -11,11 +11,18 @@ Rectangle {
id: root
required property var bar
anchors.horizontalCenter: parent.horizontalCenter
width: parent.width
height: column.height + 10
color: "#30c0ffff"
radius: 5
border.color: "black"
border.width: 2
ColumnLayout {
id: column
spacing: 35
spacing: 10
anchors.centerIn: parent
Repeater {
model: SystemTray.items
@ -25,25 +32,21 @@ Rectangle {
required property SystemTrayItem modelData
Item {
height: 30
width: 30
anchors.horizontalCenter: parent.horizontalCenter
height: 35
width: 35
Image {
source: item.modelData.icon
Image {
source: item.modelData.icon
anchors.fill: parent
MouseArea {
anchors.fill: parent
MouseArea {
anchors.fill: parent
onClicked: function (mouse) {
if (mouse.button === Qt.LeftButton) {
item.modelData.activate();
}
if (mouse.button === Qt.RightButton) {
if (item.modelData.hasMenu) {
}
}
onClicked: function (mouse) {
if (mouse.button === Qt.LeftButton) {
item.modelData.activate();
}
if (mouse.button === Qt.RightButton) {
if (item.modelData.hasMenu) {}
}
}
}