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)
 
void OnOkClick (wxCommandEvent &event)
 
void OnCancelClick (wxCommandEvent &event)
 
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_OCPNChartDirPanelm_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 276 of file chartdldr_pi.h.

Constructor & Destructor Documentation

◆ ChartDldrGuiAddSourceDlg()

ChartDldrGuiAddSourceDlg::ChartDldrGuiAddSourceDlg ( wxWindow *  parent)

Definition at line 2095 of file chartdldr_pi.cpp.

◆ ~ChartDldrGuiAddSourceDlg()

ChartDldrGuiAddSourceDlg::~ChartDldrGuiAddSourceDlg ( )

Definition at line 2262 of file chartdldr_pi.cpp.

Member Function Documentation

◆ LoadCatalog()

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

Definition at line 2239 of file chartdldr_pi.cpp.

◆ LoadCatalogs()

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

Definition at line 2229 of file chartdldr_pi.cpp.

◆ LoadSection()

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

Definition at line 2210 of file chartdldr_pi.cpp.

◆ LoadSections()

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

Definition at line 2199 of file chartdldr_pi.cpp.

◆ LoadSources()

bool ChartDldrGuiAddSourceDlg::LoadSources ( )
protected

Definition at line 2162 of file chartdldr_pi.cpp.

◆ OnCancelClick()

void ChartDldrGuiAddSourceDlg::OnCancelClick ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from AddSourceDlg.

Definition at line 2385 of file chartdldr_pi.cpp.

◆ OnChangeType()

void ChartDldrGuiAddSourceDlg::OnChangeType ( wxCommandEvent &  event)
protected

Definition at line 2273 of file chartdldr_pi.cpp.

◆ OnOkClick()

void ChartDldrGuiAddSourceDlg::OnOkClick ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from AddSourceDlg.

Definition at line 2341 of file chartdldr_pi.cpp.

◆ OnSourceSelected()

void ChartDldrGuiAddSourceDlg::OnSourceSelected ( wxTreeEvent &  event)
protectedvirtual

Reimplemented from AddSourceDlg.

Definition at line 2279 of file chartdldr_pi.cpp.

◆ SetBasePath()

void ChartDldrGuiAddSourceDlg::SetBasePath ( const wxString  path)
inline

Definition at line 292 of file chartdldr_pi.h.

◆ SetSourceEdit()

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

Definition at line 2298 of file chartdldr_pi.cpp.


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