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_OCPNChartDirPanelm_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 75 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 232 of file chartdldrgui.cpp.

◆ ~AddSourceDlg()

AddSourceDlg::~AddSourceDlg ( )

Definition at line 372 of file chartdldrgui.cpp.

Member Function Documentation

◆ applyStyle()

void AddSourceDlg::applyStyle ( )
protected

Definition at line 224 of file chartdldrgui.cpp.

◆ OnCancelClick()

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

Definition at line 89 of file chartdldrgui.h.

◆ OnDirSelClick()

void AddSourceDlg::OnDirSelClick ( wxCommandEvent &  event)
protected

Definition at line 391 of file chartdldrgui.cpp.

◆ OnNbPage()

void AddSourceDlg::OnNbPage ( wxNotebookEvent &  event)

Definition at line 360 of file chartdldrgui.cpp.

◆ OnOkClick()

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

Definition at line 88 of file chartdldrgui.h.

◆ OnSourceSelected()

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

Definition at line 87 of file chartdldrgui.h.

Member Data Documentation

◆ m_buttonChartDirectory

wxButton* AddSourceDlg::m_buttonChartDirectory

Definition at line 102 of file chartdldrgui.h.

◆ m_dirExpanded

wxString AddSourceDlg::m_dirExpanded

Definition at line 104 of file chartdldrgui.h.

◆ m_nbChoice

wxNotebook* AddSourceDlg::m_nbChoice

Definition at line 94 of file chartdldrgui.h.

◆ m_panelChartDirectory

DLDR_OCPNChartDirPanel* AddSourceDlg::m_panelChartDirectory

Definition at line 100 of file chartdldrgui.h.

◆ m_panelCustom

wxPanel* AddSourceDlg::m_panelCustom
protected

Definition at line 79 of file chartdldrgui.h.

◆ m_panelPredefined

wxPanel* AddSourceDlg::m_panelPredefined
protected

Definition at line 78 of file chartdldrgui.h.

◆ m_sdbSizerBtns

wxStdDialogButtonSizer* AddSourceDlg::m_sdbSizerBtns
protected

Definition at line 82 of file chartdldrgui.h.

◆ m_sdbSizerBtnsCancel

wxButton* AddSourceDlg::m_sdbSizerBtnsCancel
protected

Definition at line 84 of file chartdldrgui.h.

◆ m_sdbSizerBtnsOK

wxButton* AddSourceDlg::m_sdbSizerBtnsOK
protected

Definition at line 83 of file chartdldrgui.h.

◆ m_sourceswin

wxScrolledWindow* AddSourceDlg::m_sourceswin

Definition at line 103 of file chartdldrgui.h.

◆ m_stName

wxStaticText* AddSourceDlg::m_stName
protected

Definition at line 80 of file chartdldrgui.h.

◆ m_stUrl

wxStaticText* AddSourceDlg::m_stUrl
protected

Definition at line 81 of file chartdldrgui.h.

◆ m_tcChartDirectory

wxTextCtrl* AddSourceDlg::m_tcChartDirectory

Definition at line 99 of file chartdldrgui.h.

◆ m_tChartSourceUrl

wxTextCtrl* AddSourceDlg::m_tChartSourceUrl

Definition at line 97 of file chartdldrgui.h.

◆ m_treeCtrlPredefSrcs

wxTreeCtrl* AddSourceDlg::m_treeCtrlPredefSrcs

Definition at line 95 of file chartdldrgui.h.

◆ m_tSourceName

wxTextCtrl* AddSourceDlg::m_tSourceName

Definition at line 96 of file chartdldrgui.h.


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