ToolMap
|
Display a dialog for editing vertex position. More...
#include <editvertex_dlg.h>
Public Member Functions | |
EditVertexDLG (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Edit Vertex"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER) | |
Constructor. | |
~EditVertexDLG () | |
Destructor. | |
virtual bool | TransferDataToWindow () |
Data transfert. | |
virtual bool | TransferDataFromWindow () |
Data transfert. | |
Public Attributes | |
wxArrayRealPoints | m_VertexPts |
long | m_SelectedOID |
int | m_LayerType |
Display a dialog for editing vertex position.
The displayed dialog contain a wxGrid with two columns displaying coordinates. It may be used for lines and for points. The pseudo-code bellow indicate how to use this class
EditVertexDLG::EditVertexDLG | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY , |
||
const wxString & | title = _("Edit Vertex") , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER |
||
) |
Constructor.
EditVertexDLG::~EditVertexDLG | ( | ) |
Destructor.
|
virtual |
Data transfert.
This function is automatically called when dialog is closed
|
virtual |
Data transfert.
This function is automatically called when dialog is diasplayed