ToolMap
Loading...
Searching...
No Matches
Snapping_PANEL Class Reference

The panel used for setting the snapping. More...

#include <snapping_panel.h>

Inheritance diagram for Snapping_PANEL:
ManagedAuiWnd

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)
 
tmSnappingMemoryGetSnappingMemoryRef ()
 
- 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
 

Detailed Description

The panel used for setting the snapping.

Author
Lucien Schreiber (c) CREALP 2009
Date
19 January 2009

Constructor & Destructor Documentation

◆ Snapping_PANEL()

Snapping_PANEL::Snapping_PANEL ( wxWindow *  parent,
wxWindowID  id,
wxAuiManager *  auimanager 
)

Snapping panel constructor.

Author
Lucien Schreiber (c) CREALP 2008
Date
19 January 2009

Member Function Documentation

◆ LoadSnappingStatus()

void Snapping_PANEL::LoadSnappingStatus ( )

Load the snapping from database.

Call the Snapping_PANEL::SetDataBase() function before

Returns
true if snapping status was loaded successfully
Author
Lucien Schreiber (c) CREALP 2009
Date
19 January 2009

◆ OnAddSnapping()

void Snapping_PANEL::OnAddSnapping ( wxCommandEvent &  event)

Called when user press add snapping.

Author
Lucien Schreiber (c) CREALP 2009
Date
20 January 2009

◆ OnRemoveSnapping()

void Snapping_PANEL::OnRemoveSnapping ( wxCommandEvent &  event)

Called when user press remove snapping.

Author
Lucien Schreiber (c) CREALP 2009
Date
20 January 2009

◆ SaveSnappingStatus()

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

Returns
true if snapping status was saved successfully
Author
Lucien Schreiber (c) CREALP 2009
Date
21 January 2009

The documentation for this class was generated from the following files: