Developer Documentation
DeserializeScreenshotMetadataPlugin Class Reference
Inheritance diagram for DeserializeScreenshotMetadataPlugin:
BaseInterface ToolbarInterface MetadataInterface

Signals

void updateView ()
 
void updatedObject (int, const UpdateType &)
 
void addToolbar (QToolBar *_toolbar)
 
void metadataDeserialized (const QVector< QPair< QString, QString > > &data)
 
- Signals inherited from BaseInterface
virtual void updateView ()
 Update current view in Main Application. More...
 
virtual void setSlotDescription (QString _slotName, QString _slotDescription, QStringList _parameters, QStringList _descriptions)
 Set a description for a public slot. More...
 
virtual void setRenderer (unsigned int _viewer, QString _rendererName)
 Set a renderer for the given viewer. More...
 
- Signals inherited from ToolbarInterface
virtual void addToolbar (QToolBar *_toolbar)
 Adds a Toolbar to the main widget. More...
 
- Signals inherited from MetadataInterface
virtual void metadataDeserialized (const QVector< QPair< QString, QString > > &data)=0
 

Public Member Functions

QString name ()
 Return a name for the plugin. More...
 
QString description ()
 Return a description of what the plugin is doing. More...
 

Private Slots

void initializePlugin ()
 
void pluginsInitialized ()
 
void slot_restore_from_screenshot ()
 
void slot_do_restore_from_screenshot ()
 
void slotGenericMetadataDeserialized (QString key, QString value)
 
void slotObjectMetadataDeserialized (QString object_name, QString value)
 
void slotObjectMetadataDeserializedJson (QString object_name, QJsonDocument value)
 
- Private Slots inherited from BaseInterface
virtual void exit ()
 
virtual QString version ()
 Return a version string for your plugin. More...
 

Private Attributes

QToolBar * toolbar
 
QAction * restoreAction
 
RestoreFromScreenshotDlgrestore_from_screenshot_dlg
 

Additional Inherited Members

- Private Member Functions inherited from BaseInterface
virtual void noguiSupported ()
 
virtual ~BaseInterface ()
 Destructor. More...
 
virtual void blockScenegraphUpdates (bool _block)
 Tell the core to prevent scenegraph updates. More...
 
virtual void updatedObject (int _objectId)
 An object has been changed or added by this plugin. More...
 
virtual void updatedObject (int _identifier, const UpdateType &_type)
 An object has been changed or added by this plugin. More...
 
virtual void nodeVisibilityChanged (int _identifier)
 A scenegraph node has been shown or hidden. More...
 
virtual void getCurrentRenderer (unsigned int _viewer, QString &_rendererName)
 Get the current renderer for the given viewer. More...
 
- Private Member Functions inherited from ToolbarInterface
virtual ~ToolbarInterface ()
 Destructor. More...
 
virtual void removeToolbar (QToolBar *_toolbar)
 Remove a Toolbar from the main widget. More...
 
virtual void getToolBar (QString _name, QToolBar *&_toolbar)
 Get a pointer to a Toolbar of the given name or 0 if it does not exist. More...
 
- Private Member Functions inherited from MetadataInterface
virtual ~MetadataInterface ()
 Destructor. More...
 

Detailed Description

Definition at line 64 of file DeserializeScreenshotMetadataPlugin.hh.

Constructor & Destructor Documentation

◆ DeserializeScreenshotMetadataPlugin()

DeserializeScreenshotMetadataPlugin::DeserializeScreenshotMetadataPlugin ( )

Definition at line 62 of file DeserializeScreenshotMetadataPlugin.cc.

◆ ~DeserializeScreenshotMetadataPlugin()

DeserializeScreenshotMetadataPlugin::~DeserializeScreenshotMetadataPlugin ( )
inline

Definition at line 105 of file DeserializeScreenshotMetadataPlugin.hh.

Member Function Documentation

◆ description()

QString DeserializeScreenshotMetadataPlugin::description ( )
inlinevirtual

Return a description of what the plugin is doing.

This function has to return a basic description of the plugin

Implements BaseInterface.

Definition at line 111 of file DeserializeScreenshotMetadataPlugin.hh.

◆ initializePlugin

void DeserializeScreenshotMetadataPlugin::initializePlugin ( )
privateslot

Definition at line 68 of file DeserializeScreenshotMetadataPlugin.cc.

◆ name()

QString DeserializeScreenshotMetadataPlugin::name ( )
inlinevirtual

Return a name for the plugin.

This Function has to return the name of the plugin.

Implements BaseInterface.

Definition at line 107 of file DeserializeScreenshotMetadataPlugin.hh.

◆ pluginsInitialized

void DeserializeScreenshotMetadataPlugin::pluginsInitialized ( )
privateslot

Definition at line 71 of file DeserializeScreenshotMetadataPlugin.cc.

◆ slot_do_restore_from_screenshot

void DeserializeScreenshotMetadataPlugin::slot_do_restore_from_screenshot ( )
privateslot

Definition at line 88 of file DeserializeScreenshotMetadataPlugin.cc.

◆ slot_restore_from_screenshot

void DeserializeScreenshotMetadataPlugin::slot_restore_from_screenshot ( )
privateslot

Definition at line 156 of file DeserializeScreenshotMetadataPlugin.cc.

◆ slotGenericMetadataDeserialized

void DeserializeScreenshotMetadataPlugin::slotGenericMetadataDeserialized ( QString  key,
QString  value 
)
privateslot

Definition at line 168 of file DeserializeScreenshotMetadataPlugin.cc.

◆ slotObjectMetadataDeserialized

void DeserializeScreenshotMetadataPlugin::slotObjectMetadataDeserialized ( QString  object_name,
QString  value 
)
privateslot

Definition at line 173 of file DeserializeScreenshotMetadataPlugin.cc.

◆ slotObjectMetadataDeserializedJson

void DeserializeScreenshotMetadataPlugin::slotObjectMetadataDeserializedJson ( QString  object_name,
QJsonDocument  value 
)
privateslot

Definition at line 178 of file DeserializeScreenshotMetadataPlugin.cc.

Member Data Documentation

◆ restore_from_screenshot_dlg

RestoreFromScreenshotDlg* DeserializeScreenshotMetadataPlugin::restore_from_screenshot_dlg
private

Definition at line 118 of file DeserializeScreenshotMetadataPlugin.hh.

◆ restoreAction

QAction* DeserializeScreenshotMetadataPlugin::restoreAction
private

Definition at line 117 of file DeserializeScreenshotMetadataPlugin.hh.

◆ toolbar

QToolBar* DeserializeScreenshotMetadataPlugin::toolbar
private

Definition at line 116 of file DeserializeScreenshotMetadataPlugin.hh.


The documentation for this class was generated from the following files: