OpenCPN Partial API docs
TrackPropDlg Class Reference

Class TrackPropDlg. More...

#include <TrackPropDlg.h>

Inheritance diagram for TrackPropDlg:

Public Member Functions

void m_hyperlink1OnContextMenu (wxMouseEvent &event)
 
void SetTrackAndUpdate (Track *pt)
 
bool UpdateProperties ()
 
void InitializeList ()
 
TrackGetTrack ()
 
void RecalculateSize (void)
 
void m_hyperlinkContextMenu (wxMouseEvent &event)
 

Static Public Member Functions

static TrackPropDlggetInstance (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Track properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(680, 440), long style=FRAME_WITH_LINKS_STYLE)
 
static bool getInstanceFlag ()
 

Public Attributes

Trackm_pTrack
 

Protected Member Functions

void OnCancelBtnClick (wxCommandEvent &event)
 
void OnOKBtnClick (wxCommandEvent &event)
 
void OnPrintBtnClick (wxCommandEvent &event)
 
void OnSplitBtnClick (wxCommandEvent &event)
 
void OnExtendBtnClick (wxCommandEvent &event)
 
void OnToRouteBtnClick (wxCommandEvent &event)
 
void OnExportBtnClick (wxCommandEvent &event)
 
void OnTrackPropCopyTxtClick (wxCommandEvent &event)
 
void OnTrackPropListClick (wxListEvent &event)
 
void OnTrackPropRightClick (wxListEvent &event)
 
void OnTrackPropMenuSelected (wxCommandEvent &event)
 
void OnDeleteLink (wxCommandEvent &event)
 
void OnEditLink (wxCommandEvent &event)
 
void OnAddLink (wxCommandEvent &event)
 
void OnEditLinkToggle (wxCommandEvent &event)
 
void OnShowTimeTZ (wxCommandEvent &event)
 
void CreateControls (void)
 
void CreateControlsCompact (void)
 

Protected Attributes

wxNotebook * m_notebook1
 
wxScrolledWindow * m_panelBasic
 
wxStaticText * m_stName
 
wxTextCtrl * m_tName
 
wxStaticText * m_stFrom
 
wxTextCtrl * m_tFrom
 
wxStaticText * m_stTo
 
wxTextCtrl * m_tTo
 
wxCheckBox * m_cbShow
 
wxStaticText * m_stColor
 
wxChoice * m_cColor
 
wxStaticText * m_stStyle
 
wxChoice * m_cStyle
 
wxStaticText * m_stWidth
 
wxChoice * m_cWidth
 
wxStaticText * m_stTotDistance
 
wxTextCtrl * m_tTotDistance
 
wxStaticText * m_stAvgSpeed
 
wxTextCtrl * m_tAvgSpeed
 
wxStaticText * m_stTimeEnroute
 
wxTextCtrl * m_tTimeEnroute
 
wxStaticText * m_stShowTime
 
wxRadioButton * m_rbShowTimeUTC
 
wxRadioButton * m_rbShowTimePC
 
wxRadioButton * m_rbShowTimeLocal
 
OCPNTrackListCtrlm_lcPoints
 
wxScrolledWindow * m_panelAdvanced
 
wxStaticText * m_stDescription
 
wxTextCtrl * m_tDescription
 
wxScrolledWindow * m_scrolledWindowLinks
 
wxHyperlinkCtrl * m_hyperlink1
 
wxMenu * m_menuLink
 
wxButton * m_buttonAddLink
 
wxToggleButton * m_toggleBtnEdit
 
wxStaticText * m_staticTextEditEnabled
 
wxStdDialogButtonSizer * m_sdbBtmBtnsSizer
 
wxButton * m_sdbBtmBtnsSizerOK
 
wxButton * m_sdbBtmBtnsSizerCancel
 
wxStaticBoxSizer * sbSizerLinks
 
wxBoxSizer * bSizerLinks
 
wxButton * m_sdbBtmBtnsSizerPrint
 
wxButton * m_sdbBtmBtnsSizerSplit
 
wxButton * m_sdbBtmBtnsSizerExtend
 
wxButton * m_sdbBtmBtnsSizerToRoute
 
wxButton * m_sdbBtmBtnsSizerExport
 
wxMenuItem * m_menuItemEdit
 
wxMenuItem * m_menuItemAdd
 
wxMenuItem * m_menuItemDelete
 
wxScrolledWindow * itemDialog1
 
bool m_bcompact
 

Detailed Description

Class TrackPropDlg.

Definition at line 93 of file TrackPropDlg.h.

Member Function Documentation

◆ OnDeleteLink()

void TrackPropDlg::OnDeleteLink ( wxCommandEvent &  event)
protected

m_scrolledWindowLinks->DestroyChildren();

Definition at line 1493 of file TrackPropDlg.cpp.

◆ UpdateProperties()

bool TrackPropDlg::UpdateProperties ( )

m_scrolledWindowLinks->DestroyChildren();

Definition at line 1080 of file TrackPropDlg.cpp.


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