code: def mousePressEvent( self, event ):
          
          XPopupWidget.hideToolTip()
          
          # update the current date
          self.setCurrentDate(self.dateAt(event.scenePos()))
          
          super(XCalendarScene, self).mousePressEvent(event)
docs: Changes the current date to the clicked on date.
          
          :param      event | <QMousePressEvent>