code: def mousePressEvent(self, event):
          
          self._region.setX(event.pos().x())
          self._region.setY(event.pos().y())
          super(XSnapshotWidget, self).mousePressEvent(event)
docs: Starts the selection process for this widget and snapshot area.
          
          :param      event | <QMousePressEvent>