17 #ifndef GZ_SIM_GUI_GUIEVENTS_HH_
18 #define GZ_SIM_GUI_GUIEVENTS_HH_
29 #include <gz/math/Vector3.hh>
30 #include <gz/utils/ImplPtr.hh>
31 #include <sdf/Element.hh>
32 #include <sdf/Plugin.hh>
34 #include "gz/sim/gui/Export.hh"
36 #include "gz/sim/config.hh"
44 inline namespace GZ_SIM_VERSION_NAMESPACE {
58 bool _fromUser =
false)
59 : QEvent(kType), entities(_entities), fromUser(_fromUser)
67 return this->entities;
74 return this->fromUser;
78 static const QEvent::Type kType = QEvent::Type(QEvent::User + 1);
84 private:
bool fromUser{
false};
94 : QEvent(kType), fromUser(_fromUser)
102 return this->fromUser;
106 static const QEvent::Type kType = QEvent::Type(QEvent::User + 2);
109 private:
bool fromUser{
false};
130 static const QEvent::Type kType = QEvent::Type(QEvent::User + 3);
134 GZ_UTILS_IMPL_PTR(dataPtr)
156 static const QEvent::Type kType = QEvent::Type(QEvent::User + 4);
160 GZ_UTILS_IMPL_PTR(dataPtr)
170 : QEvent(kType), tranformModeActive(_tranformModeActive)
175 static const QEvent::Type kType = QEvent::Type(QEvent::User + 6);
180 return this->tranformModeActive;
184 private:
bool tranformModeActive;
209 public: QMap<QString, QString> &
Data();
211 static const QEvent::Type kType = QEvent::Type(QEvent::User + 7);
215 GZ_UTILS_IMPL_PTR(dataPtr)
225 const sdf::Plugins &_plugins);
233 static const QEvent::Type kType = QEvent::Type(QEvent::User + 9);
237 GZ_UTILS_IMPL_PTR(dataPtr)