27 #include "../../../qt/widgets/canvas/MapDisplay.h" 28 #include "../../af/ApplicationController.h" 29 #include "../../af/BaseApplication.h" 30 #include "../../af/connectors/MapDisplay.h" 32 #include "../../af/ApplicationController.h" 33 #include "../../../qt/af/events/LayerEvents.h" 97 if (layer->getType() ==
"TRAJECTORYDATASETLAYER")
105 std::list<te::map::AbstractLayerPtr> layers = ev->
m_layers;
106 std::list<te::map::AbstractLayerPtr>::iterator it;
108 for (it = layers.begin(); it != layers.end(); ++it)
110 if ((*it)->getType() ==
"TRAJECTORYDATASETLAYER")
QMenu * m_menu
Parent Menu.
A base class for application events.
te::map::AbstractLayerPtr m_layer
Pointer to the selected layer.
This is an abstract class used to register actions into st pluging.
This event indicates that the layer has been selected.
static ApplicationController & getInstance()
It returns a reference to the singleton instance.
void createAction(std::string name, std::string pixmap="")
Create and set the actions parameters.
te::qt::widgets::MapDisplay * getMapDisplay()
std::list< te::map::AbstractLayerPtr > m_layers
Layer removed.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
QAction * m_action
Action used to call the process.