'Called when this item is added or removed from a tree.
Expansion, visibility, and column widgets must all be configured AFTER
the item is added to a tree, not during __init__.'

def treeWidgetChanged(self):

    self.setHidden((not self.param.opts.get('visible', True)))
    self.setExpanded(self.param.opts.get('expanded', True))
