Warning, /office/klevernotes/src/contents/ui/dialogs/WarningDialog.qml is written in an unsupported language. File is not indexed.
0001 // SPDX-License-Identifier: GPL-2.0-or-later 0002 // SPDX-FileCopyrightText: 2023 Louis Schul <schul9louis@gmail.com> 0003 0004 import QtQuick 2.15 0005 import QtQuick.Layouts 1.15 0006 import QtQuick.Controls 2.15 as Controls 0007 0008 import org.kde.kirigami 2.19 as Kirigami 0009 import org.kde.kirigamiaddons.formcard 1.0 as FormCard 0010 0011 Kirigami.PromptDialog { 0012 id: dialog 0013 0014 property bool dontShow: false 0015 0016 title: i18nc("@title:dialog", "Warning") 0017 0018 footerLeadingComponent: FormCard.FormCheckDelegate { 0019 id: checkbox 0020 0021 text: i18nc("@label:checkbox", "Do not show again") 0022 Layout.fillWidth: true 0023 0024 onCheckedChanged: dialog.dontShow = checked 0025 } 0026 standardButtons: Kirigami.Dialog.Ok 0027 0028 Controls.Label { 0029 text: i18n("This could cause visual artifact near the end of the pdf.") 0030 wrapMode: Text.WordWrap 0031 Layout.fillWidth: true 0032 } 0033 }