27 #include "../../../qt/widgets/rp/RegisterWizard.h" 28 #include "../../af/ApplicationController.h" 32 #include <QtCore/QObject> 39 createAction(tr(
"Register...").toUtf8().data(),
"register");
40 m_action->setObjectName(
"Processing.Raster Processing.Register");
49 std::list<te::map::AbstractLayerPtr> layersList =
getLayers();
53 if(dlg.exec() == QDialog::Accepted)
This is an abstract class used to register actions into rp pluging.
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.
virtual ~RegisterAction()
QAction * m_action
Action used to call the process.
RegisterAction(QMenu *menu, QMenu *popupMenu)
void addNewLayer(te::map::AbstractLayerPtr layer)
Add a new layer into layer explorer widget.
This file defines the register action class.
std::list< te::map::AbstractLayerPtr > getLayers()
Get the list of layers from app.