'Override TextBase.__init__ to elide in the middle by default.'

def __init__(self, parent=None):

    super().__init__(parent, Qt.ElideMiddle)
    self.setObjectName(self.__class__.__name__)
    style.set_register_stylesheet(self)
    self._hover_url = None
    self._normal_url = None
    self._normal_url_type = UrlType.normal
