27 #include "../../../qt/widgets/rp/ContrastWizard.h"
28 #include "../../af/ApplicationController.h"
32 #include <QtCore/QObject>
33 #include <QtGui/QMessageBox>
40 createAction(tr(
"Contrast...").toStdString(),
"histogram");
53 std::list<te::map::AbstractLayerPtr> layersList = getLayers();
57 if(dlg.exec() == QDialog::Accepted)
74 if(dlg.exec() == QDialog::Accepted)
This file defines the Contrast class.
This class is GUI used to define the contrast wizard for the RP constast operation.
static ApplicationController & getInstance()
It gives access to the controller singleton.
ContrastAction(QMenu *menu, QMenu *popupMenu)
void createAction(std::string name, std::string pixmap="")
Create and set the actions parameters.
void createPopUpAction(std::string name, std::string pixmap="")
Create and set the actions parameters.
te::map::AbstractLayerPtr getOutputLayer()
virtual void onActionActivated(bool checked)
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
void setLayer(te::map::AbstractLayerPtr layer)
virtual void onPopUpActionActivated(bool checked)
This is an abstract class used to register actions into rp pluging.
void setList(std::list< te::map::AbstractLayerPtr > &layerList)
virtual ~ContrastAction()