mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 04:54:04 -06:00
W.I.P.: Press print on abstract cloud printer. User should see dialog.
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
This commit is contained in:
parent
ccdbc3e06f
commit
a56a21cf93
5 changed files with 151 additions and 9 deletions
34
resources/qml/Dialogs/ChoosePrinterDialog.qml
Normal file
34
resources/qml/Dialogs/ChoosePrinterDialog.qml
Normal file
|
@ -0,0 +1,34 @@
|
|||
// 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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue