Skip to content

REntityPickEvent

Class in Core Module
Header: #include <src/core/REntityPickEvent.h>
Inherits: RInputEvent

Entity pick event.

Scriptable: This class is available in script environments.

REntityPickEvent(RObject::Id entityId, const RVector &position, RGraphicsScene &s, RGraphicsView &v)
RObject::Id getEntityId() const
Qt::KeyboardModifiers getModifiers() const
bool isValid() const
void setModifiers(Qt::KeyboardModifiers m)
RObject::Id entityId
Qt::KeyboardModifiers mods

REntityPickEvent::REntityPickEvent(RObject::Id entityId, const RVector &position, RGraphicsScene &s, RGraphicsView &v)

Parameters:

  • entityId: ID of picked entity.
  • pos: Absolute coordinate.

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD.

RObject::Id REntityPickEvent::getEntityId() const

inline const

Returns: The ID of the picked entity or RObject::INVALID_ID.

Qt::KeyboardModifiers REntityPickEvent::getModifiers() const

inline const

bool REntityPickEvent::isValid() const

inline const

Returns: true If the entity ID of the event is valid.

void REntityPickEvent::setModifiers(Qt::KeyboardModifiers m)

inline

RObject::Id REntityPickEvent::entityId

private

Qt::KeyboardModifiers REntityPickEvent::mods

private