Sets the text for this connection to the inputed text.
        
        :param      text | <str>

def setText(self, text):
        """
        Sets the text for this connection to the inputed text.
        
        :param      text | <str>
        """
        self._text = text

        if text:
            if self._textItem is None:
                self._textItem = QGraphicsTextItem()
                self._textItem.setParentItem(self)

            self._textItem.setPlainText(text)

        elif self._textItem:
            self.scene().removeItem(self._textItem)
            self._textItem = None