#include <SpatialStatisticsAction.h>
Public Member Functions | |
QAction * | getAction () |
SpatialStatisticsAction (QMenu *menu) | |
virtual | ~SpatialStatisticsAction () |
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... | |
te::map::AbstractLayerPtr | getCurrentLayer () |
Get the selected layer from layer explorer in app. 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... | |
Definition at line 40 of file SpatialStatisticsAction.h.
te::qt::plugins::sa::SpatialStatisticsAction::SpatialStatisticsAction | ( | QMenu * | menu | ) |
Definition at line 31 of file SpatialStatisticsAction.cpp.
References te::qt::plugins::sa::AbstractAction::createAction(), and te::qt::plugins::sa::AbstractAction::m_action.
|
virtual |
Definition at line 38 of file SpatialStatisticsAction.cpp.
|
protectedinherited |
Add a new layer into layer explorer widget.
layer | The layer auto pointer |
Definition at line 62 of file AbstractAction.cpp.
References te::common::Singleton< ApplicationController >::getInstance().
|
protectedinherited |
Create and set the actions parameters.
name | The action name. |
pixmap | The action pixmap name. |
Definition at line 46 of file AbstractAction.cpp.
Referenced by te::qt::plugins::sa::BayesGlobalAction::BayesGlobalAction(), te::qt::plugins::sa::BayesLocalAction::BayesLocalAction(), te::qt::plugins::sa::GeostatisticalMethodsAction::GeostatisticalMethodsAction(), te::qt::plugins::sa::KernelMapAction::KernelMapAction(), te::qt::plugins::sa::KernelRatioAction::KernelRatioAction(), te::qt::plugins::sa::ProximityMatrixCreatorAction::ProximityMatrixCreatorAction(), te::qt::plugins::sa::SamplePointsGeneratorAction::SamplePointsGeneratorAction(), te::qt::plugins::sa::SkaterAction::SkaterAction(), and SpatialStatisticsAction().
|
inlineinherited |
Definition at line 115 of file AbstractAction.h.
References te::qt::plugins::sa::AbstractAction::m_action.
|
protectedinherited |
Get the selected layer from layer explorer in app.
Definition at line 69 of file AbstractAction.cpp.
References te::common::Singleton< ApplicationController >::getInstance(), and te::qt::af::evt::GetLayerSelected::m_layer.
|
protectedinherited |
Get the list of layers from app.
Definition at line 88 of file AbstractAction.cpp.
References te::common::Singleton< ApplicationController >::getInstance(), and te::qt::af::Project::getSingleLayers().
|
protectedvirtualslot |
Definition at line 42 of file SpatialStatisticsAction.cpp.
References te::common::Singleton< ApplicationController >::getInstance(), te::sa::SpatialStatisticsDialog::getOutputLayer(), and te::sa::SpatialStatisticsDialog::setLayers().
|
protectedinherited |
Action used to call the process.
Definition at line 123 of file AbstractAction.h.
Referenced by te::qt::plugins::sa::BayesGlobalAction::BayesGlobalAction(), te::qt::plugins::sa::BayesLocalAction::BayesLocalAction(), te::qt::plugins::sa::GeostatisticalMethodsAction::GeostatisticalMethodsAction(), te::qt::plugins::sa::AbstractAction::getAction(), te::qt::plugins::sa::KernelMapAction::KernelMapAction(), te::qt::plugins::sa::KernelRatioAction::KernelRatioAction(), te::qt::plugins::sa::ProximityMatrixCreatorAction::ProximityMatrixCreatorAction(), te::qt::plugins::sa::SamplePointsGeneratorAction::SamplePointsGeneratorAction(), te::qt::plugins::sa::SkaterAction::SkaterAction(), and SpatialStatisticsAction().
|
protectedinherited |
Parent Menu.
Definition at line 122 of file AbstractAction.h.