OpenCPN Partial API docs
Loading...
Searching...
No Matches
ChartDldrGuiAddSourceDlg Class Reference
Inheritance diagram for ChartDldrGuiAddSourceDlg:
AddSourceDlg

Public Member Functions

 ChartDldrGuiAddSourceDlg (wxWindow *parent)
void SetBasePath (const wxString &path)
void SetSourceEdit (std::unique_ptr< ChartSource > &cs)
Public Member Functions inherited from AddSourceDlg
 AddSourceDlg (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("New chart source"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE)
void OnNbPage (wxNotebookEvent &event)

Protected Member Functions

void OnChangeType (wxCommandEvent &event)
void OnSourceSelected (wxTreeEvent &event) override
void OnOkClick (wxCommandEvent &event) override
void OnCancelClick (wxCommandEvent &event) override
bool LoadSources ()
bool LoadSections (const wxTreeItemId &root, pugi::xml_node &node)
bool LoadSection (const wxTreeItemId &root, pugi::xml_node &node)
bool LoadCatalogs (const wxTreeItemId &root, pugi::xml_node &node)
bool LoadCatalog (const wxTreeItemId &root, pugi::xml_node &node)
Protected Member Functions inherited from AddSourceDlg
void OnDirSelClick (wxCommandEvent &event)
void applyStyle ()

Additional Inherited Members

Public Attributes inherited from AddSourceDlg
wxNotebook * m_nbChoice
wxTreeCtrl * m_treeCtrlPredefSrcs
wxTextCtrl * m_tSourceName
wxTextCtrl * m_tChartSourceUrl
wxTextCtrl * m_tcChartDirectory
DLDR_OCPNChartDirPanel * m_panelChartDirectory
wxButton * m_buttonChartDirectory
wxScrolledWindow * m_sourceswin
wxString m_dirExpanded
Protected Attributes inherited from AddSourceDlg
wxPanel * m_panelPredefined
wxPanel * m_panelCustom
wxStaticText * m_stName
wxStaticText * m_stUrl
wxStdDialogButtonSizer * m_sdbSizerBtns
wxButton * m_sdbSizerBtnsOK
wxButton * m_sdbSizerBtnsCancel

Detailed Description

Definition at line 263 of file chartdldr_pi.h.

Constructor & Destructor Documentation

◆ ChartDldrGuiAddSourceDlg()

ChartDldrGuiAddSourceDlg::ChartDldrGuiAddSourceDlg ( wxWindow * parent)
explicit

Definition at line 2238 of file chartdldr_pi.cpp.

Member Function Documentation

◆ LoadCatalog()

bool ChartDldrGuiAddSourceDlg::LoadCatalog ( const wxTreeItemId & root,
pugi::xml_node & node )
protected

Definition at line 2382 of file chartdldr_pi.cpp.

◆ LoadCatalogs()

bool ChartDldrGuiAddSourceDlg::LoadCatalogs ( const wxTreeItemId & root,
pugi::xml_node & node )
protected

Definition at line 2372 of file chartdldr_pi.cpp.

◆ LoadSection()

bool ChartDldrGuiAddSourceDlg::LoadSection ( const wxTreeItemId & root,
pugi::xml_node & node )
protected

Definition at line 2353 of file chartdldr_pi.cpp.

◆ LoadSections()

bool ChartDldrGuiAddSourceDlg::LoadSections ( const wxTreeItemId & root,
pugi::xml_node & node )
protected

Definition at line 2342 of file chartdldr_pi.cpp.

◆ LoadSources()

bool ChartDldrGuiAddSourceDlg::LoadSources ( )
protected

Definition at line 2305 of file chartdldr_pi.cpp.

◆ OnCancelClick()

void ChartDldrGuiAddSourceDlg::OnCancelClick ( wxCommandEvent & event)
overrideprotectedvirtual

Reimplemented from AddSourceDlg.

Definition at line 2524 of file chartdldr_pi.cpp.

◆ OnChangeType()

void ChartDldrGuiAddSourceDlg::OnChangeType ( wxCommandEvent & event)
protected

Definition at line 2414 of file chartdldr_pi.cpp.

◆ OnOkClick()

void ChartDldrGuiAddSourceDlg::OnOkClick ( wxCommandEvent & event)
overrideprotectedvirtual

Reimplemented from AddSourceDlg.

Definition at line 2482 of file chartdldr_pi.cpp.

◆ OnSourceSelected()

void ChartDldrGuiAddSourceDlg::OnSourceSelected ( wxTreeEvent & event)
overrideprotectedvirtual

Reimplemented from AddSourceDlg.

Definition at line 2420 of file chartdldr_pi.cpp.

◆ SetBasePath()

void ChartDldrGuiAddSourceDlg::SetBasePath ( const wxString & path)
inline

Definition at line 279 of file chartdldr_pi.h.

◆ SetSourceEdit()

void ChartDldrGuiAddSourceDlg::SetSourceEdit ( std::unique_ptr< ChartSource > & cs)

Definition at line 2439 of file chartdldr_pi.cpp.


The documentation for this class was generated from the following files:
  • /home/runner/work/main/main/opencpn/plugins/chartdldr_pi/src/chartdldr_pi.h
  • /home/runner/work/main/main/opencpn/plugins/chartdldr_pi/src/chartdldr_pi.cpp