27 #include "../../../qt/widgets/rp/MosaicWizard.h" 28 #include "../../af/ApplicationController.h" 33 #include <QtCore/QObject> 41 m_action->setObjectName(
"Processing.Raster Processing.Mosaic");
50 std::list<te::map::AbstractLayerPtr> layersList =
getLayers();
54 if(dlg.exec() == QDialog::Accepted)
58 std::list<te::map::AbstractLayerPtr>::iterator it = layers.begin();
60 while(it != layers.end())
This is an abstract class used to register actions into rp pluging.
This file defines the Mosaic class.
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.
MosaicAction(QMenu *menu, QMenu *popupMenu)
std::list< te::map::AbstractLayerPtr > getLayers()
Get the list of layers from app.