27 #include "../../../common/Config.h"
28 #include "../../../common/Translator.h"
29 #include "../../../common/Logger.h"
30 #include "../../af/ApplicationController.h"
31 #include "../../af/events/LayerEvents.h"
60 m_cellSpaceMenu =
new QMenu(pluginMenu);
65 pluginMenu->insertMenu(pluginsSeparator, m_cellSpaceMenu);
67 m_cellSpaceMenu->setTitle(
TE_TR(
"Cellular Spaces"));
68 m_cellSpaceMenu->setIcon(QIcon::fromTheme(
"cellspace"));
74 m_popupAction =
new QAction(m_cellSpaceMenu);
75 m_popupAction->setText(
TE_TR(
"Cellular Spaces"));
86 delete m_cellSpaceMenu;
93 m_initialized =
false;
103 delete m_createCellLayer;
#define TE_LOG_TRACE(msg)
Use this tag in order to log a message to a specified logger with the TRACE level.
Plugin implementation for the SA Qt Plugin widget.
void startup()
Do nothing! Just set plugin as started.
void unRegisterActions()
Function used to unregister all raster processing actions.
This class register the contrast action into Cellular Space Plugin.
#define TE_TR(message)
It marks a string in order to get translated.
~Plugin()
Virtual destructor.
#define PLUGIN_CALL_BACK_IMPL(PLUGIN_CLASS_NAME)
This macro should be used by C++ plugins in order to declare the exportable/callable DLL function...
static ApplicationController & getInstance()
It returns a reference to the singleton instance.
void shutdown()
Do nothing! Just set plugin as stopped.
void registerActions()
Function used to register all raster processing actions.
The basic information about a plugin.
Plugin(const te::plugin::PluginInfo &pluginInfo)