Spectral/qml/component/AudioBubble.qml

20 lines
346 B
QML
Raw Normal View History

2018-07-16 14:05:34 +00:00
import QtQuick 2.9
import QtQuick.Controls 2.2
import QtMultimedia 5.8
AvatarContainer {
Button {
id: downloadButton
text: content.body
highlighted: !sentByMe
flat: true
onClicked: downloadable.downloadAndOpen()
Audio {
audioRole: Audio.VoiceCommunicationRole
}
}
}