Page MenuHomePhorge

File.qml
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

File.qml

/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2020-2023 tusooa <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import QtQuick 2.2
import QtQuick.Layouts 1.15
import QtQuick.Controls 2.15
import moe.kazv.mxc.kazv 0.0 as MK
import org.kde.kirigami 2.13 as Kirigami
import '.' as Types
import '..' as Kazv
Simple {
id: upper
property var gender: 'neutral'
property var body: event.content.body
property var mxcUri: event.content.url
property var fileUri: matrixSdk.mxcUriToHttp(mxcUri)
property var innerContentWidth: upper.contentMaxWidth - bubble.bubbleSpacing
Types.MediaBubble {
id: bubble
eventContent: event.content
ColumnLayout {
Layout.fillWidth: true
property var msgLabel: Kazv.SelectableText {
Layout.fillWidth: true
wrapMode: Text.Wrap
text: l10n.get('event-message-file-sent', { gender, body })
}
data: [
msgLabel,
bubble.mediaFileMenu,
bubble.progressBar
]
}
}
}

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 2:23 PM (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40382
Default Alt Text
File.qml (1 KB)

Event Timeline