2021-07-06 10:20:46 -04:00
|
|
|
|
/*
|
2023-02-03 11:29:37 -05:00
|
|
|
|
* Copyright (C) 2020-2022 Savoir-faire Linux Inc.
|
2021-07-06 10:20:46 -04:00
|
|
|
|
* Author: Mingrui Zhang <mingrui.zhang@savoirfairelinux.com>
|
|
|
|
|
|
* Author: Trevor Tabah <trevor.tabah@savoirfairelinux.com>
|
|
|
|
|
|
* Author: Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
|
|
|
|
|
|
*
|
|
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
|
|
|
|
|
* (at your option) any later version.
|
|
|
|
|
|
*
|
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
|
*
|
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
2021-09-08 10:31:38 -04:00
|
|
|
|
import QtQuick
|
|
|
|
|
|
import QtQuick.Controls
|
|
|
|
|
|
import QtQuick.Layouts
|
2022-08-12 16:47:20 -04:00
|
|
|
|
import Qt5Compat.GraphicalEffects
|
2021-07-06 10:20:46 -04:00
|
|
|
|
|
|
|
|
|
|
import net.jami.Models 1.1
|
|
|
|
|
|
import net.jami.Adapters 1.1
|
|
|
|
|
|
import net.jami.Constants 1.1
|
|
|
|
|
|
|
|
|
|
|
|
import "../../commoncomponents"
|
|
|
|
|
|
import "../js/pluginhandlerpickercreation.js" as PluginHandlerPickerCreation
|
|
|
|
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
|
|
id: root
|
|
|
|
|
|
|
2023-01-06 14:07:33 -05:00
|
|
|
|
color: JamiTheme.chatviewBgColor
|
|
|
|
|
|
|
2022-12-05 15:44:04 -05:00
|
|
|
|
property var mapPositions: PositionManager.mapStatus
|
2023-02-03 13:49:25 -03:00
|
|
|
|
|
|
|
|
|
|
property int lastContentsSplitSize: JamiTheme.detailsPageMinWidth
|
|
|
|
|
|
property int lastDetailsSplitSize: JamiTheme.detailsPageMinWidth
|
|
|
|
|
|
property int previousWidth: width
|
2023-01-06 14:07:33 -05:00
|
|
|
|
required property bool inCallView
|
2023-02-03 13:49:25 -03:00
|
|
|
|
|
2023-01-06 14:07:33 -05:00
|
|
|
|
signal dismiss
|
2021-07-06 10:20:46 -04:00
|
|
|
|
|
2023-01-06 14:07:33 -05:00
|
|
|
|
function focusChatView() {
|
|
|
|
|
|
chatViewFooter.updateMessageDraft()
|
|
|
|
|
|
chatViewFooter.textInput.forceActiveFocus()
|
2023-02-03 11:41:17 -05:00
|
|
|
|
}
|
|
|
|
|
|
|
2023-01-06 14:07:33 -05:00
|
|
|
|
function resetPanels() {
|
2023-02-10 07:36:12 -03:00
|
|
|
|
swarmDetailsPanel.visible = false
|
|
|
|
|
|
addMemberPanel.visible = false
|
|
|
|
|
|
chatContents.visible = true
|
2021-07-06 10:20:46 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
2022-12-05 15:44:04 -05:00
|
|
|
|
function instanceMapObject() {
|
|
|
|
|
|
if (WITH_WEBENGINE) {
|
|
|
|
|
|
var component = Qt.createComponent("qrc:/webengine/map/MapPosition.qml");
|
|
|
|
|
|
var sprite = component.createObject(root, {maxWidth: root.width, maxHeight: root.height});
|
2021-07-06 10:20:46 -04:00
|
|
|
|
|
2022-12-05 15:44:04 -05:00
|
|
|
|
if (sprite === null) {
|
|
|
|
|
|
// Error Handling
|
|
|
|
|
|
console.log("Error creating object");
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2023-01-06 14:07:33 -05:00
|
|
|
|
|
2022-12-05 15:44:04 -05:00
|
|
|
|
Connections {
|
|
|
|
|
|
target: PositionManager
|
|
|
|
|
|
function onOpenNewMap() {
|
|
|
|
|
|
instanceMapObject()
|
|
|
|
|
|
}
|
2022-11-08 14:07:07 -05:00
|
|
|
|
}
|
2022-11-30 08:49:52 -03:00
|
|
|
|
|
2023-01-06 14:07:33 -05:00
|
|
|
|
Connections {
|
|
|
|
|
|
target: CurrentConversation
|
|
|
|
|
|
function onIdChanged() {
|
|
|
|
|
|
MessagesAdapter.loadMoreMessages()
|
|
|
|
|
|
}
|
2022-06-09 11:23:14 -04:00
|
|
|
|
}
|
2022-11-30 08:49:52 -03:00
|
|
|
|
|
2021-07-06 10:20:46 -04:00
|
|
|
|
ColumnLayout {
|
|
|
|
|
|
anchors.fill: root
|
|
|
|
|
|
|
|
|
|
|
|
spacing: 0
|
|
|
|
|
|
|
2021-09-22 14:01:42 -04:00
|
|
|
|
ChatViewHeader {
|
2021-09-22 15:59:47 -04:00
|
|
|
|
id: chatViewHeader
|
2021-07-06 10:20:46 -04:00
|
|
|
|
|
|
|
|
|
|
Layout.alignment: Qt.AlignHCenter
|
|
|
|
|
|
Layout.fillWidth: true
|
2021-09-22 14:01:42 -04:00
|
|
|
|
Layout.preferredHeight: JamiTheme.chatViewHeaderPreferredHeight
|
|
|
|
|
|
Layout.maximumHeight: JamiTheme.chatViewHeaderPreferredHeight
|
2022-06-03 13:59:58 -04:00
|
|
|
|
Layout.minimumWidth: JamiTheme.chatViewHeaderMinimumWidth
|
2021-07-06 10:20:46 -04:00
|
|
|
|
|
|
|
|
|
|
DropArea {
|
|
|
|
|
|
anchors.fill: parent
|
|
|
|
|
|
onDropped: chatViewFooter.setFilePathsToSend(drop.urls)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2023-01-06 14:07:33 -05:00
|
|
|
|
onBackClicked: root.dismiss()
|
2021-07-06 10:20:46 -04:00
|
|
|
|
|
2023-02-03 11:29:37 -05:00
|
|
|
|
signal panelsVisibilityChange()
|
|
|
|
|
|
|
|
|
|
|
|
onPanelsVisibilityChange: {
|
|
|
|
|
|
if (!swarmDetailsPanel.visible && !messagesResearchPanel.visible) {
|
2023-02-03 13:49:25 -03:00
|
|
|
|
chatContents.visible = true
|
|
|
|
|
|
} else {
|
|
|
|
|
|
if (chatViewHeader.width - JamiTheme.detailsPageMinWidth < JamiTheme.chatViewHeaderMinimumWidth)
|
|
|
|
|
|
chatContents.visible = false
|
|
|
|
|
|
}
|
2023-02-03 11:29:37 -05:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
onShowDetailsClicked: {
|
|
|
|
|
|
addMemberPanel.visible = false
|
|
|
|
|
|
messagesResearchPanel.visible = false
|
2021-09-22 15:59:47 -04:00
|
|
|
|
swarmDetailsPanel.visible = !swarmDetailsPanel.visible
|
2023-02-03 11:29:37 -05:00
|
|
|
|
panelsVisibilityChange()
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
onSearchBarOpened: {
|
|
|
|
|
|
addMemberPanel.visible = false
|
|
|
|
|
|
swarmDetailsPanel.visible = false
|
|
|
|
|
|
messagesResearchPanel.visible = true
|
|
|
|
|
|
panelsVisibilityChange()
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
onSearchBarClosed: {
|
|
|
|
|
|
chatContents.visible = true
|
|
|
|
|
|
messagesResearchPanel.visible = false
|
|
|
|
|
|
panelsVisibilityChange()
|
2021-09-22 15:59:47 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
2023-02-03 13:49:25 -03:00
|
|
|
|
onWidthChanged: {
|
2023-01-06 14:07:33 -05:00
|
|
|
|
const isExpanding = previousWidth < width
|
2023-02-03 11:29:37 -05:00
|
|
|
|
|
|
|
|
|
|
if (!swarmDetailsPanel.visible && !addMemberPanel.visible && !messagesResearchPanel.visible)
|
2023-02-03 13:49:25 -03:00
|
|
|
|
return
|
|
|
|
|
|
if (chatViewHeader.width < JamiTheme.detailsPageMinWidth + JamiTheme.chatViewHeaderMinimumWidth
|
2023-02-03 11:29:37 -05:00
|
|
|
|
&& !isExpanding && chatContents.visible) {
|
2023-02-03 13:49:25 -03:00
|
|
|
|
lastContentsSplitSize = chatContents.width
|
2023-02-03 11:29:37 -05:00
|
|
|
|
lastDetailsSplitSize = Math.min(JamiTheme.detailsPageMinWidth, (swarmDetailsPanel.visible
|
|
|
|
|
|
? swarmDetailsPanel.width
|
|
|
|
|
|
: addMemberPanel.visible
|
|
|
|
|
|
? addMemberPanel.width
|
|
|
|
|
|
: messagesResearchPanel.width))
|
2023-02-03 13:49:25 -03:00
|
|
|
|
chatContents.visible = false
|
|
|
|
|
|
} else if (chatViewHeader.width >= JamiTheme.chatViewHeaderMinimumWidth + lastDetailsSplitSize
|
2023-02-03 11:29:37 -05:00
|
|
|
|
&& isExpanding && !layoutManager.isFullScreen && !chatContents.visible) {
|
2023-02-03 13:49:25 -03:00
|
|
|
|
chatContents.visible = true
|
|
|
|
|
|
}
|
|
|
|
|
|
previousWidth = width
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-12-17 14:27:11 -05:00
|
|
|
|
Connections {
|
|
|
|
|
|
target: CurrentConversation
|
|
|
|
|
|
|
2022-06-09 11:23:14 -04:00
|
|
|
|
function onNeedsHost() {
|
2023-01-06 14:07:33 -05:00
|
|
|
|
viewCoordinator.presentDialog(
|
|
|
|
|
|
appWindow,
|
|
|
|
|
|
"mainview/components/HostPopup.qml")
|
2022-06-09 11:23:14 -04:00
|
|
|
|
}
|
2021-12-17 14:27:11 -05:00
|
|
|
|
}
|
|
|
|
|
|
|
2023-01-05 16:08:44 -05:00
|
|
|
|
Connections {
|
|
|
|
|
|
target: CurrentConversationMembers
|
|
|
|
|
|
|
|
|
|
|
|
function onCountChanged() {
|
|
|
|
|
|
if (CurrentConversationMembers.count >= 8 && addMemberPanel.visible) {
|
|
|
|
|
|
swarmDetailsPanel.visible = false
|
|
|
|
|
|
addMemberPanel.visible = !addMemberPanel.visible
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-12-17 14:27:11 -05:00
|
|
|
|
onAddToConversationClicked: {
|
|
|
|
|
|
swarmDetailsPanel.visible = false
|
2023-02-03 13:49:25 -03:00
|
|
|
|
if (addMemberPanel.visible) {
|
|
|
|
|
|
chatContents.visible = true
|
|
|
|
|
|
} else {
|
|
|
|
|
|
if (chatViewHeader.width - JamiTheme.detailsPageMinWidth < JamiTheme.chatViewHeaderMinimumWidth)
|
|
|
|
|
|
chatContents.visible = false
|
|
|
|
|
|
}
|
2021-12-17 14:27:11 -05:00
|
|
|
|
addMemberPanel.visible = !addMemberPanel.visible
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-07-06 10:20:46 -04:00
|
|
|
|
onPluginSelector: {
|
|
|
|
|
|
// Create plugin handler picker - PLUGINS
|
|
|
|
|
|
PluginHandlerPickerCreation.createPluginHandlerPickerObjects(
|
|
|
|
|
|
root, false)
|
|
|
|
|
|
PluginHandlerPickerCreation.calculateCurrentGeo(root.width / 2,
|
|
|
|
|
|
root.height / 2)
|
|
|
|
|
|
PluginHandlerPickerCreation.openPluginHandlerPicker()
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-06-09 11:23:14 -04:00
|
|
|
|
Connections {
|
|
|
|
|
|
target: CurrentConversation
|
|
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
|
|
|
|
function onActiveCallsChanged() {
|
|
|
|
|
|
if (CurrentConversation.activeCalls.length > 0) {
|
|
|
|
|
|
notificationArea.id = CurrentConversation.activeCalls[0]["id"]
|
|
|
|
|
|
notificationArea.uri = CurrentConversation.activeCalls[0]["uri"]
|
|
|
|
|
|
notificationArea.device = CurrentConversation.activeCalls[0]["device"]
|
|
|
|
|
|
}
|
2023-02-03 11:41:17 -05:00
|
|
|
|
notificationArea.visible = CurrentConversation.activeCalls.length > 0 && !root.inCallView
|
2022-06-09 11:23:14 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function onErrorsChanged() {
|
|
|
|
|
|
if (CurrentConversation.errors.length > 0) {
|
|
|
|
|
|
errorRect.errorLabel.text = CurrentConversation.errors[0]
|
|
|
|
|
|
errorRect.backendErrorToolTip.text = JamiStrings.backendError.arg(CurrentConversation.backendErrors[0])
|
|
|
|
|
|
}
|
|
|
|
|
|
errorRect.visible = CurrentConversation.errors.length > 0 // If too much noise: && LRCInstance.debugMode()
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-11-07 06:43:12 -05:00
|
|
|
|
Connections {
|
|
|
|
|
|
target: CurrentConversation
|
|
|
|
|
|
enabled: LRCInstance.debugMode()
|
|
|
|
|
|
|
|
|
|
|
|
function onErrorsChanged() {
|
|
|
|
|
|
if (CurrentConversation.errors.length > 0) {
|
|
|
|
|
|
errorRect.errorLabel.text = CurrentConversation.errors[0]
|
|
|
|
|
|
errorRect.backendErrorToolTip.text = JamiStrings.backendError.arg(CurrentConversation.backendErrors[0])
|
|
|
|
|
|
}
|
|
|
|
|
|
errorRect.visible = CurrentConversation.errors.length > 0
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
GenericErrorsRow {
|
|
|
|
|
|
id: genericError
|
|
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
|
Layout.preferredHeight: JamiTheme.chatViewHeaderPreferredHeight
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-08-12 16:47:20 -04:00
|
|
|
|
ConversationErrorsRow {
|
|
|
|
|
|
id: errorRect
|
2022-06-09 11:23:14 -04:00
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
|
Layout.preferredHeight: JamiTheme.chatViewHeaderPreferredHeight
|
|
|
|
|
|
visible: false
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
NotificationArea {
|
|
|
|
|
|
id: notificationArea
|
2022-08-12 16:47:20 -04:00
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
|
Layout.preferredHeight: JamiTheme.chatViewHeaderPreferredHeight
|
2023-02-03 11:41:17 -05:00
|
|
|
|
visible: CurrentConversation.activeCalls.length > 0 && !root.inCallView
|
2022-08-12 16:47:20 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
2021-12-17 14:27:11 -05:00
|
|
|
|
SplitView {
|
2021-09-22 15:59:47 -04:00
|
|
|
|
id: chatViewMainRow
|
2021-07-06 10:20:46 -04:00
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
|
Layout.fillHeight: true
|
|
|
|
|
|
|
2021-12-17 14:27:11 -05:00
|
|
|
|
handle: Rectangle {
|
|
|
|
|
|
implicitWidth: JamiTheme.splitViewHandlePreferredWidth
|
2023-01-06 14:07:33 -05:00
|
|
|
|
implicitHeight: viewCoordinator.splitView.height
|
2021-12-17 14:27:11 -05:00
|
|
|
|
color: JamiTheme.primaryBackgroundColor
|
|
|
|
|
|
Rectangle {
|
|
|
|
|
|
implicitWidth: 1
|
2023-01-06 14:07:33 -05:00
|
|
|
|
implicitHeight: viewCoordinator.splitView.height
|
2021-12-17 14:27:11 -05:00
|
|
|
|
color: JamiTheme.tabbarBorderColor
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-09-22 15:59:47 -04:00
|
|
|
|
ColumnLayout {
|
2023-02-03 13:49:25 -03:00
|
|
|
|
id: chatContents
|
2023-01-06 14:07:33 -05:00
|
|
|
|
SplitView.maximumWidth: viewCoordinator.splitView.width
|
2023-02-03 13:49:25 -03:00
|
|
|
|
SplitView.minimumWidth: JamiTheme.chatViewHeaderMinimumWidth
|
2023-02-03 11:29:37 -05:00
|
|
|
|
SplitView.fillWidth: true
|
2021-07-06 10:20:46 -04:00
|
|
|
|
|
2021-09-22 15:59:47 -04:00
|
|
|
|
StackLayout {
|
|
|
|
|
|
id: chatViewStack
|
|
|
|
|
|
|
|
|
|
|
|
Layout.alignment: Qt.AlignHCenter
|
|
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
|
Layout.fillHeight: true
|
|
|
|
|
|
Layout.topMargin: JamiTheme.chatViewHairLineSize
|
|
|
|
|
|
Layout.bottomMargin: JamiTheme.chatViewHairLineSize
|
2022-06-03 13:59:58 -04:00
|
|
|
|
Layout.leftMargin: JamiTheme.chatviewMargin
|
|
|
|
|
|
Layout.rightMargin: JamiTheme.chatviewMargin
|
2021-09-22 15:59:47 -04:00
|
|
|
|
|
|
|
|
|
|
currentIndex: CurrentConversation.isRequest ||
|
2022-11-23 09:50:53 -05:00
|
|
|
|
CurrentConversation.needsSyncing
|
2021-09-22 15:59:47 -04:00
|
|
|
|
|
|
|
|
|
|
Loader {
|
|
|
|
|
|
active: CurrentConversation.id !== ""
|
|
|
|
|
|
sourceComponent: MessageListView {
|
|
|
|
|
|
DropArea {
|
|
|
|
|
|
anchors.fill: parent
|
2022-08-01 17:12:37 -04:00
|
|
|
|
onDropped: function(drop) {
|
|
|
|
|
|
chatViewFooter.setFilePathsToSend(drop.urls)
|
|
|
|
|
|
}
|
2021-09-22 15:59:47 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
InvitationView {
|
|
|
|
|
|
id: invitationView
|
|
|
|
|
|
|
|
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
|
Layout.fillHeight: true
|
2021-07-06 10:20:46 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-07-20 11:46:19 -04:00
|
|
|
|
UpdateToSwarm {
|
2022-08-11 09:32:34 -04:00
|
|
|
|
visible: !CurrentConversation.isSwarm && !CurrentConversation.isTemporary && CurrentAccount.type === Profile.Type.JAMI
|
2021-09-22 15:59:47 -04:00
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
|
}
|
2021-07-06 10:20:46 -04:00
|
|
|
|
|
2021-09-22 15:59:47 -04:00
|
|
|
|
ChatViewFooter {
|
|
|
|
|
|
id: chatViewFooter
|
2021-07-06 10:20:46 -04:00
|
|
|
|
|
2021-09-22 15:59:47 -04:00
|
|
|
|
visible: {
|
2022-08-11 09:32:34 -04:00
|
|
|
|
if (CurrentAccount.type === Profile.Type.SIP)
|
|
|
|
|
|
return true
|
2022-12-19 13:51:45 -05:00
|
|
|
|
if (CurrentConversation.isBanned)
|
2022-07-04 11:52:55 -04:00
|
|
|
|
return false
|
2022-07-20 11:46:19 -04:00
|
|
|
|
else if (CurrentConversation.needsSyncing)
|
2021-09-22 15:59:47 -04:00
|
|
|
|
return false
|
|
|
|
|
|
else if (CurrentConversation.isSwarm && CurrentConversation.isRequest)
|
|
|
|
|
|
return false
|
2022-07-20 11:46:19 -04:00
|
|
|
|
return CurrentConversation.isSwarm || CurrentConversation.isTemporary
|
2021-09-22 15:59:47 -04:00
|
|
|
|
}
|
2021-07-06 10:20:46 -04:00
|
|
|
|
|
2021-09-22 15:59:47 -04:00
|
|
|
|
Layout.alignment: Qt.AlignHCenter
|
|
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
|
Layout.preferredHeight: implicitHeight
|
|
|
|
|
|
Layout.maximumHeight: JamiTheme.chatViewFooterMaximumHeight
|
2021-07-06 10:20:46 -04:00
|
|
|
|
|
2021-09-22 15:59:47 -04:00
|
|
|
|
DropArea {
|
|
|
|
|
|
anchors.fill: parent
|
|
|
|
|
|
onDropped: chatViewFooter.setFilePathsToSend(drop.urls)
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2021-07-06 10:20:46 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
2023-02-03 11:29:37 -05:00
|
|
|
|
MessagesResearchPanel {
|
|
|
|
|
|
id: messagesResearchPanel
|
|
|
|
|
|
|
|
|
|
|
|
visible: false
|
|
|
|
|
|
SplitView.maximumWidth: viewCoordinator.splitView.width
|
|
|
|
|
|
SplitView.minimumWidth: JamiTheme.detailsPageMinWidth
|
|
|
|
|
|
SplitView.preferredWidth: JamiTheme.detailsPageMinWidth
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2021-09-22 15:59:47 -04:00
|
|
|
|
SwarmDetailsPanel {
|
|
|
|
|
|
id: swarmDetailsPanel
|
|
|
|
|
|
visible: false
|
2021-12-17 14:27:11 -05:00
|
|
|
|
|
2023-01-06 14:07:33 -05:00
|
|
|
|
SplitView.maximumWidth: viewCoordinator.splitView.width
|
2023-02-03 13:49:25 -03:00
|
|
|
|
SplitView.preferredWidth: JamiTheme.detailsPageMinWidth
|
2021-12-17 14:27:11 -05:00
|
|
|
|
SplitView.minimumWidth: JamiTheme.detailsPageMinWidth
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
AddMemberPanel {
|
|
|
|
|
|
id: addMemberPanel
|
|
|
|
|
|
visible: false
|
|
|
|
|
|
|
2023-01-06 14:07:33 -05:00
|
|
|
|
SplitView.maximumWidth: viewCoordinator.splitView.width
|
2023-02-03 13:49:25 -03:00
|
|
|
|
SplitView.preferredWidth: JamiTheme.detailsPageMinWidth
|
2021-12-17 14:27:11 -05:00
|
|
|
|
SplitView.minimumWidth: JamiTheme.detailsPageMinWidth
|
2021-07-06 10:20:46 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|