Warning, /plasma/kdeplasma-addons/applets/fifteenPuzzle/package/contents/ui/main.qml is written in an unsupported language. File is not indexed.

0001 /*
0002  * SPDX-FileCopyrightText: 2013 Heena Mahour <heena393@gmail.com>
0003  * SPDX-FileCopyrightText: 2013 Sebastian Kügler <sebas@kde.org>
0004  * SPDX-FileCopyrightText: 2014 Kai Uwe Broulik <kde@privat.broulik.de>
0005  *
0006  * SPDX-License-Identifier: GPL-2.0-or-later
0007  */
0008 
0009 import QtQuick 2.15
0010 import QtQuick.Layouts 1.15
0011 
0012 import org.kde.plasma.core as PlasmaCore
0013 import org.kde.kirigami 2.20 as Kirigami
0014 import org.kde.plasma.plasmoid 2.0
0015 // nothing used, but done to trigger imageprovider addition in plugin init
0016 import org.kde.plasma.private.fifteenpuzzle 0.1 as Private
0017 
0018 PlasmoidItem {
0019     id: root
0020 
0021     switchWidth: Kirigami.Units.gridUnit * 16 - 20
0022     switchHeight: switchWidth
0023 
0024     preferredRepresentation: fullRepresentation
0025 
0026     toolTipMainText: i18n("Fifteen Puzzle");
0027     toolTipSubText: i18n("Solve by arranging in order");
0028 
0029     fullRepresentation: FifteenPuzzle { }
0030 }