2020-06-17 19:18:31 +00:00
|
|
|
import QtQuick 2.13
|
2020-06-23 18:51:10 +00:00
|
|
|
import QtQuick.Controls 2.13
|
2020-06-23 20:49:04 +00:00
|
|
|
import Qt.labs.settings 1.0
|
2020-05-19 19:44:45 +00:00
|
|
|
import "../../../imports"
|
2020-06-23 18:51:10 +00:00
|
|
|
import "../../../shared"
|
2020-05-25 20:34:26 +00:00
|
|
|
import "."
|
2020-05-13 17:27:06 +00:00
|
|
|
|
|
|
|
SplitView {
|
2020-06-23 20:49:04 +00:00
|
|
|
property var appSettings
|
2020-05-13 17:27:06 +00:00
|
|
|
|
2020-06-23 20:49:04 +00:00
|
|
|
id: chatView
|
2020-06-23 18:51:10 +00:00
|
|
|
handle: SplitViewHandle {}
|
2020-05-27 17:10:50 +00:00
|
|
|
|
2020-06-23 20:49:04 +00:00
|
|
|
Component.onCompleted: this.restoreState(appSettings.chatSplitView)
|
|
|
|
Component.onDestruction: appSettings.chatSplitView = this.saveState()
|
|
|
|
|
2020-05-25 20:34:26 +00:00
|
|
|
ContactsColumn {
|
2020-05-13 17:27:06 +00:00
|
|
|
id: contactsColumn
|
2020-06-23 18:51:10 +00:00
|
|
|
SplitView.preferredWidth: Theme.leftTabPrefferedSize
|
|
|
|
SplitView.minimumWidth: Theme.leftTabMinimumWidth
|
|
|
|
SplitView.maximumWidth: Theme.leftTabMaximumWidth
|
2020-05-13 17:27:06 +00:00
|
|
|
}
|
|
|
|
|
2020-05-25 20:34:26 +00:00
|
|
|
ChatColumn {
|
2020-05-13 17:27:06 +00:00
|
|
|
id: chatColumn
|
2020-05-26 18:16:07 +00:00
|
|
|
chatGroupsListViewCount: contactsColumn.chatGroupsListViewCount
|
2020-05-13 17:27:06 +00:00
|
|
|
}
|
|
|
|
}
|
2020-05-25 20:34:26 +00:00
|
|
|
|
2020-05-13 17:27:06 +00:00
|
|
|
/*##^##
|
|
|
|
Designer {
|
2020-06-23 18:51:10 +00:00
|
|
|
D{i:0;formeditorColor:"#ffffff";formeditorZoom:1.25;height:770;width:1152}
|
2020-05-13 17:27:06 +00:00
|
|
|
}
|
|
|
|
##^##*/
|