mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 18:25:54 +08:00
Merge branch '4.1'
This commit is contained in:
commit
d4b17735ad
@ -48,7 +48,6 @@
|
|||||||
<li><b>Bounding Box:</b> [minimum x, y, z; maximum x, y, z]</li>
|
<li><b>Bounding Box:</b> [minimum x, y, z; maximum x, y, z]</li>
|
||||||
<li><b>Is Helper Mesh:</b> no</li>
|
<li><b>Is Helper Mesh:</b> no</li>
|
||||||
<li><b>Helper Mesh Type:</b> support mesh</li>
|
<li><b>Helper Mesh Type:</b> support mesh</li>
|
||||||
<li>...</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -69,6 +69,7 @@ Item
|
|||||||
// FIXED-LINE-HEIGHT:
|
// FIXED-LINE-HEIGHT:
|
||||||
height: 18 * screenScaleFactor // TODO: Theme!
|
height: 18 * screenScaleFactor // TODO: Theme!
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -52,6 +52,7 @@ UM.Dialog
|
|||||||
bottomMargin: 56 * screenScaleFactor // TODO: Theme!
|
bottomMargin: 56 * screenScaleFactor // TODO: Theme!
|
||||||
}
|
}
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
|
renderType: Text.NativeRendering
|
||||||
text:
|
text:
|
||||||
{
|
{
|
||||||
if (!printer || !printer.activePrintJob)
|
if (!printer || !printer.activePrintJob)
|
||||||
|
@ -23,6 +23,7 @@ Button
|
|||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
text: base.text
|
text: base.text
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
renderType: Text.NativeRendering;
|
||||||
}
|
}
|
||||||
height: width
|
height: width
|
||||||
hoverEnabled: enabled
|
hoverEnabled: enabled
|
||||||
|
@ -66,6 +66,7 @@ Item
|
|||||||
// FIXED-LINE-HEIGHT:
|
// FIXED-LINE-HEIGHT:
|
||||||
height: parent.height
|
height: parent.height
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -95,6 +96,7 @@ Item
|
|||||||
// FIXED-LINE-HEIGHT:
|
// FIXED-LINE-HEIGHT:
|
||||||
height: parent.height
|
height: parent.height
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -48,5 +48,6 @@ Item
|
|||||||
x: Math.round(size * 0.25)
|
x: Math.round(size * 0.25)
|
||||||
y: Math.round(size * 0.15625)
|
y: Math.round(size * 0.15625)
|
||||||
visible: position >= 0
|
visible: position >= 0
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -40,6 +40,7 @@ Item
|
|||||||
width: 240 * screenScaleFactor // TODO: Theme!
|
width: 240 * screenScaleFactor // TODO: Theme!
|
||||||
color: UM.Theme.getColor("monitor_tooltip_text")
|
color: UM.Theme.getColor("monitor_tooltip_text")
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -71,6 +71,7 @@ Item
|
|||||||
// FIXED-LINE-HEIGHT:
|
// FIXED-LINE-HEIGHT:
|
||||||
height: parent.height
|
height: parent.height
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -98,6 +99,7 @@ Item
|
|||||||
// FIXED-LINE-HEIGHT:
|
// FIXED-LINE-HEIGHT:
|
||||||
height: 18 * screenScaleFactor // TODO: Theme!
|
height: 18 * screenScaleFactor // TODO: Theme!
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -143,6 +145,7 @@ Item
|
|||||||
// FIXED-LINE-HEIGHT:
|
// FIXED-LINE-HEIGHT:
|
||||||
height: parent.height
|
height: parent.height
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
|
|
||||||
Row
|
Row
|
||||||
@ -197,6 +200,7 @@ Item
|
|||||||
// FIXED-LINE-HEIGHT:
|
// FIXED-LINE-HEIGHT:
|
||||||
height: 18 * screenScaleFactor // TODO: Theme!
|
height: 18 * screenScaleFactor // TODO: Theme!
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -47,6 +47,7 @@ Item
|
|||||||
// FIXED-LINE-HEIGHT:
|
// FIXED-LINE-HEIGHT:
|
||||||
height: 18 * screenScaleFactor // TODO: Theme!
|
height: 18 * screenScaleFactor // TODO: Theme!
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
@ -99,5 +100,6 @@ Item
|
|||||||
// FIXED-LINE-HEIGHT:
|
// FIXED-LINE-HEIGHT:
|
||||||
height: 18 * screenScaleFactor // TODO: Theme!
|
height: 18 * screenScaleFactor // TODO: Theme!
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -112,6 +112,7 @@ Item
|
|||||||
// FIXED-LINE-HEIGHT:
|
// FIXED-LINE-HEIGHT:
|
||||||
height: parent.height
|
height: parent.height
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -315,6 +316,7 @@ Item
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
visible: text !== ""
|
visible: text !== ""
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
|
|
||||||
Item
|
Item
|
||||||
@ -356,6 +358,7 @@ Item
|
|||||||
// FIXED-LINE-HEIGHT:
|
// FIXED-LINE-HEIGHT:
|
||||||
height: 18 * screenScaleFactor // TODO: Theme!
|
height: 18 * screenScaleFactor // TODO: Theme!
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
@ -376,6 +379,7 @@ Item
|
|||||||
// FIXED-LINE-HEIGHT:
|
// FIXED-LINE-HEIGHT:
|
||||||
height: 18 * screenScaleFactor // TODO: Theme!
|
height: 18 * screenScaleFactor // TODO: Theme!
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -403,6 +407,7 @@ Item
|
|||||||
// FIXED-LINE-HEIGHT:
|
// FIXED-LINE-HEIGHT:
|
||||||
height: 18 * screenScaleFactor // TODO: Theme!
|
height: 18 * screenScaleFactor // TODO: Theme!
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -437,6 +442,7 @@ Item
|
|||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
height: 18 * screenScaleFactor // TODO: Theme!
|
height: 18 * screenScaleFactor // TODO: Theme!
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
implicitHeight: 32 * screenScaleFactor // TODO: Theme!
|
implicitHeight: 32 * screenScaleFactor // TODO: Theme!
|
||||||
implicitWidth: 96 * screenScaleFactor // TODO: Theme!
|
implicitWidth: 96 * screenScaleFactor // TODO: Theme!
|
||||||
|
@ -43,5 +43,6 @@ Item
|
|||||||
text: tagText
|
text: tagText
|
||||||
font.pointSize: 10 // TODO: Theme!
|
font.pointSize: 10 // TODO: Theme!
|
||||||
visible: text !== ""
|
visible: text !== ""
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -29,6 +29,7 @@ Item
|
|||||||
color: UM.Theme.getColor("monitor_text_primary")
|
color: UM.Theme.getColor("monitor_text_primary")
|
||||||
font: UM.Theme.getFont("large")
|
font: UM.Theme.getFont("large")
|
||||||
text: catalog.i18nc("@label", "Queued")
|
text: catalog.i18nc("@label", "Queued")
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
|
|
||||||
Item
|
Item
|
||||||
@ -109,6 +110,7 @@ Item
|
|||||||
// FIXED-LINE-HEIGHT:
|
// FIXED-LINE-HEIGHT:
|
||||||
height: 18 * screenScaleFactor // TODO: Theme!
|
height: 18 * screenScaleFactor // TODO: Theme!
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
@ -123,6 +125,7 @@ Item
|
|||||||
// FIXED-LINE-HEIGHT:
|
// FIXED-LINE-HEIGHT:
|
||||||
height: 18 * screenScaleFactor // TODO: Theme!
|
height: 18 * screenScaleFactor // TODO: Theme!
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
@ -137,6 +140,7 @@ Item
|
|||||||
// FIXED-LINE-HEIGHT:
|
// FIXED-LINE-HEIGHT:
|
||||||
height: 18 * screenScaleFactor // TODO: Theme!
|
height: 18 * screenScaleFactor // TODO: Theme!
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -213,6 +217,7 @@ Item
|
|||||||
text: i18n.i18nc("@info", "All jobs are printed.")
|
text: i18n.i18nc("@info", "All jobs are printed.")
|
||||||
color: UM.Theme.getColor("monitor_text_primary")
|
color: UM.Theme.getColor("monitor_text_primary")
|
||||||
font: UM.Theme.getFont("medium") // 14pt, regular
|
font: UM.Theme.getFont("medium") // 14pt, regular
|
||||||
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
|
|
||||||
Item
|
Item
|
||||||
|
@ -16,6 +16,7 @@ Button {
|
|||||||
text: parent.text
|
text: parent.text
|
||||||
horizontalAlignment: Text.AlignLeft;
|
horizontalAlignment: Text.AlignLeft;
|
||||||
verticalAlignment: Text.AlignVCenter;
|
verticalAlignment: Text.AlignVCenter;
|
||||||
|
renderType: Text.NativeRendering;
|
||||||
}
|
}
|
||||||
height: visible ? 39 * screenScaleFactor : 0; // TODO: Theme!
|
height: visible ? 39 * screenScaleFactor : 0; // TODO: Theme!
|
||||||
hoverEnabled: true;
|
hoverEnabled: true;
|
||||||
|
@ -78,6 +78,7 @@ UM.Dialog {
|
|||||||
height: 20 * screenScaleFactor;
|
height: 20 * screenScaleFactor;
|
||||||
text: catalog.i18nc("@label", "Printer selection");
|
text: catalog.i18nc("@label", "Printer selection");
|
||||||
wrapMode: Text.Wrap;
|
wrapMode: Text.Wrap;
|
||||||
|
renderType: Text.NativeRendering;
|
||||||
}
|
}
|
||||||
|
|
||||||
ComboBox {
|
ComboBox {
|
||||||
|
@ -69,6 +69,7 @@ UM.TooltipArea
|
|||||||
background: Rectangle
|
background: Rectangle
|
||||||
{
|
{
|
||||||
color: UM.Theme.getColor("main_background")
|
color: UM.Theme.getColor("main_background")
|
||||||
|
anchors.fill: parent
|
||||||
|
|
||||||
border.color:
|
border.color:
|
||||||
{
|
{
|
||||||
|
@ -41,10 +41,7 @@ Item
|
|||||||
|
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
if (contentShown)
|
addLocalPrinterDropDown.contentShown = !contentShown
|
||||||
{
|
|
||||||
addLocalPrinterDropDown.contentShown = false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
contentComponent: networkPrinterListComponent
|
contentComponent: networkPrinterListComponent
|
||||||
@ -79,16 +76,13 @@ Item
|
|||||||
anchors.top: addNetworkPrinterDropDown.bottom
|
anchors.top: addNetworkPrinterDropDown.bottom
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.topMargin: UM.Theme.getSize("wide_margin").height
|
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||||
|
|
||||||
title: catalog.i18nc("@label", "Add a non-networked printer")
|
title: catalog.i18nc("@label", "Add a non-networked printer")
|
||||||
|
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
if (contentShown)
|
addNetworkPrinterDropDown.contentShown = !contentShown
|
||||||
{
|
|
||||||
addNetworkPrinterDropDown.contentShown = false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
contentComponent: localPrinterListComponent
|
contentComponent: localPrinterListComponent
|
||||||
|
@ -56,7 +56,7 @@ Item
|
|||||||
ScrollBar.vertical.policy: ScrollBar.AsNeeded
|
ScrollBar.vertical.policy: ScrollBar.AsNeeded
|
||||||
|
|
||||||
property int maxItemCountAtOnce: 8 // show at max 8 items at once, otherwise you need to scroll.
|
property int maxItemCountAtOnce: 8 // show at max 8 items at once, otherwise you need to scroll.
|
||||||
height: maxItemCountAtOnce * UM.Theme.getSize("action_button").height
|
height: Math.min(contentHeight, maxItemCountAtOnce * UM.Theme.getSize("action_button").height)
|
||||||
|
|
||||||
visible: networkPrinterListView.count > 0
|
visible: networkPrinterListView.count > 0
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ Item
|
|||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
text:
|
text:
|
||||||
{
|
{
|
||||||
var t = catalog.i18nc("@text", "The data that Ultimaker Cura collects will not contain any information about your model.")
|
var t = catalog.i18nc("@text", "Data collected by Ultimaker Cura will not contain any personal information.")
|
||||||
var t2 = catalog.i18nc("@text", "More information")
|
var t2 = catalog.i18nc("@text", "More information")
|
||||||
t += " <a href='https://notusedref'>" + t2 + "</a>"
|
t += " <a href='https://notusedref'>" + t2 + "</a>"
|
||||||
return t
|
return t
|
||||||
|
@ -56,7 +56,8 @@ Item
|
|||||||
Cura.RoundedRectangle
|
Cura.RoundedRectangle
|
||||||
{
|
{
|
||||||
id: contentRectangle
|
id: contentRectangle
|
||||||
anchors.top: header.bottom
|
// Move up a bit (exaclty the width of the border) to avoid double line
|
||||||
|
y: header.height - UM.Theme.getSize("default_lining").width
|
||||||
anchors.left: header.left
|
anchors.left: header.left
|
||||||
anchors.right: header.right
|
anchors.right: header.right
|
||||||
// Add 2x lining, because it needs a bit of space on the top and the bottom.
|
// Add 2x lining, because it needs a bit of space on the top and the bottom.
|
||||||
|
@ -66,6 +66,7 @@ Window
|
|||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.margins: UM.Theme.getSize("default_margin").width
|
anchors.margins: UM.Theme.getSize("default_margin").width
|
||||||
|
anchors.leftMargin: UM.Theme.getSize("wide_margin").width
|
||||||
|
|
||||||
enabled: true
|
enabled: true
|
||||||
onClicked: dialog.visible = false
|
onClicked: dialog.visible = false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user