27 #include "../../../qt/widgets/rp/ArithmeticOpDialogForm.h" 28 #include "../../af/ApplicationController.h" 32 #include <QtCore/QObject> 39 createAction(tr(
"Arithmetic Operations...").toUtf8().data(),
"arithmeticOp");
40 m_action->setObjectName(
"Processing.Raster Processing.Arithmetic Operations");
53 std::list<te::map::AbstractLayerPtr> layersList =
getLayers();
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.
std::unique_ptr< te::qt::widgets::ArithmeticOpDialogForm > m_arithOpDlg
void addLayer(te::map::AbstractLayerPtr outputLayer)
ArithmeticOpAction(QMenu *menu, QMenu *popupMenu)
void addNewLayer(te::map::AbstractLayerPtr layer)
Add a new layer into layer explorer widget.
This file defines the ArithmeticOp class.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
std::list< te::map::AbstractLayerPtr > getLayers()
Get the list of layers from app.