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)
 

Protected Member Functions

void drawStashed ()
 
te::qt::widgets::LayerItemViewgetLayerExplorer ()
 
void updateDelegate (const bool &add)
 

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

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

Member Function Documentation

void te::qt::plugins::edit::Plugin::drawStashed ( )
protected
te::qt::widgets::LayerItemView* te::qt::plugins::edit::Plugin::getLayerExplorer ( )
protected
const PluginInfo& te::core::CppPlugin::info ( ) const
virtualinherited

It returns the PluginInfo of the CppPlugin.

Returns
The CppPlugin information

Implements te::core::AbstractPlugin.

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.

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.
void te::qt::plugins::edit::Plugin::onApplicationTriggered ( te::qt::af::evt::Event e)
protectedslot
void te::qt::plugins::edit::Plugin::onGeometriesChanged ( )
protectedslot
void te::qt::plugins::edit::Plugin::onStashedLayer ( te::map::AbstractLayer layer)
protectedslot
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.

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.

void te::qt::plugins::edit::Plugin::triggered ( te::qt::af::evt::Event e)
signal
void te::qt::plugins::edit::Plugin::updateDelegate ( const bool &  add)
protected

Member Data Documentation

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

Action used to call the process.

Definition at line 110 of file Plugin.h.

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

Definition at line 112 of file Plugin.h.

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

Definition at line 73 of file CppPlugin.h.

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

Definition at line 72 of file CppPlugin.h.

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: