OpenCPN Partial API docs
Loading...
Searching...
No Matches
AddSourceDlg Class Reference

Class AddSourceDlg. More...

#include <chartdldrgui.h>

Inheritance diagram for AddSourceDlg:
ChartDldrGuiAddSourceDlg

Public Member Functions

 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)

Public Attributes

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 Member Functions

virtual void OnSourceSelected (wxTreeEvent &event)
virtual void OnOkClick (wxCommandEvent &event)
virtual void OnCancelClick (wxCommandEvent &event)
void OnDirSelClick (wxCommandEvent &event)
void applyStyle ()

Protected Attributes

wxPanel * m_panelPredefined
wxPanel * m_panelCustom
wxStaticText * m_stName
wxStaticText * m_stUrl
wxStdDialogButtonSizer * m_sdbSizerBtns
wxButton * m_sdbSizerBtnsOK
wxButton * m_sdbSizerBtnsCancel

Detailed Description

Class AddSourceDlg.

Definition at line 64 of file chartdldrgui.h.

Constructor & Destructor Documentation

◆ AddSourceDlg()

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 )

Definition at line 233 of file chartdldrgui.cpp.

◆ ~AddSourceDlg()

AddSourceDlg::~AddSourceDlg ( )
override

Definition at line 373 of file chartdldrgui.cpp.

Member Function Documentation

◆ applyStyle()

void AddSourceDlg::applyStyle ( )
protected

Definition at line 225 of file chartdldrgui.cpp.

◆ OnCancelClick()

virtual void AddSourceDlg::OnCancelClick ( wxCommandEvent & event)
inlineprotectedvirtual

Definition at line 78 of file chartdldrgui.h.

◆ OnDirSelClick()

void AddSourceDlg::OnDirSelClick ( wxCommandEvent & event)
protected

Definition at line 392 of file chartdldrgui.cpp.

◆ OnNbPage()

void AddSourceDlg::OnNbPage ( wxNotebookEvent & event)

Definition at line 361 of file chartdldrgui.cpp.

◆ OnOkClick()

virtual void AddSourceDlg::OnOkClick ( wxCommandEvent & event)
inlineprotectedvirtual

Definition at line 77 of file chartdldrgui.h.

◆ OnSourceSelected()

virtual void AddSourceDlg::OnSourceSelected ( wxTreeEvent & event)
inlineprotectedvirtual

Definition at line 76 of file chartdldrgui.h.

Member Data Documentation

◆ m_buttonChartDirectory

wxButton* AddSourceDlg::m_buttonChartDirectory

Definition at line 91 of file chartdldrgui.h.

◆ m_dirExpanded

wxString AddSourceDlg::m_dirExpanded

Definition at line 93 of file chartdldrgui.h.

◆ m_nbChoice

wxNotebook* AddSourceDlg::m_nbChoice

Definition at line 83 of file chartdldrgui.h.

◆ m_panelChartDirectory

DLDR_OCPNChartDirPanel* AddSourceDlg::m_panelChartDirectory

Definition at line 89 of file chartdldrgui.h.

◆ m_panelCustom

wxPanel* AddSourceDlg::m_panelCustom
protected

Definition at line 68 of file chartdldrgui.h.

◆ m_panelPredefined

wxPanel* AddSourceDlg::m_panelPredefined
protected

Definition at line 67 of file chartdldrgui.h.

◆ m_sdbSizerBtns

wxStdDialogButtonSizer* AddSourceDlg::m_sdbSizerBtns
protected

Definition at line 71 of file chartdldrgui.h.

◆ m_sdbSizerBtnsCancel

wxButton* AddSourceDlg::m_sdbSizerBtnsCancel
protected

Definition at line 73 of file chartdldrgui.h.

◆ m_sdbSizerBtnsOK

wxButton* AddSourceDlg::m_sdbSizerBtnsOK
protected

Definition at line 72 of file chartdldrgui.h.

◆ m_sourceswin

wxScrolledWindow* AddSourceDlg::m_sourceswin

Definition at line 92 of file chartdldrgui.h.

◆ m_stName

wxStaticText* AddSourceDlg::m_stName
protected

Definition at line 69 of file chartdldrgui.h.

◆ m_stUrl

wxStaticText* AddSourceDlg::m_stUrl
protected

Definition at line 70 of file chartdldrgui.h.

◆ m_tcChartDirectory

wxTextCtrl* AddSourceDlg::m_tcChartDirectory

Definition at line 88 of file chartdldrgui.h.

◆ m_tChartSourceUrl

wxTextCtrl* AddSourceDlg::m_tChartSourceUrl

Definition at line 86 of file chartdldrgui.h.

◆ m_treeCtrlPredefSrcs

wxTreeCtrl* AddSourceDlg::m_treeCtrlPredefSrcs

Definition at line 84 of file chartdldrgui.h.

◆ m_tSourceName

wxTextCtrl* AddSourceDlg::m_tSourceName

Definition at line 85 of file chartdldrgui.h.


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