Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F112723
TextTemplate.qml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
TextTemplate.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
Types
import
'..'
as
Kazv
Types
.
Simple
{
id: upper
property
var
text
default
property
var
children
property
var
innerContentWidth:
upper
.
contentMaxWidth
-
bubble
.
bubbleSpacing
Kazv
.
Bubble
{
id: bubble
Layout.maximumWidth:
upper
.
contentMaxWidth
RowLayout
{
//leftPadding: Kirigami.Units.largeSpacing
//spacing: Kirigami.Units.largeSpacing
Layout.maximumWidth:
innerContentWidth
property
var
label:
Label
{
Layout.fillWidth:
false
Layout.preferredWidth:
implicitWidth
Layout.maximumWidth:
innerContentWidth
wrapMode:
Text
.
Wrap
text:
upper
.
text
}
data:
[
...(
Array
.
isArray
(
upper
.
children
)
?
upper.children :
upper
.
children
?
[
upper
.
children
]
:
[]),
label
]
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 10:42 PM (1 d, 1 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39177
Default Alt Text
TextTemplate.qml (1 KB)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment