mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
No need to use a custom list in Python and update the ListModel from that. This is much simpler and more efficient. Contributes to issue CURA-8556.
19 lines
No EOL
343 B
QML
19 lines
No EOL
343 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
|
|
|
|
Column
|
|
{
|
|
Repeater
|
|
{
|
|
model: Cura.PackageList{}
|
|
|
|
Label
|
|
{
|
|
text: "Test" //TODO: Create a card for each package.
|
|
}
|
|
}
|
|
} |