Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F140313
ConfirmationOverlay.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
ConfirmationOverlay.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
import
org
.
kde
.
kirigami
2.13
as
Kirigami
import
'.'
as
Kazv
Kazv
.
SelfDestroyableOverlaySheet
{
id: confirmationOverlay
property
var
message
property
var
confirmActionText
property
var
cancelActionText
default
property
alias
contentData:
itemsLayout
.
data
signal
accepted
()
ColumnLayout
{
Label
{
Layout.fillWidth:
true
text:
message
wrapMode:
Text
.
Wrap
}
ColumnLayout
{
id: itemsLayout
}
RowLayout
{
Layout.fillWidth:
true
Layout.alignment:
Qt
.
AlignHCenter
Button
{
objectName:
'confirmButton'
text:
confirmActionText
onClicked:
{
accepted
();
confirmationOverlay
.
close
();
}
}
Button
{
objectName:
'cancelButton'
text:
cancelActionText
onClicked:
confirmationOverlay
.
close
();
}
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 19, 5:37 PM (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
55350
Default Alt Text
ConfirmationOverlay.qml (1 KB)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment