QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RDxfPlugin Class Reference

#include <RDxfPlugin.h>

Inheritance diagram for RDxfPlugin:
RPluginInterface

List of all members.

Public Member Functions

virtual RPluginInfo getPluginInfo ()
virtual bool init ()
 Called immediately after the plugin has been loaded, directly after starting the application.
virtual void initScriptExtensions (QScriptEngine &)
 Called whenever a new script engine is instantiated.
virtual void postInit ()
 Called after the application has been fully loaded, directly before entering the main event loop.
virtual void uninit (bool)
 Called before a plugin is removed / unloaded.
- Public Member Functions inherited from RPluginInterface
virtual ~RPluginInterface ()

Member Function Documentation

RPluginInfo RDxfPlugin::getPluginInfo ( )
virtual
Returns:
An RPluginInfo object with at least the following keys:
  • 'Version' - Version string
  • 'About' - Plugin name
  • 'Description' - Longer description of the plugin
  • 'License' - Licensing information (e.g. 'GPLv3', 'proprietary', ...)
  • 'URL' - URL where more information about the plugin can be found

This is typically used by an about dialog or debugging / developer tools.

Implements RPluginInterface.

bool RDxfPlugin::init ( )
virtual

Called immediately after the plugin has been loaded, directly after starting the application.

Implementations typically perform plugin initialization, registration of file importers, exporter, etc.

Implements RPluginInterface.

virtual void RDxfPlugin::initScriptExtensions ( QScriptEngine &  engine)
inlinevirtual

Called whenever a new script engine is instantiated.

Implementations may register their own script extensions by making C / C++ code scriptable.

Implements RPluginInterface.

virtual void RDxfPlugin::postInit ( )
inlinevirtual

Called after the application has been fully loaded, directly before entering the main event loop.

Implementations typically perform initialization that depends on the application being up and running.

Implements RPluginInterface.

virtual void RDxfPlugin::uninit ( bool  remove)
inlinevirtual

Called before a plugin is removed / unloaded.

Implements RPluginInterface.


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