Widget.setHasTooltip

void setHasTooltip(bool hasTooltip)

Sets the has-tooltip property on widget to has_tooltip.

Parameters

hasTooltipwhether or not widget has a tooltip.