OpenCPN Partial API docs
Loading...
Searching...
No Matches
RoutePropDlgImpl Class Reference
Inheritance diagram for RoutePropDlgImpl:
RoutePropDlg

Public Member Functions

void SetRouteAndUpdate (Route *pR, bool only_points=FALSE)
 
RouteGetRoute (void)
 
void SetEnroutePoint (RoutePoint *rp)
 
void UpdatePoints ()
 
void SetColorScheme (ColorScheme cs)
 
void RecalculateSize (void)
 
- Public Member Functions inherited from RoutePropDlg
 RoutePropDlg (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Route Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(550, 450), long style=wxDEFAULT_FRAME_STYLE|wxFRAME_FLOAT_ON_PARENT|wxTAB_TRAVERSAL)
 
void m_hyperlink1OnContextMenu (wxMouseEvent &event)
 
void m_scrolledWindowLinksOnContextMenu (wxMouseEvent &event)
 
void OnKeyChar (wxKeyEvent &event)
 

Static Public Member Functions

static RoutePropDlgImplgetInstance (wxWindow *parent)
 
static bool getInstanceFlag ()
 

Protected Member Functions

void RoutePropDlgOnClose (wxCloseEvent &event)
 
void RoutePropDlgOnSize (wxSizeEvent &event)
 
void RoutePropDlgOnNotebookPageChanged (wxNotebookEvent &event)
 
void PlanSpeedOnKillFocus (wxFocusEvent &event)
 
void PlanSpeedOnTextEnter (wxCommandEvent &event)
 
void DepartureDateOnDateChanged (wxDateEvent &event)
 
void DepartureTimeOnTimeChanged (wxDateEvent &event)
 
void TimezoneOnChoice (wxCommandEvent &event)
 
void WaypointsOnDataViewListCtrlItemContextMenu (wxDataViewEvent &event)
 
void WaypointsOnDataViewListCtrlItemEditingDone (wxDataViewEvent &event)
 
void WaypointsOnDataViewListCtrlItemValueChanged (wxDataViewEvent &event)
 
void WaypointsOnDataViewListCtrlSelectionChanged (wxDataViewEvent &event)
 
void PrintOnButtonClick (wxCommandEvent &event)
 
void ExtendOnButtonClick (wxCommandEvent &event)
 
void SplitOnButtonClick (wxCommandEvent &event)
 
void BtnsOnCancelButtonClick (wxCommandEvent &event)
 
void BtnsOnOKButtonClick (wxCommandEvent &event)
 
void OnRoutePropMenuSelected (wxCommandEvent &event)
 
void OnRoutepropCopyTxtClick (wxCommandEvent &event)
 
void ItemEditOnMenuSelection (wxCommandEvent &event)
 
void ItemAddOnMenuSelection (wxCommandEvent &event)
 
void ItemDeleteOnMenuSelection (wxCommandEvent &event)
 
void AddLinkOnButtonClick (wxCommandEvent &event)
 
void BtnEditOnToggleButton (wxCommandEvent &event)
 
void OnHyperlinkClick (wxHyperlinkEvent &event)
 
void HyperlinkContextMenu (wxMouseEvent &event)
 
void m_scrolledWindowLinksOnContextMenu (wxMouseEvent &event)
 
wxDateTime GetDepartureTS ()
 
void SaveChanges ()
 
void ResetChanges ()
 
void OnActivate (wxActivateEvent &event)
 
 RoutePropDlgImpl (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Route Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(550, 450), long style=FRAME_WITH_LINKS_STYLE)
 
virtual void RoutePropDlgOnClose (wxCloseEvent &event)
 
virtual void RoutePropDlgOnSize (wxSizeEvent &event)
 
virtual void RoutePropDlgOnNotebookPageChanged (wxNotebookEvent &event)
 
virtual void PlanSpeedOnKillFocus (wxFocusEvent &event)
 
virtual void PlanSpeedOnTextEnter (wxCommandEvent &event)
 
virtual void DepartureDateOnDateChanged (wxDateEvent &event)
 
virtual void DepartureTimeOnTimeChanged (wxDateEvent &event)
 
virtual void TimezoneOnChoice (wxCommandEvent &event)
 
virtual void WaypointsOnDataViewListCtrlItemContextMenu (wxDataViewEvent &event)
 
virtual void WaypointsOnDataViewListCtrlItemEditingDone (wxDataViewEvent &event)
 
virtual void WaypointsOnDataViewListCtrlItemValueChanged (wxDataViewEvent &event)
 
virtual void WaypointsOnDataViewListCtrlSelectionChanged (wxDataViewEvent &event)
 
virtual void ItemEditOnMenuSelection (wxCommandEvent &event)
 
virtual void ItemAddOnMenuSelection (wxCommandEvent &event)
 
virtual void ItemDeleteOnMenuSelection (wxCommandEvent &event)
 
virtual void AddLinkOnButtonClick (wxCommandEvent &event)
 
virtual void BtnEditOnToggleButton (wxCommandEvent &event)
 
virtual void PrintOnButtonClick (wxCommandEvent &event)
 
virtual void ExtendOnButtonClick (wxCommandEvent &event)
 
virtual void SplitOnButtonClick (wxCommandEvent &event)
 
virtual void BtnsOnCancelButtonClick (wxCommandEvent &event)
 
virtual void BtnsOnOKButtonClick (wxCommandEvent &event)
 

Additional Inherited Members

- Protected Attributes inherited from RoutePropDlg
wxNotebook * m_ntbRteProp
 
wxPanel * m_pnlBasic
 
wxStaticText * m_stName
 
wxTextCtrl * m_tcName
 
wxStaticText * m_stFrom
 
wxTextCtrl * m_tcFrom
 
wxStaticText * m_stTo
 
wxTextCtrl * m_tcTo
 
wxStaticText * m_stDistTotal
 
wxTextCtrl * m_tcDistance
 
wxStaticText * m_stPlanSpeed
 
wxTextCtrl * m_tcPlanSpeed
 
wxStaticText * m_stEnroute
 
wxTextCtrl * m_tcEnroute
 
wxStaticText * m_stDeparture
 
wxDatePickerCtrl * m_dpDepartureDate
 
wxTimePickerCtrl * m_tpDepartureTime
 
wxStaticText * m_stTimeZone
 
wxChoice * m_choiceTimezone
 
wxStaticText * m_staticTextColor
 
wxChoice * m_choiceColor
 
wxStaticText * m_stStyle
 
wxChoice * m_choiceStyle
 
wxStaticText * m_stWidth
 
wxChoice * m_choiceWidth
 
wxDataViewListCtrl * m_dvlcWaypoints
 
wxDataViewColumn * m_dataViewListColumnLeg
 
wxDataViewColumn * m_dataViewListColumnToWpt
 
wxDataViewColumn * m_dataViewListColumnDistance
 
wxDataViewColumn * m_dataViewListColumnBearing
 
wxDataViewColumn * m_dataViewListColumnTotalDistance
 
wxDataViewColumn * m_dataViewListColumnLat
 
wxDataViewColumn * m_dataViewListColumnLon
 
wxDataViewColumn * m_dataViewListColumnETE
 
wxDataViewColumn * m_dataViewListColumnETA
 
wxDataViewColumn * m_dataViewListColumnSpeed
 
wxDataViewColumn * m_dataViewListColumnNTE
 
wxDataViewColumn * m_dataViewListColumnDesc
 
wxDataViewColumn * m_dataViewListColumnCourse
 
wxDataViewColumn * m_dataViewListColumnETD
 
wxDataViewColumn * m_dataViewListColumnEmpty
 
wxPanel * m_pnlAdvanced
 
wxStaticText * m_stDescription
 
wxTextCtrl * m_tcDescription
 
wxScrolledWindow * m_scrolledWindowLinks
 
wxBoxSizer * bSizerLinks
 
wxHyperlinkCtrl * m_hyperlink1
 
wxMenu * m_menuLink
 
wxButton * m_btnAddLink
 
wxToggleButton * m_toggleBtnEdit
 
wxStaticText * m_stEditEnabled
 
wxMenu * m_menuLinks
 
wxButton * m_btnPrint
 
wxButton * m_btnExtend
 
wxButton * m_btnSplit
 
wxStdDialogButtonSizer * m_sdbSizerBtns
 
wxButton * m_sdbSizerBtnsOK
 
wxButton * m_sdbSizerBtnsCancel
 

Detailed Description

Definition at line 37 of file RoutePropDlgImpl.h.

Constructor & Destructor Documentation

◆ ~RoutePropDlgImpl()

RoutePropDlgImpl::~RoutePropDlgImpl ( )

Definition at line 264 of file RoutePropDlgImpl.cpp.

◆ RoutePropDlgImpl()

RoutePropDlgImpl::RoutePropDlgImpl ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxString &  title = _("Route Properties"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(550, 450),
long  style = FRAME_WITH_LINKS_STYLE 
)
protected

Definition at line 232 of file RoutePropDlgImpl.cpp.

Member Function Documentation

◆ AddLinkOnButtonClick()

void RoutePropDlgImpl::AddLinkOnButtonClick ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from RoutePropDlg.

Definition at line 1315 of file RoutePropDlgImpl.cpp.

◆ BtnEditOnToggleButton()

void RoutePropDlgImpl::BtnEditOnToggleButton ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from RoutePropDlg.

Definition at line 1350 of file RoutePropDlgImpl.cpp.

◆ BtnsOnCancelButtonClick()

void RoutePropDlgImpl::BtnsOnCancelButtonClick ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented from RoutePropDlg.

Definition at line 73 of file RoutePropDlgImpl.h.

◆ BtnsOnOKButtonClick()

void RoutePropDlgImpl::BtnsOnOKButtonClick ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from RoutePropDlg.

Definition at line 1030 of file RoutePropDlgImpl.cpp.

◆ DepartureDateOnDateChanged()

void RoutePropDlgImpl::DepartureDateOnDateChanged ( wxDateEvent &  event)
protectedvirtual

Reimplemented from RoutePropDlg.

Definition at line 656 of file RoutePropDlgImpl.cpp.

◆ DepartureTimeOnTimeChanged()

void RoutePropDlgImpl::DepartureTimeOnTimeChanged ( wxDateEvent &  event)
protectedvirtual

Reimplemented from RoutePropDlg.

Definition at line 663 of file RoutePropDlgImpl.cpp.

◆ ExtendOnButtonClick()

void RoutePropDlgImpl::ExtendOnButtonClick ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from RoutePropDlg.

Definition at line 1084 of file RoutePropDlgImpl.cpp.

◆ GetDepartureTS()

wxDateTime RoutePropDlgImpl::GetDepartureTS ( )
protected

Definition at line 788 of file RoutePropDlgImpl.cpp.

◆ getInstance()

RoutePropDlgImpl * RoutePropDlgImpl::getInstance ( wxWindow *  parent)
static

Definition at line 277 of file RoutePropDlgImpl.cpp.

◆ getInstanceFlag()

bool RoutePropDlgImpl::getInstanceFlag ( )
static

Definition at line 272 of file RoutePropDlgImpl.cpp.

◆ GetRoute()

Route * RoutePropDlgImpl::GetRoute ( void  )
inline

Definition at line 43 of file RoutePropDlgImpl.h.

◆ HyperlinkContextMenu()

void RoutePropDlgImpl::HyperlinkContextMenu ( wxMouseEvent &  event)
protected

Definition at line 1408 of file RoutePropDlgImpl.cpp.

◆ ItemAddOnMenuSelection()

void RoutePropDlgImpl::ItemAddOnMenuSelection ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from RoutePropDlg.

Definition at line 1248 of file RoutePropDlgImpl.cpp.

◆ ItemDeleteOnMenuSelection()

void RoutePropDlgImpl::ItemDeleteOnMenuSelection ( wxCommandEvent &  event)
protectedvirtual

m_scrolledWindowLinks->DestroyChildren();

Reimplemented from RoutePropDlg.

Definition at line 1252 of file RoutePropDlgImpl.cpp.

◆ ItemEditOnMenuSelection()

void RoutePropDlgImpl::ItemEditOnMenuSelection ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from RoutePropDlg.

Definition at line 1202 of file RoutePropDlgImpl.cpp.

◆ OnActivate()

void RoutePropDlgImpl::OnActivate ( wxActivateEvent &  event)
protected

Definition at line 285 of file RoutePropDlgImpl.cpp.

◆ OnHyperlinkClick()

void RoutePropDlgImpl::OnHyperlinkClick ( wxHyperlinkEvent &  event)
protected

Definition at line 1359 of file RoutePropDlgImpl.cpp.

◆ OnRoutepropCopyTxtClick()

void RoutePropDlgImpl::OnRoutepropCopyTxtClick ( wxCommandEvent &  event)
protected

Definition at line 799 of file RoutePropDlgImpl.cpp.

◆ OnRoutePropMenuSelected()

void RoutePropDlgImpl::OnRoutePropMenuSelected ( wxCommandEvent &  event)
protected

Definition at line 845 of file RoutePropDlgImpl.cpp.

◆ PlanSpeedOnKillFocus()

void RoutePropDlgImpl::PlanSpeedOnKillFocus ( wxFocusEvent &  event)
protectedvirtual

Reimplemented from RoutePropDlg.

Definition at line 697 of file RoutePropDlgImpl.cpp.

◆ PlanSpeedOnTextEnter()

void RoutePropDlgImpl::PlanSpeedOnTextEnter ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from RoutePropDlg.

Definition at line 683 of file RoutePropDlgImpl.cpp.

◆ PrintOnButtonClick()

void RoutePropDlgImpl::PrintOnButtonClick ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from RoutePropDlg.

Definition at line 1075 of file RoutePropDlgImpl.cpp.

◆ RecalculateSize()

void RoutePropDlgImpl::RecalculateSize ( void  )

Definition at line 294 of file RoutePropDlgImpl.cpp.

◆ ResetChanges()

void RoutePropDlgImpl::ResetChanges ( )
protected

Definition at line 984 of file RoutePropDlgImpl.cpp.

◆ RoutePropDlgOnClose()

void RoutePropDlgImpl::RoutePropDlgOnClose ( wxCloseEvent &  event)
inlineprotectedvirtual

Reimplemented from RoutePropDlg.

Definition at line 51 of file RoutePropDlgImpl.h.

◆ RoutePropDlgOnNotebookPageChanged()

void RoutePropDlgImpl::RoutePropDlgOnNotebookPageChanged ( wxNotebookEvent &  event)
inlineprotectedvirtual

Reimplemented from RoutePropDlg.

Definition at line 58 of file RoutePropDlgImpl.h.

◆ RoutePropDlgOnSize()

void RoutePropDlgImpl::RoutePropDlgOnSize ( wxSizeEvent &  event)
inlineprotectedvirtual

Reimplemented from RoutePropDlg.

Definition at line 57 of file RoutePropDlgImpl.h.

◆ SaveChanges()

void RoutePropDlgImpl::SaveChanges ( )
protected

Definition at line 991 of file RoutePropDlgImpl.cpp.

◆ SetColorScheme()

void RoutePropDlgImpl::SetColorScheme ( ColorScheme  cs)

Definition at line 1023 of file RoutePropDlgImpl.cpp.

◆ SetEnroutePoint()

void RoutePropDlgImpl::SetEnroutePoint ( RoutePoint rp)
inline

Definition at line 44 of file RoutePropDlgImpl.h.

◆ SetRouteAndUpdate()

void RoutePropDlgImpl::SetRouteAndUpdate ( Route pR,
bool  only_points = FALSE 
)

Definition at line 504 of file RoutePropDlgImpl.cpp.

◆ SplitOnButtonClick()

void RoutePropDlgImpl::SplitOnButtonClick ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from RoutePropDlg.

Definition at line 1039 of file RoutePropDlgImpl.cpp.

◆ TimezoneOnChoice()

void RoutePropDlgImpl::TimezoneOnChoice ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from RoutePropDlg.

Definition at line 670 of file RoutePropDlgImpl.cpp.

◆ UpdatePoints()

void RoutePropDlgImpl::UpdatePoints ( )

Definition at line 312 of file RoutePropDlgImpl.cpp.

◆ WaypointsOnDataViewListCtrlItemContextMenu()

void RoutePropDlgImpl::WaypointsOnDataViewListCtrlItemContextMenu ( wxDataViewEvent &  event)
protectedvirtual

Reimplemented from RoutePropDlg.

Definition at line 923 of file RoutePropDlgImpl.cpp.

◆ WaypointsOnDataViewListCtrlItemEditingDone()

void RoutePropDlgImpl::WaypointsOnDataViewListCtrlItemEditingDone ( wxDataViewEvent &  event)
protectedvirtual

Reimplemented from RoutePropDlg.

Definition at line 713 of file RoutePropDlgImpl.cpp.

◆ WaypointsOnDataViewListCtrlItemValueChanged()

void RoutePropDlgImpl::WaypointsOnDataViewListCtrlItemValueChanged ( wxDataViewEvent &  event)
protectedvirtual

Reimplemented from RoutePropDlg.

Definition at line 721 of file RoutePropDlgImpl.cpp.

◆ WaypointsOnDataViewListCtrlSelectionChanged()

void RoutePropDlgImpl::WaypointsOnDataViewListCtrlSelectionChanged ( wxDataViewEvent &  event)
protectedvirtual

Reimplemented from RoutePropDlg.

Definition at line 763 of file RoutePropDlgImpl.cpp.


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