2024-10-28 14:24:53 +00:00
|
|
|
import QtQuick 2.15
|
|
|
|
import QtQuick.Controls 2.15
|
2022-11-16 09:41:32 +00:00
|
|
|
|
2024-10-28 14:24:53 +00:00
|
|
|
import AppLayouts.Chat.panels 1.0
|
|
|
|
import StatusQ 0.1
|
2022-11-16 09:41:32 +00:00
|
|
|
|
|
|
|
import Storybook 1.0
|
2022-12-06 07:55:50 +00:00
|
|
|
import Models 1.0
|
2022-11-16 09:41:32 +00:00
|
|
|
|
2024-10-28 14:24:53 +00:00
|
|
|
import SortFilterProxyModel 0.2
|
2022-11-16 09:41:32 +00:00
|
|
|
|
2024-10-28 14:24:53 +00:00
|
|
|
SplitView {
|
2022-11-16 09:41:32 +00:00
|
|
|
Logs { id: logs }
|
|
|
|
|
|
|
|
orientation: Qt.Vertical
|
|
|
|
|
2022-12-06 07:55:50 +00:00
|
|
|
UsersModel {
|
2022-11-16 09:41:32 +00:00
|
|
|
id: model
|
|
|
|
}
|
|
|
|
|
2024-10-28 14:24:53 +00:00
|
|
|
UserListPanel {
|
2022-11-16 09:41:32 +00:00
|
|
|
SplitView.fillWidth: true
|
|
|
|
SplitView.fillHeight: true
|
|
|
|
|
2024-10-28 14:24:53 +00:00
|
|
|
label: "Some label"
|
|
|
|
|
|
|
|
usersModel: SortFilterProxyModel {
|
|
|
|
sourceModel: model
|
2022-11-16 09:41:32 +00:00
|
|
|
|
2024-10-28 14:24:53 +00:00
|
|
|
proxyRoles: FastExpressionRole {
|
|
|
|
name: "compressedKey"
|
|
|
|
expression: "compressed"
|
2022-11-16 09:41:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
LogsAndControlsPanel {
|
|
|
|
id: logsAndControlsPanel
|
|
|
|
|
|
|
|
SplitView.minimumHeight: 100
|
|
|
|
SplitView.preferredHeight: 200
|
|
|
|
|
|
|
|
logsView.logText: logs.logText
|
|
|
|
}
|
|
|
|
}
|
2023-07-31 12:21:14 +00:00
|
|
|
|
|
|
|
// category: Panels
|