27 #include "../../../qt/widgets/rp/ContrastWizard.h"
28 #include "../../af/ApplicationController.h"
33 #include <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 is an abstract class used to register actions into rp pluging.
void createPopUpAction(std::string name, std::string pixmap="")
Create and set the actions parameters.
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.
virtual void onPopUpActionActivated(bool checked)
virtual ~ContrastAction()
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
virtual void onActionActivated(bool checked)