diff options
Diffstat (limited to 'resources/qml')
3 files changed, 0 insertions, 63 deletions
diff --git a/resources/qml/PrintSetupSelector/Custom/CustomPrintSetup.qml b/resources/qml/PrintSetupSelector/Custom/CustomPrintSetup.qml index 05ee28714b..554b663a9b 100644 --- a/resources/qml/PrintSetupSelector/Custom/CustomPrintSetup.qml +++ b/resources/qml/PrintSetupSelector/Custom/CustomPrintSetup.qml @@ -47,18 +47,6 @@ Item font: UM.Theme.getFont("medium") } - NoIntentIcon - { - affected_extruders: Cura.MachineManager.extruderPositionsWithNonActiveIntent - intent_type: Cura.MachineManager.activeIntentCategory - anchors.right: intentSelection.left - anchors.rightMargin: UM.Theme.getSize("narrow_margin").width - width: Math.round(profileLabel.height * 0.5) - anchors.verticalCenter: parent.verticalCenter - height: width - visible: affected_extruders.length - } - Button { id: intentSelection diff --git a/resources/qml/PrintSetupSelector/NoIntentIcon.qml b/resources/qml/PrintSetupSelector/NoIntentIcon.qml deleted file mode 100644 index 2dc422f6d6..0000000000 --- a/resources/qml/PrintSetupSelector/NoIntentIcon.qml +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) 2019 Ultimaker B.V. -// Cura is released under the terms of the LGPLv3 or higher. - -import QtQuick 2.10 -import QtQuick.Controls 2.3 - -import UM 1.2 as UM -import Cura 1.6 as Cura - -Item -{ - id: icon - property var affected_extruders - property var intent_type: "" - - implicitWidth: UM.Theme.getSize("section_icon").width - implicitHeight: UM.Theme.getSize("section_icon").height - - UM.ColorImage - { - source: UM.Theme.getIcon("Information") - color: UM.Theme.getColor("icon") - anchors.fill: parent - } - MouseArea - { - anchors.fill: parent - hoverEnabled: parent.visible - onEntered: - { - var tooltipContent = catalog.i18ncp("@label %1 is filled in with the type of a profile. %2 is filled with a list of numbers (eg '1' or '1, 2')", "There is no %1 profile for the configuration in extruder %2. The default intent will be used instead", "There is no %1 profile for the configurations in extruders %2. The default intent will be used instead", affected_extruders.length).arg(intent_type).arg(affected_extruders) - base.showTooltip(icon.parent, Qt.point(-UM.Theme.getSize("thick_margin").width, 0), tooltipContent) - } - onExited: base.hideTooltip() - } -} diff --git a/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml b/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml index f96062463d..3d0077abb0 100644 --- a/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml +++ b/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml @@ -178,22 +178,7 @@ Item intentTooltipTimer.stop() } } - - NoIntentIcon // This icon has hover priority over intentDescriptionHoverArea, so draw it above it. - { - affected_extruders: Cura.MachineManager.extruderPositionsWithNonActiveIntent - intent_type: model.name - anchors.right: intentCategoryLabel.right - anchors.rightMargin: UM.Theme.getSize("narrow_margin").width - width: intentCategoryLabel.height * 0.75 - anchors.verticalCenter: parent.verticalCenter - height: width - visible: Cura.MachineManager.activeIntentCategory == model.intent_category && affected_extruders.length - } - - } - } } } |