Spectral/qml/component/FileBubble.qml

23 lines
436 B
QML
Raw Normal View History

2018-07-12 01:44:41 +00:00
import QtQuick 2.9
import QtQuick.Controls 2.2
import QtQuick.Controls.Material 2.2
AvatarContainer {
DownloadableContent {
id: downloadable
width: downloadButton.width
height: downloadButton.height
Button {
id: downloadButton
text: content.body
highlighted: !sentByMe
2018-07-14 11:24:20 +00:00
flat: true
2018-07-19 13:02:06 +00:00
onClicked: downloadable.saveFileAs()
}
}
}