te::qt::plugins::photolayer::Plugin Class Reference

#include <Plugin.h>

Inheritance diagram for te::qt::plugins::photolayer::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 onGetPointCoordinate (QPointF &point)
 
void onToolActionActivated (bool state)
 Slot function used when a tool action was selected. More...
 
void onToolVisibleActionActivated (bool state)
 Slot function used to set the toolbar visibility. More...
 

Protected Attributes

QAction * m_action
 Action used to call the process. More...
 
bool m_initialized
 
QMenu * m_menu
 Photo Layer plugin menu. More...
 
PluginInfo m_pinfo
 
te::qt::widgets::PointPickerm_pointPickerTool
 
QAction * m_toolAction
 Action used to start tool. More...
 
QToolBar * m_toolBar
 Tool Bar. More...
 
QAction * m_toolVisibleAction
 Action used to start tool. More...
 

Detailed Description

Definition at line 54 of file Plugin.h.

Constructor & Destructor Documentation

◆ Plugin()

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

◆ ~Plugin()

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

Member Function Documentation

◆ 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::photolayer::Plugin::onActionActivated ( bool  )
protectedslot

Slot function used when a action was selected.

Parameters
checkedFlag used in case a toggle action.

◆ onGetPointCoordinate

void te::qt::plugins::photolayer::Plugin::onGetPointCoordinate ( QPointF &  point)
protectedslot

◆ onToolActionActivated

void te::qt::plugins::photolayer::Plugin::onToolActionActivated ( bool  state)
protectedslot

Slot function used when a tool action was selected.

Parameters
checkedFlag used in case a toggle action.

◆ onToolVisibleActionActivated

void te::qt::plugins::photolayer::Plugin::onToolVisibleActionActivated ( bool  state)
protectedslot

Slot function used to set the toolbar visibility.

Parameters
checkedFlag used in case a toggle action.

◆ shutdown()

void te::qt::plugins::photolayer::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::photolayer::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::photolayer::Plugin::triggered ( te::qt::af::evt::Event e)
signal

Member Data Documentation

◆ m_action

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

Action used to call the process.

Definition at line 100 of file Plugin.h.

◆ m_initialized

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

Definition at line 73 of file CppPlugin.h.

◆ m_menu

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

Photo Layer plugin menu.

Definition at line 99 of file Plugin.h.

◆ m_pinfo

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

Definition at line 72 of file CppPlugin.h.

◆ m_pointPickerTool

te::qt::widgets::PointPicker* te::qt::plugins::photolayer::Plugin::m_pointPickerTool
protected

Definition at line 106 of file Plugin.h.

◆ m_toolAction

QAction* te::qt::plugins::photolayer::Plugin::m_toolAction
protected

Action used to start tool.

Definition at line 102 of file Plugin.h.

◆ m_toolBar

QToolBar* te::qt::plugins::photolayer::Plugin::m_toolBar
protected

Tool Bar.

Definition at line 104 of file Plugin.h.

◆ m_toolVisibleAction

QAction* te::qt::plugins::photolayer::Plugin::m_toolVisibleAction
protected

Action used to start tool.

Definition at line 101 of file Plugin.h.


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