mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-23 22:58:15 +00:00
- Keep message preview between chat rooms. - Hide preview after sending message. - Keep recording the same file while changing chat room. - Send message while recording. Fix forward on contact selection.
34 lines
No EOL
729 B
QML
34 lines
No EOL
729 B
QML
import QtQuick 2.7
|
|
import QtQuick.Controls 2.2
|
|
import QtQuick.Layouts 1.3
|
|
|
|
import Common 1.0
|
|
import Linphone 1.0
|
|
import Linphone.Styles 1.0
|
|
import Utils 1.0
|
|
import UtilsCpp 1.0
|
|
|
|
import Units 1.0
|
|
|
|
import 'Chat.js' as Logic
|
|
|
|
// =============================================================================
|
|
ColumnLayout{
|
|
property alias replyChatRoomModel : replyPreview.chatRoomModel
|
|
property int maxHeight: parent.height - ( audioPreview.visible ? audioPreview.height : 0)
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
anchors.bottom: parent.bottom
|
|
spacing: 0
|
|
|
|
function hide(){
|
|
}
|
|
ChatReplyPreview{
|
|
id: replyPreview
|
|
Layout.fillWidth: true
|
|
}
|
|
ChatAudioPreview{
|
|
id: audioPreview
|
|
Layout.fillWidth: true
|
|
}
|
|
} |