#include <LayoutEditor.h>
Public Member Functions | |
te::qt::widgets::LayoutEditor * | getLayoutEditor () |
LayoutEditor (te::qt::widgets::LayoutEditor *le) | |
Constructor. More... | |
void | setCurrentTool (te::qt::widgets::AbstractTool *tool) |
Updates the current tool being used on te::qt::widgets::MapDisplay. More... | |
virtual | ~LayoutEditor () |
destructor. More... | |
Protected Slots | |
void | onApplicationTriggered (te::qt::af::evt::Event *e) |
Listener to the application framewrork events. More... | |
Protected Attributes | |
te::qt::widgets::LayoutEditor * | m_layoutEditor |
Pointer to a component te::qt::widgets::LayoutEditor. More... | |
te::qt::widgets::AbstractTool * | m_tool |
Pointer to the current tool being used. More... | |
Definition at line 64 of file LayoutEditor.h.
te::qt::af::LayoutEditor::LayoutEditor | ( | te::qt::widgets::LayoutEditor * | le | ) |
Constructor.
md | te::qt::widgets::MultiThreadMapDisplay to be listened. |
Definition at line 61 of file LayoutEditor.cpp.
References te::common::Singleton< ApplicationController >::getInstance().
|
virtual |
destructor.
Definition at line 75 of file LayoutEditor.cpp.
te::qt::widgets::LayoutEditor * te::qt::af::LayoutEditor::getLayoutEditor | ( | ) |
Definition at line 81 of file LayoutEditor.cpp.
|
protectedslot |
Listener to the application framewrork events.
e | An event sent by framework. |
Definition at line 94 of file LayoutEditor.cpp.
References te::qt::af::evt::DRAW_BUTTON_CLICKED, te::common::Singleton< ApplicationController >::getInstance(), te::qt::af::ApplicationController::getSelectionColor(), te::qt::af::evt::LAYER_SELECTED_OBJECTS_CHANGED, te::qt::af::evt::MapColorChanged::m_color, te::qt::af::evt::Event::m_id, te::qt::af::evt::MAP_COLOR_CHANGED, te::qt::af::evt::PAN_BUTTON_TOGGLED, te::qt::af::evt::SELECTION_BUTTON_TOGGLED, te::qt::af::evt::ZOOM_IN_BUTTON_TOGGLED, and te::qt::af::evt::ZOOM_OUT_BUTTON_TOGGLED.
void te::qt::af::LayoutEditor::setCurrentTool | ( | te::qt::widgets::AbstractTool * | tool | ) |
Updates the current tool being used on te::qt::widgets::MapDisplay.
tool | The new te::qt::widgets::AbstractTool. |
Definition at line 86 of file LayoutEditor.cpp.
|
protected |
Pointer to a component te::qt::widgets::LayoutEditor.
Definition at line 108 of file LayoutEditor.h.
|
protected |
Pointer to the current tool being used.
Definition at line 109 of file LayoutEditor.h.