Base class for manual entry classes implemented by tools based on TOOL_BASE. More...
#include <mgui/toolbase.h>

Public Member Functions | |
| MANUAL_BASE () | |
| virtual | ~MANUAL_BASE ()=0 |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, TOOL_BASE::CTRLOPT ctrlopt) |
| void | NotifyChange (CHANGESEQ changeseq, CHANGETYPE changetype) |
| void | SetTransToolToMapCRS (const TRANS2D_MAPGEN &ToolToMapCRS) |
Protected Member Functions | |
| const TRANS2D_MAPGEN & | GetToolToDisplayCRS () const |
Private Member Functions | |
| virtual void | v_CreateContent (MGUI::LAYOUT_PANE_BASE &ParentPane)=0 |
| virtual void | v_OnDisplayCoordRefSysChange ()=0 |
| virtual void | v_OnNotifyChange (CHANGESEQ changeseq, CHANGETYPE changetype) |
Base class for manual entry classes implemented by tools based on TOOL_BASE.
| MGUI::TOOL_BASE::MANUAL_BASE::MANUAL_BASE | ( | ) |
Constructor.
| virtual MGUI::TOOL_BASE::MANUAL_BASE::~MANUAL_BASE | ( | ) | [pure virtual] |
Destructor.
| void MGUI::TOOL_BASE::MANUAL_BASE::Create | ( | MGUI::LAYOUT_PANE_BASE & | ParentPane, | |
| TOOL_BASE::CTRLOPT | ctrlopt | |||
| ) |
Create the content for the manual entry form.
| const TRANS2D_MAPGEN& MGUI::TOOL_BASE::MANUAL_BASE::GetToolToDisplayCRS | ( | ) | const [inline, protected] |
Get the current Tool to manual entry Display Coordinate Reference System (CRS).
| void MGUI::TOOL_BASE::MANUAL_BASE::NotifyChange | ( | CHANGESEQ | changeseq, | |
| CHANGETYPE | changetype | |||
| ) | [inline] |
Send notification that "change" action has or will occur.
| changeseq | Sequence | |
| changetype | Type |
| void MGUI::TOOL_BASE::MANUAL_BASE::SetTransToolToMapCRS | ( | const TRANS2D_MAPGEN & | ToolToMapCRS | ) |
Set the transformation between Tool and a Map Coordinate Reference System (CRS) The 'Output' side CRS will be used as the initial display CRS for manual entry fields if not already set.
| virtual void MGUI::TOOL_BASE::MANUAL_BASE::v_CreateContent | ( | MGUI::LAYOUT_PANE_BASE & | ParentPane | ) | [private, pure virtual] |
Virtual method to create the content of the manual entry form specific to each tool.
The CRS selection form will be created AFTER this method is called.
| virtual void MGUI::TOOL_BASE::MANUAL_BASE::v_OnDisplayCoordRefSysChange | ( | ) | [private, pure virtual] |
Called when the user selects a different Display CRS than is currently used.
Allows updating tool coordinates when Display CRS is changed.
| virtual void MGUI::TOOL_BASE::MANUAL_BASE::v_OnNotifyChange | ( | CHANGESEQ | changeseq, | |
| CHANGETYPE | changetype | |||
| ) | [private, virtual] |
Called when change made to tool position, shape, size, etc.
| changeseq | Sequence | |
| changetype | Type |
1.6.1