In https://github.com/FreeCAD/FreeCAD/pull/2867 I added support to change the tooltips for QuantitySpinBox elements.
This element consists of a LineEdit and an IconLabel. Therefore I created 2 functions to change their tooltips. However, maybe there should only be one function that changes the LineEdit?
PR #2867 QuantitySpinBox: set/change tooltip at runtime
Re: PR #2867 QuantitySpinBox: set/change tooltip at runtime
Yorik already merged it, however I am no longer sure it only helps to workaround bug issue #4059. In PR https://github.com/FreeCAD/FreeCAD/pull/2871 I use the setTooltip function exactly for this purpose.uwestoehr wrote: ↑Mon Jan 06, 2020 5:19 pm In https://github.com/FreeCAD/FreeCAD/pull/2867 I added support to change the tooltips for QuantitySpinBox elements.
Something is incorrect with the QuantitySpinBox tooltips, I mean I wonder why it doesn't inherit the basic Qt setTooltip() function.
So if someone more familiar with Qt could have a look at QuantitySpinBox, it would be nice.
Re: PR #2867 QuantitySpinBox: set/change tooltip at runtime
The issue has nothing to do with issue #4059. The tool tips are cleared here by the attachment dialog itself:
https://github.com/donovaly/FreeCAD/blo ... r.cpp#L748
https://github.com/donovaly/FreeCAD/blo ... r.cpp#L748
Re: PR #2867 QuantitySpinBox: set/change tooltip at runtime
Stupid me for overlooking this.wmayer wrote: ↑Thu Jan 09, 2020 10:11 pm The issue has nothing to do with issue #4059. The tool tips are cleared here by the attachment dialog itself:
https://github.com/donovaly/FreeCAD/blo ... r.cpp#L748
Thanks for fixing the bug.