Sets the text for this item.
        
        :param      text | <str>

def setText(self, text):
        """
        Sets the text for this item.
        
        :param      text | <str>
        """
        self._text = text
        
        # update the label
        btn = self.widget()
        if btn:
            btn.setText(text)