27 #include "../../../mnt/qt/ProfileDialog.h" 28 #include "../../af/events/LayerEvents.h" 29 #include "../../af/ApplicationController.h" 34 #include <QMessageBox> 42 createAction(tr(
"Profile ...").toUtf8().data(),
"mnt-processing-profile");
43 m_action->setObjectName(
"Processing.PROFILE Processing.PROFILE");
This is an abstract class used to register actions into mnt pluging.
This file defines the Profile Generation class.
te::mnt::ProfileDialog * m_profiledlg
std::list< te::map::AbstractLayerPtr > getLayers()
Get the list of layers from app.
void createAction(std::string name, std::string pixmap="")
Create and set the actions parameters.
static ApplicationController & getInstance()
It returns a reference to the singleton instance.
QAction * m_action
Action used to call the process.
virtual void onActionActivated(bool checked)
ProfileAction(QMenu *menu)
void setLayers(std::list< te::map::AbstractLayerPtr > layers)