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
|
|
|
id: chatView
|
2020-06-23 18:51:10 +00:00
|
|
|
handle: SplitViewHandle {}
|
2020-05-27 17:10:50 +00:00
|
|
|
|
2020-09-15 17:42:23 +00:00
|
|
|
Component.onCompleted: this.restoreState(settings.chatSplitView)
|
|
|
|
Component.onDestruction: settings.chatSplitView = this.saveState()
|
2020-06-23 20:49:04 +00:00
|
|
|
|
2020-05-25 20:34:26 +00:00
|
|
|
ContactsColumn {
|
2020-05-13 17:27:06 +00:00
|
|
|
id: contactsColumn
|
2020-07-02 15:14:31 +00:00
|
|
|
SplitView.preferredWidth: Style.current.leftTabPrefferedSize
|
|
|
|
SplitView.minimumWidth: Style.current.leftTabMinimumWidth
|
|
|
|
SplitView.maximumWidth: Style.current.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
|
|
|
}
|
|
|
|
##^##*/
|