add base update button handler
This commit is contained in:
@@ -8,6 +8,9 @@ Item {
|
||||
|
||||
property int packageCount: 0
|
||||
property bool isChecking: true
|
||||
property bool isUpdating: false
|
||||
property bool isInstalling: false
|
||||
signal updateRequested()
|
||||
|
||||
ColumnLayout {
|
||||
anchors.fill: parent
|
||||
@@ -25,6 +28,11 @@ Item {
|
||||
|
||||
Buttons.UpdateBtn {
|
||||
Layout.fillWidth: true
|
||||
packageCount: root.packageCount
|
||||
isChecking: root.isChecking
|
||||
isUpdating: root.isUpdating
|
||||
isInstalling: root.isInstalling
|
||||
onClicked: root.updateRequested()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user