OpenCPN Partial API docs
Loading...
Searching...
No Matches
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 87 of file TrackPropDlg.h.

Constructor & Destructor Documentation

◆ ~TrackPropDlg()

TrackPropDlg::~TrackPropDlg ( )

Definition at line 195 of file TrackPropDlg.cpp.

Member Function Documentation

◆ CreateControls()

void TrackPropDlg::CreateControls ( void  )
protected

Definition at line 625 of file TrackPropDlg.cpp.

◆ CreateControlsCompact()

void TrackPropDlg::CreateControlsCompact ( void  )
protected

Definition at line 314 of file TrackPropDlg.cpp.

◆ getInstance()

TrackPropDlg * TrackPropDlg::getInstance ( 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

Definition at line 93 of file TrackPropDlg.cpp.

◆ getInstanceFlag()

static bool TrackPropDlg::getInstanceFlag ( )
inlinestatic

Definition at line 195 of file TrackPropDlg.h.

◆ GetTrack()

Track * TrackPropDlg::GetTrack ( )
inline

Definition at line 205 of file TrackPropDlg.h.

◆ InitializeList()

void TrackPropDlg::InitializeList ( )

Definition at line 1043 of file TrackPropDlg.cpp.

◆ m_hyperlink1OnContextMenu()

void TrackPropDlg::m_hyperlink1OnContextMenu ( wxMouseEvent &  event)
inline

Definition at line 198 of file TrackPropDlg.h.

◆ m_hyperlinkContextMenu()

void TrackPropDlg::m_hyperlinkContextMenu ( wxMouseEvent &  event)

Definition at line 1458 of file TrackPropDlg.cpp.

◆ OnAddLink()

void TrackPropDlg::OnAddLink ( wxCommandEvent &  event)
protected

Definition at line 1588 of file TrackPropDlg.cpp.

◆ OnCancelBtnClick()

void TrackPropDlg::OnCancelBtnClick ( wxCommandEvent &  event)
protected

Definition at line 1757 of file TrackPropDlg.cpp.

◆ OnDeleteLink()

void TrackPropDlg::OnDeleteLink ( wxCommandEvent &  event)
protected

m_scrolledWindowLinks->DestroyChildren();

Definition at line 1484 of file TrackPropDlg.cpp.

◆ OnEditLink()

void TrackPropDlg::OnEditLink ( wxCommandEvent &  event)
protected

Definition at line 1542 of file TrackPropDlg.cpp.

◆ OnEditLinkToggle()

void TrackPropDlg::OnEditLinkToggle ( wxCommandEvent &  event)
protected

Definition at line 1629 of file TrackPropDlg.cpp.

◆ OnExportBtnClick()

void TrackPropDlg::OnExportBtnClick ( wxCommandEvent &  event)
protected

Definition at line 1450 of file TrackPropDlg.cpp.

◆ OnExtendBtnClick()

void TrackPropDlg::OnExtendBtnClick ( wxCommandEvent &  event)
protected

Definition at line 1279 of file TrackPropDlg.cpp.

◆ OnOKBtnClick()

void TrackPropDlg::OnOKBtnClick ( wxCommandEvent &  event)
protected

Definition at line 1732 of file TrackPropDlg.cpp.

◆ OnPrintBtnClick()

void TrackPropDlg::OnPrintBtnClick ( wxCommandEvent &  event)
protected

Definition at line 1383 of file TrackPropDlg.cpp.

◆ OnShowTimeTZ()

void TrackPropDlg::OnShowTimeTZ ( wxCommandEvent &  event)
protected

Definition at line 1689 of file TrackPropDlg.cpp.

◆ OnSplitBtnClick()

void TrackPropDlg::OnSplitBtnClick ( wxCommandEvent &  event)
protected

Definition at line 1302 of file TrackPropDlg.cpp.

◆ OnToRouteBtnClick()

void TrackPropDlg::OnToRouteBtnClick ( wxCommandEvent &  event)
protected

Definition at line 1444 of file TrackPropDlg.cpp.

◆ OnTrackPropCopyTxtClick()

void TrackPropDlg::OnTrackPropCopyTxtClick ( wxCommandEvent &  event)
protected

Definition at line 1336 of file TrackPropDlg.cpp.

◆ OnTrackPropListClick()

void TrackPropDlg::OnTrackPropListClick ( wxListEvent &  event)
protected

Definition at line 1402 of file TrackPropDlg.cpp.

◆ OnTrackPropMenuSelected()

void TrackPropDlg::OnTrackPropMenuSelected ( wxCommandEvent &  event)
protected

Definition at line 1436 of file TrackPropDlg.cpp.

◆ OnTrackPropRightClick()

void TrackPropDlg::OnTrackPropRightClick ( wxListEvent &  event)
protected

Definition at line 1393 of file TrackPropDlg.cpp.

◆ RecalculateSize()

void TrackPropDlg::RecalculateSize ( void  )

Definition at line 272 of file TrackPropDlg.cpp.

◆ SetTrackAndUpdate()

void TrackPropDlg::SetTrackAndUpdate ( Track pt)

Definition at line 1012 of file TrackPropDlg.cpp.

◆ UpdateProperties()

bool TrackPropDlg::UpdateProperties ( )

m_scrolledWindowLinks->DestroyChildren();

Definition at line 1074 of file TrackPropDlg.cpp.

Member Data Documentation

◆ bSizerLinks

wxBoxSizer* TrackPropDlg::bSizerLinks
protected

Definition at line 153 of file TrackPropDlg.h.

◆ itemDialog1

wxScrolledWindow* TrackPropDlg::itemDialog1
protected

Definition at line 165 of file TrackPropDlg.h.

◆ m_bcompact

bool TrackPropDlg::m_bcompact
protected

Definition at line 166 of file TrackPropDlg.h.

◆ m_buttonAddLink

wxButton* TrackPropDlg::m_buttonAddLink
protected

Definition at line 146 of file TrackPropDlg.h.

◆ m_cbShow

wxCheckBox* TrackPropDlg::m_cbShow
protected

Definition at line 122 of file TrackPropDlg.h.

◆ m_cColor

wxChoice* TrackPropDlg::m_cColor
protected

Definition at line 124 of file TrackPropDlg.h.

◆ m_cStyle

wxChoice* TrackPropDlg::m_cStyle
protected

Definition at line 126 of file TrackPropDlg.h.

◆ m_cWidth

wxChoice* TrackPropDlg::m_cWidth
protected

Definition at line 128 of file TrackPropDlg.h.

◆ m_hyperlink1

wxHyperlinkCtrl* TrackPropDlg::m_hyperlink1
protected

Definition at line 144 of file TrackPropDlg.h.

◆ m_lcPoints

OCPNTrackListCtrl* TrackPropDlg::m_lcPoints
protected

Definition at line 139 of file TrackPropDlg.h.

◆ m_menuItemAdd

wxMenuItem* TrackPropDlg::m_menuItemAdd
protected

Definition at line 162 of file TrackPropDlg.h.

◆ m_menuItemDelete

wxMenuItem* TrackPropDlg::m_menuItemDelete
protected

Definition at line 163 of file TrackPropDlg.h.

◆ m_menuItemEdit

wxMenuItem* TrackPropDlg::m_menuItemEdit
protected

Definition at line 161 of file TrackPropDlg.h.

◆ m_menuLink

wxMenu* TrackPropDlg::m_menuLink
protected

Definition at line 145 of file TrackPropDlg.h.

◆ m_notebook1

wxNotebook* TrackPropDlg::m_notebook1
protected

Definition at line 114 of file TrackPropDlg.h.

◆ m_panelAdvanced

wxScrolledWindow* TrackPropDlg::m_panelAdvanced
protected

Definition at line 140 of file TrackPropDlg.h.

◆ m_panelBasic

wxScrolledWindow* TrackPropDlg::m_panelBasic
protected

Definition at line 115 of file TrackPropDlg.h.

◆ m_pTrack

Track* TrackPropDlg::m_pTrack

Definition at line 209 of file TrackPropDlg.h.

◆ m_rbShowTimeLocal

wxRadioButton* TrackPropDlg::m_rbShowTimeLocal
protected

Definition at line 138 of file TrackPropDlg.h.

◆ m_rbShowTimePC

wxRadioButton* TrackPropDlg::m_rbShowTimePC
protected

Definition at line 137 of file TrackPropDlg.h.

◆ m_rbShowTimeUTC

wxRadioButton* TrackPropDlg::m_rbShowTimeUTC
protected

Definition at line 136 of file TrackPropDlg.h.

◆ m_scrolledWindowLinks

wxScrolledWindow* TrackPropDlg::m_scrolledWindowLinks
protected

Definition at line 143 of file TrackPropDlg.h.

◆ m_sdbBtmBtnsSizer

wxStdDialogButtonSizer* TrackPropDlg::m_sdbBtmBtnsSizer
protected

Definition at line 149 of file TrackPropDlg.h.

◆ m_sdbBtmBtnsSizerCancel

wxButton* TrackPropDlg::m_sdbBtmBtnsSizerCancel
protected

Definition at line 151 of file TrackPropDlg.h.

◆ m_sdbBtmBtnsSizerExport

wxButton* TrackPropDlg::m_sdbBtmBtnsSizerExport
protected

Definition at line 159 of file TrackPropDlg.h.

◆ m_sdbBtmBtnsSizerExtend

wxButton* TrackPropDlg::m_sdbBtmBtnsSizerExtend
protected

Definition at line 157 of file TrackPropDlg.h.

◆ m_sdbBtmBtnsSizerOK

wxButton* TrackPropDlg::m_sdbBtmBtnsSizerOK
protected

Definition at line 150 of file TrackPropDlg.h.

◆ m_sdbBtmBtnsSizerPrint

wxButton* TrackPropDlg::m_sdbBtmBtnsSizerPrint
protected

Definition at line 155 of file TrackPropDlg.h.

◆ m_sdbBtmBtnsSizerSplit

wxButton* TrackPropDlg::m_sdbBtmBtnsSizerSplit
protected

Definition at line 156 of file TrackPropDlg.h.

◆ m_sdbBtmBtnsSizerToRoute

wxButton* TrackPropDlg::m_sdbBtmBtnsSizerToRoute
protected

Definition at line 158 of file TrackPropDlg.h.

◆ m_staticTextEditEnabled

wxStaticText* TrackPropDlg::m_staticTextEditEnabled
protected

Definition at line 148 of file TrackPropDlg.h.

◆ m_stAvgSpeed

wxStaticText* TrackPropDlg::m_stAvgSpeed
protected

Definition at line 131 of file TrackPropDlg.h.

◆ m_stColor

wxStaticText* TrackPropDlg::m_stColor
protected

Definition at line 123 of file TrackPropDlg.h.

◆ m_stDescription

wxStaticText* TrackPropDlg::m_stDescription
protected

Definition at line 141 of file TrackPropDlg.h.

◆ m_stFrom

wxStaticText* TrackPropDlg::m_stFrom
protected

Definition at line 118 of file TrackPropDlg.h.

◆ m_stName

wxStaticText* TrackPropDlg::m_stName
protected

Definition at line 116 of file TrackPropDlg.h.

◆ m_stShowTime

wxStaticText* TrackPropDlg::m_stShowTime
protected

Definition at line 135 of file TrackPropDlg.h.

◆ m_stStyle

wxStaticText* TrackPropDlg::m_stStyle
protected

Definition at line 125 of file TrackPropDlg.h.

◆ m_stTimeEnroute

wxStaticText* TrackPropDlg::m_stTimeEnroute
protected

Definition at line 133 of file TrackPropDlg.h.

◆ m_stTo

wxStaticText* TrackPropDlg::m_stTo
protected

Definition at line 120 of file TrackPropDlg.h.

◆ m_stTotDistance

wxStaticText* TrackPropDlg::m_stTotDistance
protected

Definition at line 129 of file TrackPropDlg.h.

◆ m_stWidth

wxStaticText* TrackPropDlg::m_stWidth
protected

Definition at line 127 of file TrackPropDlg.h.

◆ m_tAvgSpeed

wxTextCtrl* TrackPropDlg::m_tAvgSpeed
protected

Definition at line 132 of file TrackPropDlg.h.

◆ m_tDescription

wxTextCtrl* TrackPropDlg::m_tDescription
protected

Definition at line 142 of file TrackPropDlg.h.

◆ m_tFrom

wxTextCtrl* TrackPropDlg::m_tFrom
protected

Definition at line 119 of file TrackPropDlg.h.

◆ m_tName

wxTextCtrl* TrackPropDlg::m_tName
protected

Definition at line 117 of file TrackPropDlg.h.

◆ m_toggleBtnEdit

wxToggleButton* TrackPropDlg::m_toggleBtnEdit
protected

Definition at line 147 of file TrackPropDlg.h.

◆ m_tTimeEnroute

wxTextCtrl* TrackPropDlg::m_tTimeEnroute
protected

Definition at line 134 of file TrackPropDlg.h.

◆ m_tTo

wxTextCtrl* TrackPropDlg::m_tTo
protected

Definition at line 121 of file TrackPropDlg.h.

◆ m_tTotDistance

wxTextCtrl* TrackPropDlg::m_tTotDistance
protected

Definition at line 130 of file TrackPropDlg.h.

◆ sbSizerLinks

wxStaticBoxSizer* TrackPropDlg::sbSizerLinks
protected

Definition at line 152 of file TrackPropDlg.h.


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