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

#include <Plugin.h>

Inheritance diagram for te::qt::plugins::edit::Plugin:
te::plugin::Plugin te::plugin::AbstractPlugin

Signals

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

Public Member Functions

const PluginInfo & getInfo () const
 It return the information associated to the plugin. More...
 
bool isStarted () const
 It tells if the plugin was started or not. More...
 
bool operator< (const AbstractPlugin &rhs) const
 This overloaded operator can be used to index the plugin in a set. More...
 
 Plugin (const te::plugin::PluginInfo &pluginInfo)
 
void shutdown ()
 Do nothing! Just set plugin as stopped. More...
 
void startup ()
 Do nothing! Just set plugin as started. More...
 
 ~Plugin ()
 Virtual destructor. More...
 

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
 A flag that indicates if the plugin was started or not. More...
 
QMenu * m_menu
 Main menu of TerraLib Edit Qt Plugin. More...
 
PluginInfo m_pluginInfo
 Information about the plugin. More...
 
ToolBarm_toolbar
 Main toolbar of TerraLib Edit Qt Plugin. More...
 

Detailed Description

Definition at line 60 of file Plugin.h.

Constructor & Destructor Documentation

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

Virtual destructor.

Reimplemented from te::plugin::Plugin.

Member Function Documentation

void te::qt::plugins::edit::Plugin::drawStashed ( )
protected
const PluginInfo& te::plugin::Plugin::getInfo ( ) const
virtualinherited

It return the information associated to the plugin.

Returns
The information associated to the plugin.

Implements te::plugin::AbstractPlugin.

te::qt::widgets::LayerItemView* te::qt::plugins::edit::Plugin::getLayerExplorer ( )
protected
bool te::plugin::Plugin::isStarted ( ) const
virtualinherited

It tells if the plugin was started or not.

Returns
True if the plugin is started and false otherwise (it is shutdown).

Implements te::plugin::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
bool te::plugin::AbstractPlugin::operator< ( const AbstractPlugin rhs) const
inherited

This overloaded operator can be used to index the plugin in a set.

Parameters
rhsThe right-hand-side plugin.
Returns
True if this plugin name is lexcographical less than the rhs plugin name.
void te::qt::plugins::edit::Plugin::shutdown ( )
virtual

Do nothing! Just set plugin as stopped.

Reimplemented from te::plugin::Plugin.

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

Do nothing! Just set plugin as started.

Reimplemented from te::plugin::Plugin.

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 102 of file Plugin.h.

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

Definition at line 104 of file Plugin.h.

bool te::plugin::Plugin::m_initialized
protectedinherited

A flag that indicates if the plugin was started or not.

Definition at line 79 of file Plugin.h.

QMenu* te::qt::plugins::edit::Plugin::m_menu
protected

Main menu of TerraLib Edit Qt Plugin.

Definition at line 101 of file Plugin.h.

PluginInfo te::plugin::Plugin::m_pluginInfo
protectedinherited

Information about the plugin.

Definition at line 78 of file Plugin.h.

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

Main toolbar of TerraLib Edit Qt Plugin.

Definition at line 100 of file Plugin.h.


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