Go to the documentation of this file.
18 #ifndef IGNITION_GAZEBO_GUI_COPYPASTE_HH_
19 #define IGNITION_GAZEBO_GUI_COPYPASTE_HH_
31 class CopyPastePrivate;
45 public:
void LoadConfig(
const tinyxml2::XMLElement *_pluginElem)
override;
52 public slots:
void OnCopy();
59 protected:
bool eventFilter(QObject *_obj, QEvent *_event)
override;
66 private:
bool CopyServiceCB(
const ignition::msgs::StringMsg &_req,
67 ignition::msgs::Boolean &_resp);
73 private:
bool PasteServiceCB(
const ignition::msgs::Empty &_req,
74 ignition::msgs::Boolean &_resp);
Base class for a GUI System.
Definition: gz/sim/gui/GuiSystem.hh:44
void OnPaste()
Callback to paste the data that has been copied, if copied data exists.
This library is part of the Gazebo project.
Definition: gz/sim/Actor.hh:33
The EntityComponentManager constructs, deletes, and returns components and entities....
Definition: gz/sim/EntityComponentManager.hh:66
void Update(const UpdateInfo &_info, EntityComponentManager &_ecm) override
Update callback called every time the system is stepped. This is called at an Ignition transport thre...
Information passed to systems on the update callback.
Definition: include/gz/sim/Types.hh:38
void LoadConfig(const tinyxml2::XMLElement *_pluginElem) override
Plugin for copying/pasting entities in the GUI.
Definition: CopyPaste.hh:34
~CopyPaste() override
Destructor.
bool eventFilter(QObject *_obj, QEvent *_event) override
void OnCopy()
Callback to copy the selected entity.