27 #include "../../../qt/widgets/rp/ComposeBandsWizard.h" 
   28 #include "../../af/ApplicationController.h" 
   33 #include <QtCore/QObject> 
   40   createAction(tr(
"Compose / Decompose Bands...").toStdString(), 
"compose-bands");
 
   41   m_action->setObjectName(
"Processing.Raster Processing.Compose Decompose Bands");
 
   52   std::list<te::map::AbstractLayerPtr> layersList = getLayers();
 
   56   if(dlg.exec() == QDialog::Accepted)
 
   60     std::list<te::map::AbstractLayerPtr>::iterator it = layers.begin();
 
   62     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)