mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-22 14:18:09 +00:00
46 lines
1 KiB
QML
46 lines
1 KiB
QML
import QtQuick 2.7
|
|
import QtQuick.Layouts 1.3
|
|
|
|
import Common 1.0
|
|
import Linphone 1.0
|
|
import Linphone.Styles 1.0
|
|
|
|
// =============================================================================
|
|
|
|
Item {
|
|
implicitHeight: message.height
|
|
width: parent.width
|
|
|
|
Message {
|
|
id: message
|
|
|
|
anchors {
|
|
left: parent.left
|
|
leftMargin: ChatStyle.entry.metaWidth
|
|
right: parent.right
|
|
}
|
|
backgroundColor: ChatStyle.entry.message.outgoing.backgroundColor
|
|
color: ChatStyle.entry.message.outgoing.text.color
|
|
fontSize: ChatStyle.entry.message.outgoing.text.fontSize
|
|
width: parent.width
|
|
|
|
Row {
|
|
spacing: ChatStyle.entry.message.extraContent.spacing
|
|
|
|
Icon {
|
|
height: ChatStyle.entry.lineHeight
|
|
icon: 'chat_send'
|
|
iconSize: ChatStyle.entry.message.outgoing.sendIconSize
|
|
}
|
|
|
|
ActionButton {
|
|
height: ChatStyle.entry.lineHeight
|
|
icon: 'delete'
|
|
iconSize: ChatStyle.entry.deleteIconSize
|
|
visible: isHoverEntry()
|
|
|
|
onClicked: removeEntry()
|
|
}
|
|
}
|
|
}
|
|
}
|