This class register the contrast action into Cellular Space Plugin. More...
#include <CreateCellLayerAction.h>
Signals | |
| void | triggered (te::qt::af::evt::Event *e) |
Public Member Functions | |
| CreateCellLayerAction (QMenu *menu) | |
| virtual | ~CreateCellLayerAction () |
Protected Slots | |
| virtual void | onActionActivated (bool checked) |
Protected Member Functions | |
| void | addNewLayer (te::map::AbstractLayerPtr layer) |
| Add a new layer into layer explorer widget. More... | |
| void | createAction (std::string name, std::string pixmap="") |
| Create and set the actions parameters. More... | |
| std::list< te::map::AbstractLayerPtr > | getLayers () |
| Get the list of layers from app. More... | |
Protected Attributes | |
| QAction * | m_action |
| Action used to call the process. More... | |
| QMenu * | m_menu |
| Parent Menu. More... | |
This class register the contrast action into Cellular Space Plugin.
Definition at line 47 of file CreateCellLayerAction.h.
| te::qt::plugins::cellspace::CreateCellLayerAction::CreateCellLayerAction | ( | QMenu * | menu | ) |
Definition at line 39 of file CreateCellLayerAction.cpp.
References te::qt::plugins::cellspace::AbstractAction::createAction(), te::qt::plugins::cellspace::AbstractAction::m_action, and ~CreateCellLayerAction().
|
virtualdefault |
Referenced by CreateCellLayerAction().
|
protectedinherited |
Add a new layer into layer explorer widget.
| layer | The layer auto pointer |
Definition at line 60 of file cellspace/AbstractAction.cpp.
References te::qt::plugins::cellspace::AbstractAction::triggered().
|
protectedinherited |
Create and set the actions parameters.
| name | The action name. |
| pixmap | The action pixmap name. |
Definition at line 44 of file cellspace/AbstractAction.cpp.
References te::qt::plugins::cellspace::AbstractAction::m_action, te::qt::plugins::cellspace::AbstractAction::m_menu, te::qt::plugins::cellspace::AbstractAction::onActionActivated(), and te::qt::plugins::cellspace::AbstractAction::triggered().
Referenced by CreateCellLayerAction().
|
protectedinherited |
Get the list of layers from app.
Definition at line 67 of file cellspace/AbstractAction.cpp.
References te::qt::af::evt::GetLayerSelected::m_layer, te::qt::af::evt::GetAvailableLayers::m_layers, and te::qt::plugins::cellspace::AbstractAction::triggered().
Referenced by onActionActivated().
|
protectedvirtualslot |
Definition at line 49 of file CreateCellLayerAction.cpp.
References te::common::Singleton< ApplicationController >::getInstance(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::getLayer(), te::qt::plugins::cellspace::AbstractAction::getLayers(), te::qt::plugins::cellspace::CreateCellularSpaceDialog::setLayers(), and te::qt::plugins::cellspace::AbstractAction::triggered().
|
signalinherited |
|
protectedinherited |
Action used to call the process.
Definition at line 122 of file cellspace/AbstractAction.h.
Referenced by te::qt::plugins::cellspace::AbstractAction::createAction(), and CreateCellLayerAction().
|
protectedinherited |
Parent Menu.
Definition at line 121 of file cellspace/AbstractAction.h.
Referenced by te::qt::plugins::cellspace::AbstractAction::createAction().