Add saveFileAs() && init setting page.

This commit is contained in:
Black Hat
2018-07-19 21:02:06 +08:00
parent febff558fd
commit 80fca26092
5 changed files with 55 additions and 6 deletions

View File

@@ -26,11 +26,12 @@ AvatarContainer {
anchors.fill: parent
hoverEnabled: true
acceptedButtons: Qt.LeftButton | Qt.RightButton
propagateComposedEvents: true
ToolTip.visible: containsMouse
ToolTip.text: content.body
onClicked: downloadable.downloadAndOpen()
onClicked: mouse.button & Qt.LeftButton ? downloadable.downloadAndOpen() : downloadable.saveFileAs()
}
}
}