te::qt::plugins::edit::Plugin Class Reference

#include <Plugin.h>

Inheritance diagram for te::qt::plugins::edit::Plugin:
te::core::CppPlugin te::core::AbstractPlugin

Signals

void triggered (te::qt::af::evt::Event *e)
 

Public Member Functions

const PluginInfo & info () const
 It returns the PluginInfo of the CppPlugin. More...
 
bool initialized () const
 It returns true or false if the CppPlugin was initialized. More...
 
 Plugin (const te::core::PluginInfo &pluginInfo)
 
void shutdown ()
 This method will be called by applicatons to shutdown plugin's functionality. More...
 
void startup ()
 This method will be called by applications to startup some plugin's functionality. More...
 
 ~Plugin ()
 

Protected Slots

void onActionActivated (bool)
 Slot function used when a action was selected. More...
 
void onApplicationTriggered (te::qt::af::evt::Event *e)
 
void onGeometriesChanged ()
 
void onStashedLayer (te::map::AbstractLayer *layer)
 
void onUpdateDelegate (const bool &add)
 

Protected Member Functions

void drawStashed ()
 
te::qt::widgets::LayerItemViewgetLayerExplorer ()
 

Protected Attributes

QAction * m_action
 Action used to call the process. More...
 
EditDelegatem_delegate
 
bool m_initialized
 
PluginInfo m_pinfo
 
ToolBarm_toolbar
 Main toolbar of TerraLib Edit Qt Plugin. More...
 

Detailed Description

Definition at line 69 of file Plugin.h.

Constructor & Destructor Documentation

◆ Plugin()

te::qt::plugins::edit::Plugin::Plugin ( const te::core::PluginInfo pluginInfo)

◆ ~Plugin()

te::qt::plugins::edit::Plugin::~Plugin ( )

Member Function Documentation

◆ drawStashed()

void te::qt::plugins::edit::Plugin::drawStashed ( )
protected

◆ getLayerExplorer()

te::qt::widgets::LayerItemView* te::qt::plugins::edit::Plugin::getLayerExplorer ( )
protected

◆ info()

const PluginInfo& te::core::CppPlugin::info ( ) const
virtualinherited

It returns the PluginInfo of the CppPlugin.

Returns
The CppPlugin information

Implements te::core::AbstractPlugin.

◆ initialized()

bool te::core::CppPlugin::initialized ( ) const
virtualinherited

It returns true or false if the CppPlugin was initialized.

Returns
The current state of the CppPlugin

Implements te::core::AbstractPlugin.

◆ onActionActivated

void te::qt::plugins::edit::Plugin::onActionActivated ( bool  )
protectedslot

Slot function used when a action was selected.

Parameters
checkedFlag used in case a toggle action.

◆ onApplicationTriggered

void te::qt::plugins::edit::Plugin::onApplicationTriggered ( te::qt::af::evt::Event e)
protectedslot

◆ onGeometriesChanged

void te::qt::plugins::edit::Plugin::onGeometriesChanged ( )
protectedslot

◆ onStashedLayer

void te::qt::plugins::edit::Plugin::onStashedLayer ( te::map::AbstractLayer layer)
protectedslot

◆ onUpdateDelegate

void te::qt::plugins::edit::Plugin::onUpdateDelegate ( const bool &  add)
protectedslot

◆ shutdown()

void te::qt::plugins::edit::Plugin::shutdown ( )
virtual

This method will be called by applicatons to shutdown plugin's functionality.

Exceptions
PluginShutdownExceptionIt may throws an exception.

Implements te::core::AbstractPlugin.

◆ startup()

void te::qt::plugins::edit::Plugin::startup ( )
virtual

This method will be called by applications to startup some plugin's functionality.

Exceptions
PluginStartupExceptionIt may throws an exception.

Implements te::core::AbstractPlugin.

◆ triggered

void te::qt::plugins::edit::Plugin::triggered ( te::qt::af::evt::Event e)
signal

Member Data Documentation

◆ m_action

QAction* te::qt::plugins::edit::Plugin::m_action
protected

Action used to call the process.

Definition at line 110 of file Plugin.h.

◆ m_delegate

EditDelegate* te::qt::plugins::edit::Plugin::m_delegate
protected

Definition at line 112 of file Plugin.h.

◆ m_initialized

bool te::core::CppPlugin::m_initialized
protectedinherited

Definition at line 73 of file CppPlugin.h.

◆ m_pinfo

PluginInfo te::core::CppPlugin::m_pinfo
protectedinherited

Definition at line 72 of file CppPlugin.h.

◆ m_toolbar

ToolBar* te::qt::plugins::edit::Plugin::m_toolbar
protected

Main toolbar of TerraLib Edit Qt Plugin.

Definition at line 109 of file Plugin.h.


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