mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Prettify monitor page for abstract cloud printers.
Fill placeholder. Image is the closest I could find in the current SVG's. Other than that, this should be it mostly for the 'monitoring' of abstract cloud printers. part of CURA-9422
This commit is contained in:
parent
95f234679c
commit
4f75251000
1 changed files with 33 additions and 9 deletions
|
@ -116,17 +116,41 @@ Rectangle
|
||||||
width: contentWidth
|
width: contentWidth
|
||||||
}
|
}
|
||||||
|
|
||||||
UM.Label
|
Rectangle
|
||||||
{
|
{
|
||||||
id: sendToFactoryLabel
|
id: sendToFactoryCard
|
||||||
anchors
|
color: UM.Theme.getColor("detail_background")
|
||||||
|
height: childrenRect.height
|
||||||
|
width: childrenRect.width
|
||||||
|
Column
|
||||||
{
|
{
|
||||||
horizontalCenter: parent.horizontalCenter
|
spacing: UM.Theme.getSize("default_margin").height
|
||||||
|
padding: UM.Theme.getSize("default_margin").width
|
||||||
|
topPadding: 0
|
||||||
|
|
||||||
|
Image
|
||||||
|
{
|
||||||
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
source: UM.Theme.getImage("first_run_ultimaker_cloud")
|
||||||
|
}
|
||||||
|
|
||||||
|
UM.Label
|
||||||
|
{
|
||||||
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
visible: isAbstractCloudPrinter
|
||||||
|
text: catalog.i18nc("@info", "Monitor your printers from everywhere using Ultimaker Digital Factory")
|
||||||
|
font: UM.Theme.getFont("medium")
|
||||||
|
width: contentWidth
|
||||||
|
}
|
||||||
|
|
||||||
|
Cura.PrimaryButton
|
||||||
|
{
|
||||||
|
id: sendToFactoryButton
|
||||||
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
text: catalog.i18nc("@button", "View printers in Digital Factory")
|
||||||
|
onClicked: Qt.openUrlExternally("https://digitalfactory.ultimaker.com/app/print-jobs?utm_source=cura&utm_medium=software&utm_campaign=monitor-view-cloud-printer-type")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
visible: isAbstractCloudPrinter
|
|
||||||
text: catalog.i18nc("@info", "Please go to the Digital Factory. [PLACEHOLDER]")
|
|
||||||
font: UM.Theme.getFont("medium")
|
|
||||||
width: contentWidth
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Item
|
Item
|
||||||
|
@ -135,7 +159,7 @@ Rectangle
|
||||||
{
|
{
|
||||||
left: noNetworkLabel.left
|
left: noNetworkLabel.left
|
||||||
}
|
}
|
||||||
visible: !isNetworkConfigured && isNetworkConfigurable
|
visible: !isNetworkConfigured && isNetworkConfigurable && !isAbstractCloudPrinter
|
||||||
width: childrenRect.width
|
width: childrenRect.width
|
||||||
height: childrenRect.height
|
height: childrenRect.height
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue