docs: def connectHotspot( self, 
                          rect, 
                          slot, 
                          color = None, 
                          style = None, 
                          name = '',
                          toolTip = '' ):
          """
          Defines a new hotspot rect for the given hotspot type.
          
          :param      rect        | <QRectF>
                      slot        | <method> || <function>
                      color       | <QColor> || None
                      style       | <XNode.HotspotStyle> || None
                      toolTip     | <str>
          
          :return     <XNodeHotspot>
          """
          if not color:
              color = self.hotspotColor()
          if not style:
              style = self.hotspotStyle()
          
          hotspot = XNodeHotspot(rect, 
                                 slot, 
                                 name,
                                 toolTip)
          
          hotspot.setColor(color)
          hotspot.setStyle(style)
          
          self._hotspots.append(hotspot)
          return hotspot