This class register the compose bands action into RP Plugin. More...
#include <ComposeBandsAction.h>
Public Member Functions | |
| ComposeBandsAction (QMenu *menu, QMenu *popupMenu) | |
| QAction * | getAction () |
| virtual | ~ComposeBandsAction () |
Protected Slots | |
| virtual void | onActionActivated (bool checked) |
| virtual void | onPopUpActionActivated (bool checked) |
| Slot function used when a action was selected from layer pop up. More... | |
Protected Member Functions | |
| void | addNewLayer (te::map::AbstractLayerPtr layer) |
| Add a new layer into layer explorer widget. More... | |
| void | createAction (std::string name, std::string pixmap="") |
| Create and set the actions parameters. More... | |
| void | createPopUpAction (std::string name, std::string pixmap="") |
| Create and set the actions parameters. More... | |
| te::map::AbstractLayerPtr | getCurrentLayer () |
| Get the selected layer from layer explorer in app. More... | |
| std::list < te::map::AbstractLayerPtr > | getLayers () |
| Get the list of layers from app. More... | |
Protected Attributes | |
| QAction * | m_action |
| Action used to call the process. More... | |
| QMenu * | m_menu |
| Parent Menu. More... | |
| QAction * | m_popupAction |
| Action used to call the process from pop up layer. More... | |
| QMenu * | m_popupMenu |
| Parent popMenu. More... | |
This class register the compose bands action into RP Plugin.
Definition at line 47 of file ComposeBandsAction.h.
| te::qt::plugins::rp::ComposeBandsAction::ComposeBandsAction | ( | QMenu * | menu, |
| QMenu * | popupMenu | ||
| ) |
Definition at line 38 of file ComposeBandsAction.cpp.
References te::qt::plugins::rp::AbstractAction::createAction(), and te::qt::plugins::rp::AbstractAction::m_action.
|
virtual |
Definition at line 44 of file ComposeBandsAction.cpp.
|
protectedinherited |
Add a new layer into layer explorer widget.
| layer | The layer auto pointer |
Definition at line 84 of file AbstractAction.cpp.
References te::common::Singleton< ApplicationController >::getInstance().
|
protectedinherited |
Create and set the actions parameters.
| name | The action name. |
| pixmap | The action pixmap name. |
Definition at line 52 of file AbstractAction.cpp.
Referenced by te::qt::plugins::rp::ArithmeticOpAction::ArithmeticOpAction(), te::qt::plugins::rp::ClassifierAction::ClassifierAction(), te::qt::plugins::rp::ClippingAction::ClippingAction(), te::qt::plugins::rp::ColorTransformAction::ColorTransformAction(), ComposeBandsAction(), te::qt::plugins::rp::ContrastAction::ContrastAction(), te::qt::plugins::rp::FilterAction::FilterAction(), te::qt::plugins::rp::FusionAction::FusionAction(), te::qt::plugins::rp::MixtureModelAction::MixtureModelAction(), te::qt::plugins::rp::MosaicAction::MosaicAction(), te::qt::plugins::rp::RegisterAction::RegisterAction(), te::qt::plugins::rp::SegmenterAction::SegmenterAction(), and te::qt::plugins::rp::VectorizationAction::VectorizationAction().
|
protectedinherited |
Create and set the actions parameters.
| name | The action name. |
| pixmap | The action pixmap name. |
Definition at line 68 of file AbstractAction.cpp.
Referenced by te::qt::plugins::rp::ClippingAction::ClippingAction().
|
inlineinherited |
Definition at line 131 of file AbstractAction.h.
References te::qt::plugins::rp::AbstractAction::m_action.
|
protectedinherited |
Get the selected layer from layer explorer in app.
Definition at line 91 of file AbstractAction.cpp.
References te::common::Singleton< ApplicationController >::getInstance(), and te::qt::af::evt::GetLayerSelected::m_layer.
|
protectedinherited |
Get the list of layers from app.
Definition at line 110 of file AbstractAction.cpp.
References te::common::Singleton< ApplicationController >::getInstance(), and te::qt::af::Project::getSingleLayers().
|
protectedvirtualslot |
Definition at line 48 of file ComposeBandsAction.cpp.
References te::common::Singleton< ApplicationController >::getInstance(), te::qt::widgets::ComposeBandsWizard::getOutputLayers(), and te::qt::widgets::ComposeBandsWizard::setList().
|
protectedvirtualslotinherited |
Slot function used when a action was selected from layer pop up.
| checked | Flag used in case a toggle action. |
Definition at line 48 of file AbstractAction.cpp.
|
protectedinherited |
Action used to call the process.
Definition at line 140 of file AbstractAction.h.
Referenced by te::qt::plugins::rp::ArithmeticOpAction::ArithmeticOpAction(), te::qt::plugins::rp::ClassifierAction::ClassifierAction(), te::qt::plugins::rp::ClippingAction::ClippingAction(), te::qt::plugins::rp::ColorTransformAction::ColorTransformAction(), ComposeBandsAction(), te::qt::plugins::rp::ContrastAction::ContrastAction(), te::qt::plugins::rp::FilterAction::FilterAction(), te::qt::plugins::rp::FusionAction::FusionAction(), te::qt::plugins::rp::AbstractAction::getAction(), te::qt::plugins::rp::MixtureModelAction::MixtureModelAction(), te::qt::plugins::rp::MosaicAction::MosaicAction(), te::qt::plugins::rp::RegisterAction::RegisterAction(), te::qt::plugins::rp::SegmenterAction::SegmenterAction(), and te::qt::plugins::rp::VectorizationAction::VectorizationAction().
|
protectedinherited |
Parent Menu.
Definition at line 138 of file AbstractAction.h.
|
protectedinherited |
Action used to call the process from pop up layer.
Definition at line 141 of file AbstractAction.h.
|
protectedinherited |
Parent popMenu.
Definition at line 139 of file AbstractAction.h.