27 #include "../../../qt/widgets/rp/ComposeBandsWizard.h" 28 #include "../../af/ApplicationController.h" 33 #include <QtCore/QObject> 40 createAction(tr(
"Compose / Decompose Bands...").toUtf8().data(),
"compose-bands");
41 m_action->setObjectName(
"Processing.Raster Processing.Compose Decompose Bands");
51 std::list<te::map::AbstractLayerPtr> layersList =
getLayers();
55 if(dlg.exec() == QDialog::Accepted)
59 std::list<te::map::AbstractLayerPtr>::iterator it = layers.begin();
61 while(it != layers.end())
This is an abstract class used to register actions into rp pluging.
ComposeBandsAction(QMenu *menu, QMenu *popupMenu)
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.
This file defines the Compose Bands class.
QAction * m_action
Action used to call the process.
virtual ~ComposeBandsAction()
virtual void onActionActivated(bool checked)
void addNewLayer(te::map::AbstractLayerPtr layer)
Add a new layer into layer explorer widget.
std::list< te::map::AbstractLayerPtr > getLayers()
Get the list of layers from app.