This class register the contrast action into Attribute Fill Plugin. More...
#include <RasterToVectorAction.h>
Public Member Functions | |
QAction * | getAction () |
RasterToVectorAction (QMenu *menu) | |
virtual | ~RasterToVectorAction () |
Protected Slots | |
virtual void | onActionActivated (bool checked) |
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... | |
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... | |
This class register the contrast action into Attribute Fill Plugin.
Definition at line 47 of file RasterToVectorAction.h.
te::qt::plugins::attributefill::RasterToVectorAction::RasterToVectorAction | ( | QMenu * | menu | ) |
Definition at line 40 of file RasterToVectorAction.cpp.
References te::qt::plugins::attributefill::AbstractAction::createAction(), and te::qt::plugins::attributefill::AbstractAction::m_action.
|
virtual |
Definition at line 47 of file RasterToVectorAction.cpp.
|
protectedinherited |
Add a new layer into layer explorer widget.
layer | The layer auto pointer |
Definition at line 59 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 43 of file AbstractAction.cpp.
Referenced by RasterToVectorAction(), te::qt::plugins::attributefill::VectorToRasterAction::VectorToRasterAction(), and te::qt::plugins::attributefill::VectorToVectorAction::VectorToVectorAction().
|
inlineinherited |
Definition at line 115 of file AbstractAction.h.
References te::qt::plugins::attributefill::AbstractAction::m_action.
|
protectedinherited |
Get the selected layer from layer explorer in app.
Definition at line 66 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 85 of file AbstractAction.cpp.
References te::qt::af::Project::getAllLayers(), and te::common::Singleton< ApplicationController >::getInstance().
|
protectedvirtualslot |
|
protectedinherited |
Action used to call the process.
Definition at line 123 of file AbstractAction.h.
Referenced by te::qt::plugins::attributefill::AbstractAction::getAction(), RasterToVectorAction(), te::qt::plugins::attributefill::VectorToRasterAction::VectorToRasterAction(), and te::qt::plugins::attributefill::VectorToVectorAction::VectorToVectorAction().
|
protectedinherited |
Parent Menu.
Definition at line 122 of file AbstractAction.h.