ToolMap
|
The panel used for setting the snapping. More...
#include <snapping_panel.h>
Public Member Functions | |
Snapping_PANEL (wxWindow *parent, wxWindowID id, wxAuiManager *auimanager) | |
Snapping panel constructor. | |
void | SetDataBase (DataBaseTM *database) |
void | SetRendererRef (tmRenderer *renderer) |
void | LoadSnappingStatus () |
Load the snapping from database. | |
bool | SaveSnappingStatus () |
Save snapping status to the database. | |
void | OnAddSnapping (wxCommandEvent &event) |
Called when user press add snapping. | |
void | OnRemoveSnapping (wxCommandEvent &event) |
Called when user press remove snapping. | |
void | OnUpdateUIContextualMenuAdd (wxUpdateUIEvent &event) |
void | OnUpdateUIContextualMenuRemove (wxUpdateUIEvent &event) |
tmSnappingMemory * | GetSnappingMemoryRef () |
Public Member Functions inherited from ManagedAuiWnd | |
ManagedAuiWnd (wxAuiManager *AuiManager) | |
void | AddManagedPane (wxWindow *window, const wxAuiPaneInfo &paneinfo, bool bShow=FALSE) |
void | ShowPanel () |
void | HidePanel () |
bool | IsPanelShown () |
Additional Inherited Members | |
Protected Member Functions inherited from ManagedAuiWnd | |
void | InitValues () |
Protected Attributes inherited from ManagedAuiWnd | |
wxAuiManager * | m_AuiMgr |
wxString | m_AuiPanelName |
The panel used for setting the snapping.
Snapping_PANEL::Snapping_PANEL | ( | wxWindow * | parent, |
wxWindowID | id, | ||
wxAuiManager * | auimanager | ||
) |
Snapping panel constructor.
void Snapping_PANEL::LoadSnappingStatus | ( | ) |
Load the snapping from database.
Call the Snapping_PANEL::SetDataBase() function before
void Snapping_PANEL::OnAddSnapping | ( | wxCommandEvent & | event | ) |
Called when user press add snapping.
void Snapping_PANEL::OnRemoveSnapping | ( | wxCommandEvent & | event | ) |
Called when user press remove snapping.
bool Snapping_PANEL::SaveSnappingStatus | ( | ) |
Save snapping status to the database.
Layers used for snapping were allready saved, we must save now the snapping staus for those layers