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 a Gazebo Transport thread, so any interaction with Qt should be done through signals and slots. More... | |
Public Member Functions inherited from Plugin | |
Plugin () | |
virtual | ~Plugin () |
QQuickItem * | CardItem () const |
virtual std::string | ConfigStr () |
QQmlContext * | Context () const |
bool | DeleteLaterRequested () const |
void | Load (const tinyxml2::XMLElement *_pluginElem) |
QQuickItem * | PluginItem () const |
void | PostParentChanges () |
virtual std::string | Title () const |
Protected Member Functions | |
bool | eventFilter (QObject *_obj, QEvent *_event) override |
Protected Member Functions inherited from Plugin | |
void | DeleteLater () |
Additional Inherited Members | |
Protected Attributes inherited from Plugin | |
std::string | configStr |
std::string | title |
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()
|
overridevirtual |
Reimplemented from Plugin.
◆ 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 a Gazebo 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: