Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F7888790
File.qml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
973 B
Referenced Files
None
Subscribers
None
File.qml
View Options
/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2020-2021 Tusooa Zhu <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
org
.
kde
.
kirigami
2.13
as
Kirigami
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
Kazv
.
Bubble
{
id: bubble
ColumnLayout
{
Label
{
Layout.fillWidth:
false
Layout.maximumWidth:
innerContentWidth
wrapMode:
Text
.
Wrap
text:
l10n
.
get
(
'event-message-file-sent'
,
{
gender
,
body
})
}
Label
{
Layout.fillWidth:
false
Layout.maximumWidth:
innerContentWidth
wrapMode:
Text
.
Wrap
text:
fileUri
}
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 2, 2:06 AM (8 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
472271
Default Alt Text
File.qml (973 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment