Warning, /office/skrooge/plugins/skrooge/default/scheduled_operations.qml is written in an unsupported language. File is not indexed.
0001 /***************************************************************************
0002 * SPDX-FileCopyrightText: 2022 S. MANKOWSKI stephane@mankowski.fr
0003 * SPDX-FileCopyrightText: 2022 G. DE BURE support@mankowski.fr
0004 * SPDX-License-Identifier: GPL-3.0-or-later
0005 ***************************************************************************/
0006 import QtQuick 2.12
0007 import QtQuick.Controls 2.12
0008 import QtQuick.Layouts 1.0
0009
0010 ColumnLayout {
0011 id: grid
0012 property var m: report==null ? null : report.scheduled_operations
0013 property var point_size: report==null ? 0 : report.point_size
0014 spacing: 0
0015
0016 Repeater {
0017 model: m
0018 Row {
0019 SKGValue {
0020 font.pointSize: point_size
0021 id: l
0022 text: modelData[1]
0023 url: modelData[2]!="" ? "skg://skrooge_scheduled_plugin/?selection="+modelData[2] : ""
0024 bold: modelData[0]
0025 }
0026 Button {
0027 text: qsTr("Skip")
0028 anchors.top: l.top
0029 anchors.bottom: l.bottom
0030 onClicked: {
0031 panel.openPage("skg://skip_scheduled_operations/?selection="+modelData[2])
0032 }
0033 visible: modelData[2]!=""
0034 }
0035 }
0036 }
0037 }