docs: def setShowRichText( self, state ):
          """
          Sets whether or not the delegate should render rich text information \
          as HTML when drawing the contents of the item.
          
          :param      state | <bool>
          """
          delegate = self.itemDelegate()
          if isinstance(delegate, XTreeWidgetDelegate):
              delegate.setShowRichText(state)