(self, tooltip_enabled)
Set the tooltip to the appropriate value on each square.
Set the tooltip to the appropriate value on each square.
Set the tooltip to the appropriate value on each square .
def tooltip_changed(self, tooltip_enabled):
        """Set the tooltip to the appropriate value on each square."""
        for square in self._squares():
            if tooltip_enabled:
                square.setToolTip(square.tree_node.tooltip)
            else:
                square.setToolTip(None)
def tooltip_changed ( self , tooltip_enabled ) : for square in self . _squares ( ) : if tooltip_enabled : square . setToolTip ( square . tree_node . tooltip ) else : square . setToolTip ( None )