Cura/plugins/Marketplace/resources/qml/Plugins.qml
Ghostkeeper 3138452f94
Allow PackageList to be used as a model from QML
QML is leading here and holding the pointers for creation and destruction.

Contributes to issue CURA-8556.
2021-10-21 15:46:46 +02:00

19 lines
No EOL
341 B
QML

// Copyright (c) 2021 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
import QtQuick 2.15
import QtQuick.Controls 2.15
import Cura 1.7 as Cura
Item
{
Repeater
{
model: Cura.PackageList{}
Label
{
text: "Test" //TODO: Create a card for each package.
}
}
}