mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 05:23:58 -06:00
Merge branch 'main' into Issue-4835-allow-to-set-print-sequence-manually
This commit is contained in:
commit
355f24e29f
468 changed files with 6280 additions and 711 deletions
|
@ -112,7 +112,6 @@ Item
|
|||
Action
|
||||
{
|
||||
id: exitFullScreenAction
|
||||
shortcut: StandardKey.Cancel
|
||||
text: catalog.i18nc("@action:inmenu", "Exit Full Screen")
|
||||
icon.name: "view-fullscreen"
|
||||
}
|
||||
|
@ -123,8 +122,8 @@ Item
|
|||
text: catalog.i18nc("@action:inmenu menubar:edit", "&Undo")
|
||||
icon.name: "edit-undo"
|
||||
shortcut: StandardKey.Undo
|
||||
onTriggered: UM.OperationStack.undo()
|
||||
enabled: UM.OperationStack.canUndo
|
||||
onTriggered: CuraActions.undo()
|
||||
enabled: CuraActions.canUndo
|
||||
}
|
||||
|
||||
Action
|
||||
|
@ -133,8 +132,8 @@ Item
|
|||
text: catalog.i18nc("@action:inmenu menubar:edit", "&Redo")
|
||||
icon.name: "edit-redo"
|
||||
shortcut: StandardKey.Redo
|
||||
onTriggered: UM.OperationStack.redo()
|
||||
enabled: UM.OperationStack.canRedo
|
||||
onTriggered: CuraActions.redo()
|
||||
enabled: CuraActions.canRedo
|
||||
}
|
||||
|
||||
Action
|
||||
|
|
|
@ -58,7 +58,7 @@ UM.Dialog
|
|||
UM.Label
|
||||
{
|
||||
id: version
|
||||
text: catalog.i18nc("@label","version: %1").arg(UM.Application.version)
|
||||
text: catalog.i18nc("@label","version: %1").arg(CuraApplication.version())
|
||||
font: UM.Theme.getFont("large_bold")
|
||||
color: UM.Theme.getColor("button_text")
|
||||
anchors.right : logo.right
|
||||
|
|
|
@ -124,6 +124,9 @@ UM.PreferencesPage
|
|||
UM.Preferences.resetPreference("info/send_engine_crash")
|
||||
sendEngineCrashCheckbox.checked = boolCheck(UM.Preferences.getValue("info/send_engine_crash"))
|
||||
|
||||
UM.Preferences.resetPreference("info/anonymous_engine_crash_report")
|
||||
sendEngineCrashCheckboxAnonymous.checked = boolCheck(UM.Preferences.getValue("info/anonymous_engine_crash_report"))
|
||||
|
||||
UM.Preferences.resetPreference("info/automatic_update_check")
|
||||
checkUpdatesCheckbox.checked = boolCheck(UM.Preferences.getValue("info/automatic_update_check"))
|
||||
|
||||
|
@ -624,6 +627,8 @@ UM.PreferencesPage
|
|||
UM.TooltipArea
|
||||
{
|
||||
width: childrenRect.width
|
||||
// Mac only allows applications to run as a single instance, so providing the option for this os doesn't make much sense
|
||||
visible: Qt.platform.os !== "osx"
|
||||
height: childrenRect.height
|
||||
text: catalog.i18nc("@info:tooltip","Should opening files from the desktop or external applications open in the same instance of Cura?")
|
||||
|
||||
|
@ -859,21 +864,63 @@ UM.PreferencesPage
|
|||
font: UM.Theme.getFont("medium_bold")
|
||||
text: catalog.i18nc("@label", "Privacy")
|
||||
}
|
||||
|
||||
UM.TooltipArea
|
||||
{
|
||||
width: childrenRect.width
|
||||
height: visible ? childrenRect.height : 0
|
||||
text: catalog.i18nc("@info:tooltip", "Should slicing crashes be automatically reported to Ultimaker? Note, no models, IP addresses or other personally identifiable information is sent or stored.")
|
||||
text: catalog.i18nc("@info:tooltip", "Should slicing crashes be automatically reported to Ultimaker? Note, no models, IP addresses or other personally identifiable information is sent or stored, unless you give explicit permission.")
|
||||
|
||||
UM.CheckBox
|
||||
{
|
||||
id: sendEngineCrashCheckbox
|
||||
text: catalog.i18nc("@option:check","Send (anonymous) engine crash reports")
|
||||
text: catalog.i18nc("@option:check","Send engine crash reports")
|
||||
checked: boolCheck(UM.Preferences.getValue("info/send_engine_crash"))
|
||||
onCheckedChanged: UM.Preferences.setValue("info/send_engine_crash", checked)
|
||||
}
|
||||
}
|
||||
|
||||
ButtonGroup
|
||||
{
|
||||
id: curaCrashGroup
|
||||
buttons: [sendEngineCrashCheckboxAnonymous, sendEngineCrashCheckboxUser]
|
||||
}
|
||||
|
||||
UM.TooltipArea
|
||||
{
|
||||
width: childrenRect.width
|
||||
height: visible ? childrenRect.height : 0
|
||||
text: catalog.i18nc("@info:tooltip", "Send crash reports without any personally identifiable information or models data to UltiMaker.")
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||
Cura.RadioButton
|
||||
{
|
||||
id: sendEngineCrashCheckboxAnonymous
|
||||
text: catalog.i18nc("@option:radio", "Anonymous crash reports")
|
||||
enabled: sendEngineCrashCheckbox.checked && Cura.API.account.isLoggedIn
|
||||
checked: boolCheck(UM.Preferences.getValue("info/anonymous_engine_crash_report"))
|
||||
onClicked: UM.Preferences.setValue("info/anonymous_engine_crash_report", true)
|
||||
}
|
||||
}
|
||||
UM.TooltipArea
|
||||
{
|
||||
width: childrenRect.width
|
||||
height: visible ? childrenRect.height : 0
|
||||
text: Cura.API.account.isLoggedIn ?
|
||||
catalog.i18nc("@info:tooltip", "Send crash reports with your registered UltiMaker account name and the project name to UltiMaker Sentry. No actual model data is being send.") :
|
||||
catalog.i18nc("@info:tooltip", "Please sign in to your UltiMaker account to allow sending non-anonymous data.")
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||
Cura.RadioButton
|
||||
{
|
||||
id: sendEngineCrashCheckboxUser
|
||||
text: catalog.i18nc("@option:radio", "Include UltiMaker account name")
|
||||
enabled: sendEngineCrashCheckbox.checked && Cura.API.account.isLoggedIn
|
||||
checked: !boolCheck(UM.Preferences.getValue("info/anonymous_engine_crash_report")) && Cura.API.account.isLoggedIn
|
||||
onClicked: UM.Preferences.setValue("info/anonymous_engine_crash_report", false)
|
||||
}
|
||||
}
|
||||
|
||||
UM.TooltipArea
|
||||
{
|
||||
width: childrenRect.width
|
||||
|
|
|
@ -58,10 +58,11 @@ UM.ManagementPage
|
|||
anchors.fill: parent
|
||||
spacing: UM.Theme.getSize("default_margin").height
|
||||
|
||||
|
||||
Repeater
|
||||
{
|
||||
id: machineActionRepeater
|
||||
model: base.currentItem ? Cura.MachineActionManager.getSupportedActions(Cura.MachineManager.getDefinitionByMachineId(base.currentItem.id)) : null
|
||||
model: base.currentItem ? CuraApplication.getSupportedActionMachineList(base.currentItem.id) : null
|
||||
|
||||
Item
|
||||
{
|
||||
|
|
|
@ -160,7 +160,6 @@ Item
|
|||
ProfileWarningReset
|
||||
{
|
||||
id: profileWarningReset
|
||||
width: childrenRect.width
|
||||
anchors.right: parent.right
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
fullWarning: false
|
||||
|
|
|
@ -187,7 +187,7 @@ Popup
|
|||
//Add all the custom profiles.
|
||||
Repeater
|
||||
{
|
||||
model: Cura.CustomQualityProfilesDropDownMenuModel
|
||||
model: CuraApplication.getCustomQualityProfilesDropDownMenuModel()
|
||||
MenuButton
|
||||
{
|
||||
onClicked: Cura.MachineManager.setQualityChangesGroup(model.quality_changes_group)
|
||||
|
|
|
@ -11,7 +11,7 @@ import "../Dialogs"
|
|||
Item
|
||||
{
|
||||
property bool fullWarning: true // <- Can you see the warning icon and the text, or is it just the buttons?
|
||||
|
||||
property var simpleModeSettingsManager :CuraApplication.getSimpleModeSettingsManager()
|
||||
height: visible ? UM.Theme.getSize("action_button_icon").height : 0
|
||||
width: visible ? childrenRect.width: 0
|
||||
visible: Cura.MachineManager.hasUserSettings || (fullWarning && Cura.MachineManager.hasCustomQuality)
|
||||
|
@ -96,7 +96,7 @@ Item
|
|||
State
|
||||
{
|
||||
name: "custom settings changed"
|
||||
when: Cura.SimpleModeSettingsManager.isProfileCustomized
|
||||
when: simpleModeSettingsManager.isProfileCustomized
|
||||
PropertyChanges
|
||||
{
|
||||
target: warning
|
||||
|
|
|
@ -223,7 +223,7 @@ SettingItem
|
|||
|
||||
cursorShape: Qt.IBeamCursor
|
||||
|
||||
onPressed: {
|
||||
onPressed:(mouse)=> {
|
||||
if (!input.activeFocus)
|
||||
{
|
||||
base.focusGainedByClick = true
|
||||
|
|
|
@ -203,7 +203,7 @@ Item
|
|||
x: UM.Theme.getSize("default_margin").width
|
||||
y: UM.Theme.getSize("default_margin").height
|
||||
|
||||
source: UM.ActiveTool.valid ? UM.ActiveTool.activeToolPanel : ""
|
||||
source: UM.Controller.valid ? UM.Controller.activeToolPanel : ""
|
||||
enabled: UM.Controller.toolsEnabled
|
||||
}
|
||||
}
|
||||
|
@ -222,7 +222,7 @@ Item
|
|||
UM.Label
|
||||
{
|
||||
id: toolHint
|
||||
text: UM.ActiveTool.properties.getValue("ToolHint") != undefined ? UM.ActiveTool.properties.getValue("ToolHint") : ""
|
||||
text: UM.Controller.properties.getValue("ToolHint") != undefined ? UM.ActiveTool.properties.getValue("ToolHint") : ""
|
||||
color: UM.Theme.getColor("tooltip_text")
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue