27 #include "../../../qt/widgets/rp/ArithmeticOpWizard.h"
28 #include "../../af/ApplicationController.h"
33 #include <QtCore/QObject>
40 createAction(tr(
"Arithmetic Operations...").toStdString(),
"arithmeticOp");
41 m_action->setObjectName(
"Processing.Raster Processing.Arithmetic Operations");
52 std::list<te::map::AbstractLayerPtr> layersList = getLayers();
56 if(dlg.exec() == QDialog::Accepted)
This is an abstract class used to register actions into rp pluging.
virtual ~ArithmeticOpAction()
static ApplicationController & getInstance()
It returns a reference to the singleton instance.
virtual void onActionActivated(bool checked)
void createAction(std::string name, std::string pixmap="")
Create and set the actions parameters.
QAction * m_action
Action used to call the process.
ArithmeticOpAction(QMenu *menu, QMenu *popupMenu)
This file defines the ArithmeticOp class.