mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-30 15:54:32 +08:00

Start of implementation. When printing on an abstract printer, a user should see a dialog with the matching concrete cloud printers to pick from to actually print. Names are not final. Very much a work in progress. Very not finished also. start of implementation for CURA-9278
35 lines
588 B
QML
35 lines
588 B
QML
// Copyright (c) 2022 Ultimaker B.V.
|
|
// Cura is released under the terms of the LGPLv3 or higher.
|
|
|
|
import QtQuick 2.2
|
|
import QtQuick.Controls 2.9
|
|
|
|
import UM 1.5 as UM
|
|
import Cura 1.0 as Cura
|
|
|
|
UM.Dialog
|
|
{
|
|
id: base
|
|
|
|
property string machine_id_filter: ""
|
|
|
|
Column
|
|
{
|
|
anchors.fill: parent
|
|
|
|
Repeater
|
|
{
|
|
id: contents
|
|
|
|
model: Cura.CompatibleMachineModel
|
|
{
|
|
filter: machine_id_filter
|
|
}
|
|
delegate: UM.Label
|
|
{
|
|
text: model.name
|
|
}
|
|
}
|
|
}
|
|
}
|