Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F112658
EventSourceView.qml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
912 B
Referenced Files
None
Subscribers
None
EventSourceView.qml
View Options
/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2023 tusooa <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import
QtQuick
2.15
import
QtQuick
.
Layouts
1.15
import
QtQuick
.
Controls
2.15
ColumnLayout
{
property
var
event
Label
{
text:
l10n
.
get
(
'event-source-decrypted'
)
visible:
event
.
encrypted
}
TextArea
{
objectName:
'decryptedSourceView'
text:
stringify
(
event
.
decryptedSource
)
readOnly:
true
font.family:
'monospace'
visible:
event
.
encrypted
Layout.fillWidth:
true
wrapMode:
TextEdit
.
Wrap
}
Label
{
text:
l10n
.
get
(
'event-source-original'
)
}
TextArea
{
objectName:
'originalSourceView'
text:
stringify
(
event
.
originalSource
)
readOnly:
true
font.family:
'monospace'
Layout.fillWidth:
true
wrapMode:
TextEdit
.
Wrap
}
function
stringify
(
json
)
{
return
JSON
.
stringify
(
json
,
null
,
2
);
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 9:41 PM (21 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39125
Default Alt Text
EventSourceView.qml (912 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment