add install adn remove completed
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user