23 #include "../../../qt/af/ApplicationController.h" 24 #include "../../../qt/widgets/rp/VectorizationWizard.h" 29 createAction(tr(
"Vectorization...").toUtf8().data(),
"vectorization");
30 m_action->setObjectName(
"Processing.Raster Processing.Vectorization");
41 std::list<te::map::AbstractLayerPtr> layersList =
getLayers();
45 if(dlg.exec() == QDialog::Accepted)
This is an abstract class used to register actions into rp pluging.
VectorizationAction(QMenu *menu, QMenu *popupMenu)
virtual ~VectorizationAction()
virtual void onPopUpActionActivated(bool checked)
virtual void onActionActivated(bool checked)
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.
QAction * m_action
Action used to call the process.
void addNewLayer(te::map::AbstractLayerPtr layer)
Add a new layer into layer explorer widget.
std::list< te::map::AbstractLayerPtr > getLayers()
Get the list of layers from app.