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,26 +116,50 @@ Rectangle
|
|||
width: contentWidth
|
||||
}
|
||||
|
||||
Rectangle
|
||||
{
|
||||
id: sendToFactoryCard
|
||||
color: UM.Theme.getColor("detail_background")
|
||||
height: childrenRect.height
|
||||
width: childrenRect.width
|
||||
Column
|
||||
{
|
||||
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
|
||||
{
|
||||
id: sendToFactoryLabel
|
||||
anchors
|
||||
{
|
||||
horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
visible: isAbstractCloudPrinter
|
||||
text: catalog.i18nc("@info", "Please go to the Digital Factory. [PLACEHOLDER]")
|
||||
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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Item
|
||||
{
|
||||
anchors
|
||||
{
|
||||
left: noNetworkLabel.left
|
||||
}
|
||||
visible: !isNetworkConfigured && isNetworkConfigurable
|
||||
visible: !isNetworkConfigured && isNetworkConfigurable && !isAbstractCloudPrinter
|
||||
width: childrenRect.width
|
||||
height: childrenRect.height
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue