27 #include "../../../qt/widgets/rp/ContrastWizard.h"
28 #include "../../af/ApplicationController.h"
33 #include <QMessageBox>
40 createAction(tr(
"Contrast...").toStdString(),
"histogram");
43 m_action->setObjectName(
"Processing.Raster Processing.Contrast");
54 std::list<te::map::AbstractLayerPtr> layersList = getLayers();
58 if(dlg.exec() == QDialog::Accepted)
75 if(dlg.exec() == QDialog::Accepted)
This is an abstract class used to register actions into rp pluging.
ContrastAction(QMenu *menu, QMenu *popupMenu)
This file defines the Contrast class.
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.
virtual void onPopUpActionActivated(bool checked)
virtual ~ContrastAction()
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
virtual void onActionActivated(bool checked)