Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F7888654
Bubble.qml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
897 B
Referenced Files
None
Subscribers
None
Bubble.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
Kirigami
.
AbstractCard
{
id: upper
default
property
var
children
readonly
property
var
bubbleSpacing:
leftPadding
+
rightPadding
Layout.fillWidth:
false
contentItem:
RowLayout
{
anchors.left:
parent
.
left
anchors.right:
parent
.
right
property
var
encryptedIcon:
Kirigami
.
Icon
{
source:
'emblem-encrypted-locked'
Layout.preferredHeight:
inlineBadgeSize
Layout.preferredWidth:
inlineBadgeSize
}
data:
[
...(
event
&&
event
.
encrypted
?
[
encryptedIcon
]
:
[]),
...(
Array
.
isArray
(
upper
.
children
)
?
upper.children :
upper
.
children
?
[
upper
.
children
]
:
[])
]
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 2, 1:56 AM (6 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
473331
Default Alt Text
Bubble.qml (897 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment