Warning, /multimedia/kasts/src/qml/FullScreenImage.qml is written in an unsupported language. File is not indexed.

0001 /**
0002  * SPDX-FileCopyrightText: 2023 Bart De Vries <bart@mogwai.be>
0003  *
0004  * SPDX-License-Identifier: GPL-3.0-only
0005  */
0006 
0007 import QtQuick
0008 import QtQuick.Controls as Controls
0009 import QtQuick.Layouts
0010 
0011 import org.kde.kirigami as Kirigami
0012 import org.kde.kirigamiaddons.labs.components as Addons
0013 
0014 Addons.AlbumMaximizeComponent {
0015     id: root
0016 
0017     required property var image
0018     required property QtObject loader
0019     property string description: undefined
0020 
0021     property list<Addons.AlbumModelItem> mymodel: [
0022         Addons.AlbumModelItem {
0023             type: Addons.AlbumModelItem.Image
0024             source: image
0025             // tempSource: "path/to/tempSource"
0026             caption: description
0027         }
0028     ]
0029 
0030     initialIndex: 0
0031     model: mymodel
0032 
0033     onClosed: {
0034         loader.active = false;
0035     }
0036 }