Skip to content

RDxfPlugin

Class in DXF Import / Export Module
Header: #include <src/io/dxf/RDxfPlugin.h>
Inherits: QObject, RPluginInterface

virtual bool checkLicense()
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 initTranslations()
Called when the user chosen language changed.
virtual void postInit(InitStatus)
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.

virtual bool RDxfPlugin::checkLicense()

virtual inline

Returns: True if the plugin license is valid.

Reimplemented from checkLicense.

virtual RPluginInfo RDxfPlugin::getPluginInfo()

virtual

Returns: An RPluginInfo object with at least the following keys:

  • ‘Version’ - Version string
  • ‘Name’ - 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.

Reimplemented from getPluginInfo.

virtual 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.

Reimplemented from init.

virtual void RDxfPlugin::initScriptExtensions(QScriptEngine &)

virtual inline

Called whenever a new script engine is instantiated.

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

Non-Scriptable: This function is not available in script environments.

Reimplemented from initScriptExtensions.

virtual void RDxfPlugin::initTranslations()

virtual inline

Called when the user chosen language changed.

Non-Scriptable: This function is not available in script environments.

Reimplemented from initTranslations.

virtual void RDxfPlugin::postInit(InitStatus)

virtual inline

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.

Reimplemented from postInit.

virtual void RDxfPlugin::uninit(bool)

virtual inline

Called before a plugin is removed / unloaded.

Reimplemented from uninit.