mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 06:16:32 +00:00
7d178b355e
This commit adds support for rendering images by detecting image URLs inside of a message and attaching them to their corresponding message bubble.
36 lines
905 B
QML
36 lines
905 B
QML
import QtQuick 2.13
|
|
import QtQuick.Controls 2.13
|
|
import Qt.labs.settings 1.0
|
|
import "../../../imports"
|
|
import "../../../shared"
|
|
import "."
|
|
|
|
SplitView {
|
|
property var appSettings
|
|
|
|
id: chatView
|
|
handle: SplitViewHandle {}
|
|
|
|
Component.onCompleted: this.restoreState(appSettings.chatSplitView)
|
|
Component.onDestruction: appSettings.chatSplitView = this.saveState()
|
|
|
|
ContactsColumn {
|
|
id: contactsColumn
|
|
SplitView.preferredWidth: Style.current.leftTabPrefferedSize
|
|
SplitView.minimumWidth: Style.current.leftTabMinimumWidth
|
|
SplitView.maximumWidth: Style.current.leftTabMaximumWidth
|
|
}
|
|
|
|
ChatColumn {
|
|
id: chatColumn
|
|
chatGroupsListViewCount: contactsColumn.chatGroupsListViewCount
|
|
appSettings: chatView.appSettings
|
|
}
|
|
}
|
|
|
|
/*##^##
|
|
Designer {
|
|
D{i:0;formeditorColor:"#ffffff";formeditorZoom:1.25;height:770;width:1152}
|
|
}
|
|
##^##*/
|