mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 00:07:51 -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
|
@ -13,13 +13,11 @@ import "../Menus"
|
|||
|
||||
Item
|
||||
{
|
||||
id: base;
|
||||
id: settingsView
|
||||
|
||||
property QtObject settingVisibilityPresetsModel: CuraApplication.getSettingVisibilityPresetsModel()
|
||||
property Action configureSettings
|
||||
property bool findingSettings
|
||||
signal showTooltip(Item item, point location, string text)
|
||||
signal hideTooltip()
|
||||
|
||||
ToolButton
|
||||
{
|
||||
|
@ -359,7 +357,7 @@ Item
|
|||
contextMenu.provider = provider
|
||||
contextMenu.popup();
|
||||
}
|
||||
onShowTooltip: base.showTooltip(delegate, { x: -UM.Theme.getSize("default_arrow").width, y: Math.round(delegate.height / 2) }, text)
|
||||
onShowTooltip: base.showTooltip(delegate, Qt.point(- UM.Theme.getSize("default_arrow").width, 0), text)
|
||||
onHideTooltip: base.hideTooltip()
|
||||
onShowAllHiddenInheritedSettings:
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue