add install adn remove completed

This commit is contained in:
2026-12-06 10:06:21 +03:00
parent fb24f66c04
commit 2c6d397f76
11 changed files with 845 additions and 59 deletions

View File

@@ -79,40 +79,6 @@ Popup {
onClicked: root.pick(ProcessManager.PackageManager.Pacman)
}
Rectangle {
Layout.fillWidth: true
Layout.topMargin: 2
Layout.preferredHeight: 1
color: Theme.color4
}
// Пункт меню «История»: открывает список завершённых заданий.
Button {
id: historyButton
text: "История"
Layout.fillWidth: true
leftPadding: 8
rightPadding: 8
topPadding: 8
bottomPadding: 8
onClicked: {
root.close()
}
background: Rectangle {
radius: 3
color: historyButton.down ? Theme.color4 : historyButton.hovered ? Theme.color5 : Theme.colorTransparent
}
contentItem: Text {
text: historyButton.text
font.pixelSize: 13
color: Theme.color2
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignVCenter
}
}
}
onOpened: {