CopyPaste Class Reference
Plugin for copying/pasting entities in the GUI. More...
#include <CopyPaste.hh>
Public Slots | |
void | OnCopy () |
Callback to copy the selected entity. More... | |
void | OnPaste () |
Callback to paste the data that has been copied, if copied data exists. More... | |
Public Member Functions | |
CopyPaste () | |
Constructor. More... | |
~CopyPaste () override | |
Destructor. More... | |
void | LoadConfig (const tinyxml2::XMLElement *_pluginElem) override |
void | Update (const UpdateInfo &_info, EntityComponentManager &_ecm) override |
Update callback called every time the system is stepped. This is called at an Ignition transport thread, so any interaction with Qt should be done through signals and slots. More... | |
Protected Member Functions | |
bool | eventFilter (QObject *_obj, QEvent *_event) override |
Detailed Description
Plugin for copying/pasting entities in the GUI.
Constructor & Destructor Documentation
◆ CopyPaste()
CopyPaste | ( | ) |
Constructor.
◆ ~CopyPaste()
|
override |
Destructor.
Member Function Documentation
◆ eventFilter()
|
overrideprotected |
◆ LoadConfig()
|
override |
◆ OnCopy
|
slot |
Callback to copy the selected entity.
◆ OnPaste
|
slot |
Callback to paste the data that has been copied, if copied data exists.
◆ Update()
|
overridevirtual |
Update callback called every time the system is stepped. This is called at an Ignition transport thread, so any interaction with Qt should be done through signals and slots.
- Parameters
-
[in] _info Current simulation information, such as time. [in] _ecm Mutable reference to the ECM, so the system can read and write entities and their components.
Reimplemented from GuiSystem.
The documentation for this class was generated from the following file: