EntitiesSelected Class Reference
Event that notifies when new entities have been selected. More...
#include <GuiEvents.hh>
Public Member Functions | |
EntitiesSelected (const std::vector< Entity > &_entities, bool _fromUser=false) | |
Constructor. | |
std::vector< Entity > | Data () const |
Get the data sent with the event. | |
bool | FromUser () const |
Get whether the event was generated by the user. | |
Static Public Attributes | |
static const QEvent::Type | kType = QEvent::Type(QEvent::User + 1) |
Unique type for this event. | |
Detailed Description
Event that notifies when new entities have been selected.
Constructor & Destructor Documentation
◆ EntitiesSelected()
|
inlineexplicit |
Constructor.
- Parameters
-
[in] _entities All the selected entities [in] _fromUser True if the event was directly generated by the user, false in case it's been propagated through a different mechanism.
Member Function Documentation
◆ Data()
|
inline |
Get the data sent with the event.
- Returns
- The entities being selected.
◆ FromUser()
|
inline |
Get whether the event was generated by the user.
- Returns
- True for the user.
Member Data Documentation
◆ kType
|
static |
Unique type for this event.
The documentation for this class was generated from the following file: