mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Add warning icon when not all extruders have same intent
CURA-6601
This commit is contained in:
parent
eced1fe907
commit
b19e7cd027
3 changed files with 67 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ import QtQuick.Controls.Styles 1.4
|
|||
|
||||
import UM 1.2 as UM
|
||||
import Cura 1.6 as Cura
|
||||
|
||||
import ".."
|
||||
Item
|
||||
{
|
||||
id: qualityRow
|
||||
|
|
@ -123,6 +123,18 @@ Item
|
|||
elide: Text.ElideRight
|
||||
}
|
||||
|
||||
NoIntentIcon
|
||||
{
|
||||
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
|
||||
}
|
||||
|
||||
Cura.RadioCheckbar
|
||||
{
|
||||
anchors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue