mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 09:47:50 -06:00
Remove all the signal propagation for the tooltip and allow only Cura.qml to handle them
Contributes to CURA-5941.
This commit is contained in:
parent
adabb833e0
commit
7dc3320b06
11 changed files with 28 additions and 54 deletions
|
@ -93,7 +93,7 @@ Item
|
|||
Item
|
||||
{
|
||||
id: contents
|
||||
height: childrenRect.height
|
||||
height: currentModeIndex == 0 ? recommendedPrintSetup.height : customPrintSetup.height
|
||||
|
||||
anchors
|
||||
{
|
||||
|
@ -104,28 +104,25 @@ Item
|
|||
|
||||
RecommendedPrintSetup
|
||||
{
|
||||
id: recommendedPrintSetup
|
||||
anchors
|
||||
{
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
top: parent.top
|
||||
}
|
||||
onShowTooltip: base.showTooltip(item, location, text)
|
||||
onHideTooltip: base.hideTooltip()
|
||||
visible: currentModeIndex == 0
|
||||
}
|
||||
|
||||
CustomPrintSetup
|
||||
{
|
||||
id: customPrintSetup
|
||||
anchors
|
||||
{
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
top: parent.top
|
||||
}
|
||||
height: 500
|
||||
onShowTooltip: base.showTooltip(item, location, text)
|
||||
onHideTooltip: base.hideTooltip()
|
||||
visible: currentModeIndex == 1
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue