wxArt2D
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
a2dMeasureDlg Class Reference

#include <sttoolmes.h>

Inheritance diagram for a2dMeasureDlg:
Inheritance graph
[legend]
Collaboration diagram for a2dMeasureDlg:
Collaboration graph
[legend]

Public Member Functions

 a2dMeasureDlg ()
 Constructors. More...
 
 a2dMeasureDlg (a2dHabitat *habitat, wxWindow *parent, wxWindowID id=-1, const wxString &caption=SYMBOL_A2DMEASUREDLG_TITLE, const wxPoint &pos=SYMBOL_A2DMEASUREDLG_POSITION, const wxSize &size=SYMBOL_A2DMEASUREDLG_SIZE, long style=SYMBOL_A2DMEASUREDLG_STYLE)
 
bool Create (wxWindow *parent, wxWindowID id=-1, const wxString &caption=SYMBOL_A2DMEASUREDLG_TITLE, const wxPoint &pos=SYMBOL_A2DMEASUREDLG_POSITION, const wxSize &size=SYMBOL_A2DMEASUREDLG_SIZE, long style=SYMBOL_A2DMEASUREDLG_STYLE)
 Creation. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
void OnCloseWindow (wxCloseEvent &event)
 wxEVT_CLOSE_WINDOW event handler for ID_DIALOG More...
 
void OnIdle (wxIdleEvent &event)
 wxEVT_IDLE event handler for ID_DIALOG More...
 
void OnXEnter (wxCommandEvent &event)
 wxEVT_COMMAND_TEXT_ENTER event handler for ID_X More...
 
void OnXUpdate (wxUpdateUIEvent &event)
 wxEVT_UPDATE_UI event handler for ID_X More...
 
void OnYEnter (wxCommandEvent &event)
 wxEVT_COMMAND_TEXT_ENTER event handler for ID_Y More...
 
void OnYUpdate (wxUpdateUIEvent &event)
 wxEVT_UPDATE_UI event handler for ID_Y More...
 
void OnListboxSelected (wxCommandEvent &event)
 wxEVT_COMMAND_LISTBOX_SELECTED event handler for ID_LISTBOX More...
 
void OnListboxUpdate (wxUpdateUIEvent &event)
 wxEVT_UPDATE_UI event handler for ID_LISTBOX More...
 
void OnHideClick (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_HIDE More...
 
void OnClearClick (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_CLEAR More...
 
void OnSumUpdate (wxUpdateUIEvent &event)
 wxEVT_UPDATE_UI event handler for ID_SUM More...
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
void AppendMeasure (double x, double y)
 
void OnComEvent (a2dComEvent &event)
 
void OnDoEvent (a2dCommandProcessorEvent &event)
 

Static Public Member Functions

static bool ShowToolTips ()
 Should we show tooltips? More...
 

Public Attributes

wxTextCtrl * m_x
 
wxTextCtrl * m_y
 
wxListBox * m_lb
 
wxButton * m_hide
 
wxButton * m_clear
 
wxTextCtrl * m_sum
 
a2dVertexList m_vertexes
 
a2dHabitatm_habitat
 

Detailed Description

a2dMeasureDlg class declaration

Definition at line 47 of file sttoolmes.h.

Constructor & Destructor Documentation

a2dMeasureDlg::a2dMeasureDlg ( )

Constructors.

a2dMeasureDlg type definition

a2dMeasureDlg event table definition

a2dMeasureDlg constructors

Definition at line 70 of file sttoolmes.cpp.

Member Function Documentation

bool a2dMeasureDlg::Create ( wxWindow *  parent,
wxWindowID  id = -1,
const wxString &  caption = SYMBOL_A2DMEASUREDLG_TITLE,
const wxPoint &  pos = SYMBOL_A2DMEASUREDLG_POSITION,
const wxSize &  size = SYMBOL_A2DMEASUREDLG_SIZE,
long  style = SYMBOL_A2DMEASUREDLG_STYLE 
)

Creation.

a2dMeasureDlg creator

Definition at line 93 of file sttoolmes.cpp.

void a2dMeasureDlg::CreateControls ( )

Creates the controls and sizers.

Control creation for a2dMeasureDlg

Definition at line 116 of file sttoolmes.cpp.

wxBitmap a2dMeasureDlg::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 180 of file sttoolmes.cpp.

wxIcon a2dMeasureDlg::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 189 of file sttoolmes.cpp.

void a2dMeasureDlg::OnClearClick ( wxCommandEvent &  event)

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_CLEAR

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_CLEAR

Definition at line 292 of file sttoolmes.cpp.

void a2dMeasureDlg::OnCloseWindow ( wxCloseEvent &  event)

wxEVT_CLOSE_WINDOW event handler for ID_DIALOG

wxEVT_CLOSE_WINDOW event handler for ID_DIALOG

Definition at line 313 of file sttoolmes.cpp.

void a2dMeasureDlg::OnHideClick ( wxCommandEvent &  event)

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_HIDE

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_HIDE

Definition at line 283 of file sttoolmes.cpp.

void a2dMeasureDlg::OnIdle ( wxIdleEvent &  event)

wxEVT_IDLE event handler for ID_DIALOG

wxEVT_IDLE event handler for ID_DIALOG

Definition at line 322 of file sttoolmes.cpp.

void a2dMeasureDlg::OnListboxSelected ( wxCommandEvent &  event)

wxEVT_COMMAND_LISTBOX_SELECTED event handler for ID_LISTBOX

wxEVT_COMMAND_LISTBOX_SELECTED event handler for ID_LISTBOX

Definition at line 265 of file sttoolmes.cpp.

void a2dMeasureDlg::OnListboxUpdate ( wxUpdateUIEvent &  event)

wxEVT_UPDATE_UI event handler for ID_LISTBOX

wxEVT_UPDATE_UI event handler for ID_LISTBOX

Definition at line 274 of file sttoolmes.cpp.

void a2dMeasureDlg::OnSumUpdate ( wxUpdateUIEvent &  event)

wxEVT_UPDATE_UI event handler for ID_SUM

wxEVT_UPDATE_UI event handler for ID_SUM

Definition at line 303 of file sttoolmes.cpp.

void a2dMeasureDlg::OnXEnter ( wxCommandEvent &  event)

wxEVT_COMMAND_TEXT_ENTER event handler for ID_X

wxEVT_COMMAND_TEXT_ENTER event handler for ID_X

Definition at line 197 of file sttoolmes.cpp.

void a2dMeasureDlg::OnXUpdate ( wxUpdateUIEvent &  event)

wxEVT_UPDATE_UI event handler for ID_X

wxEVT_UPDATE_UI event handler for ID_X

Definition at line 222 of file sttoolmes.cpp.

void a2dMeasureDlg::OnYEnter ( wxCommandEvent &  event)

wxEVT_COMMAND_TEXT_ENTER event handler for ID_Y

wxEVT_COMMAND_TEXT_ENTER event handler for ID_Y

Definition at line 231 of file sttoolmes.cpp.

void a2dMeasureDlg::OnYUpdate ( wxUpdateUIEvent &  event)

wxEVT_UPDATE_UI event handler for ID_Y

wxEVT_UPDATE_UI event handler for ID_Y

Definition at line 256 of file sttoolmes.cpp.

bool a2dMeasureDlg::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 171 of file sttoolmes.cpp.


The documentation for this class was generated from the following files:
a2dMeasureDlg Class Reference -- Sun Oct 12 2014 17:04:43 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . -- Main Page Reference Documentation