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

Implementing ChartDldrPanel. More...

#include <chartdldr_pi.h>

Inheritance diagram for ChartDldrPanelImpl:
ChartDldrPanel

Public Member Functions

 ChartDldrPanelImpl (chartdldr_pi *plugin=NULL, wxWindow *parent=NULL, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
 
void SelectCatalog (int item)
 
void onDLEvent (OCPN_downloadEvent &ev)
 
void CancelDownload ()
 
- Public Member Functions inherited from ChartDldrPanel
virtual void SetChartInfo (const wxString &info)
 
 ChartDldrPanel (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1, -1), long style=wxTAB_TRAVERSAL)
 

Protected Member Functions

void SetSource (int id)
 
void SelectSource (wxListEvent &event)
 
void AddSource (wxCommandEvent &event)
 
void DeleteSource (wxCommandEvent &event)
 
void EditSource (wxCommandEvent &event)
 
void UpdateChartList (wxCommandEvent &event)
 
void OnDownloadCharts (wxCommandEvent &event)
 
void OnSelectChartItem (wxCommandEvent &event)
 
void OnSelectNewCharts (wxCommandEvent &event)
 
void OnSelectUpdatedCharts (wxCommandEvent &event)
 
void OnSelectAllCharts (wxCommandEvent &event)
 
void DownloadCharts ()
 
void DoHelp (wxCommandEvent &event)
 
void UpdateAllCharts (wxCommandEvent &event)
 
void OnShowLocalDir (wxCommandEvent &event)
 
void OnPaint (wxPaintEvent &event)
 
void OnLeftDClick (wxMouseEvent &event)
 
void CleanForm ()
 
void FillFromFile (wxString url, wxString dir, bool selnew=false, bool selupd=false)
 
void OnContextMenu (wxMouseEvent &event)
 
void SetBulkUpdate (bool bulk_update)
 
int GetChartCount ()
 
int GetCheckedChartCount ()
 
bool isChartChecked (int i)
 
void CheckAllCharts (bool value)
 
void InvertCheckAllCharts ()
 
void CheckNewCharts (bool value)
 
void CheckUpdatedCharts (bool value)
 
- Protected Member Functions inherited from ChartDldrPanel
virtual void OnSize (wxSizeEvent &event)
 

Friends

class chartdldr_pi
 

Additional Inherited Members

- Public Attributes inherited from ChartDldrPanel
wxScrolledWindow * m_scrollWinChartList
 
- Protected Attributes inherited from ChartDldrPanel
wxListCtrl * m_lbChartSources
 
wxButton * m_bAddSource
 
wxButton * m_bDeleteSource
 
wxButton * m_bEditSource
 
wxButton * m_bUpdateChartList
 
wxButton * m_bUpdateAllCharts
 
wxStaticText * m_stCatalogInfo
 
wxButton * m_bDnldCharts
 
wxNotebook * m_DLoadNB
 
wxString m_csTitle
 
wxStaticText * m_chartsLabel
 
std::vector< std::unique_ptr< ChartPanel > > m_panelArray
 
wxBoxSizer * m_boxSizerCharts
 

Detailed Description

Implementing ChartDldrPanel.

Definition at line 176 of file chartdldr_pi.h.

Constructor & Destructor Documentation

◆ ~ChartDldrPanelImpl()

ChartDldrPanelImpl::~ChartDldrPanelImpl ( )

Definition at line 1477 of file chartdldr_pi.cpp.

◆ ChartDldrPanelImpl()

ChartDldrPanelImpl::ChartDldrPanelImpl ( chartdldr_pi plugin = NULL,
wxWindow *  parent = NULL,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER 
)

Definition at line 1492 of file chartdldr_pi.cpp.

Member Function Documentation

◆ AddSource()

void ChartDldrPanelImpl::AddSource ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from ChartDldrPanel.

Definition at line 1566 of file chartdldr_pi.cpp.

◆ CancelDownload()

void ChartDldrPanelImpl::CancelDownload ( )
inline

Definition at line 264 of file chartdldr_pi.h.

◆ CheckAllCharts()

void ChartDldrPanelImpl::CheckAllCharts ( bool  value)
protected

Definition at line 1237 of file chartdldr_pi.cpp.

◆ CheckNewCharts()

void ChartDldrPanelImpl::CheckNewCharts ( bool  value)
protected

Definition at line 1258 of file chartdldr_pi.cpp.

◆ CheckUpdatedCharts()

void ChartDldrPanelImpl::CheckUpdatedCharts ( bool  value)
protected

Definition at line 1275 of file chartdldr_pi.cpp.

◆ CleanForm()

void ChartDldrPanelImpl::CleanForm ( )
protected

Definition at line 673 of file chartdldr_pi.cpp.

◆ DeleteSource()

void ChartDldrPanelImpl::DeleteSource ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from ChartDldrPanel.

Definition at line 1545 of file chartdldr_pi.cpp.

◆ DoHelp()

void ChartDldrPanelImpl::DoHelp ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented from ChartDldrPanel.

Definition at line 224 of file chartdldr_pi.h.

◆ DownloadCharts()

void ChartDldrPanelImpl::DownloadCharts ( )
protected

XXX undo anything? return or break?

Definition at line 1311 of file chartdldr_pi.cpp.

◆ EditSource()

void ChartDldrPanelImpl::EditSource ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from ChartDldrPanel.

Definition at line 1675 of file chartdldr_pi.cpp.

◆ FillFromFile()

void ChartDldrPanelImpl::FillFromFile ( wxString  url,
wxString  dir,
bool  selnew = false,
bool  selupd = false 
)
protected

Definition at line 682 of file chartdldr_pi.cpp.

◆ GetChartCount()

int ChartDldrPanelImpl::GetChartCount ( )
protected

Definition at line 1201 of file chartdldr_pi.cpp.

◆ GetCheckedChartCount()

int ChartDldrPanelImpl::GetCheckedChartCount ( )
protected

Definition at line 1209 of file chartdldr_pi.cpp.

◆ InvertCheckAllCharts()

void ChartDldrPanelImpl::InvertCheckAllCharts ( )
protected

Definition at line 1292 of file chartdldr_pi.cpp.

◆ isChartChecked()

bool ChartDldrPanelImpl::isChartChecked ( int  i)
protected

Definition at line 1224 of file chartdldr_pi.cpp.

◆ OnContextMenu()

void ChartDldrPanelImpl::OnContextMenu ( wxMouseEvent &  event)
protectedvirtual

Reimplemented from ChartDldrPanel.

Definition at line 565 of file chartdldr_pi.cpp.

◆ onDLEvent()

void ChartDldrPanelImpl::onDLEvent ( OCPN_downloadEvent ev)

Definition at line 2445 of file chartdldr_pi.cpp.

◆ OnDownloadCharts()

void ChartDldrPanelImpl::OnDownloadCharts ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from ChartDldrPanel.

Definition at line 1157 of file chartdldr_pi.cpp.

◆ OnLeftDClick()

void ChartDldrPanelImpl::OnLeftDClick ( wxMouseEvent &  event)
protectedvirtual

Reimplemented from ChartDldrPanel.

Definition at line 1680 of file chartdldr_pi.cpp.

◆ OnPaint()

void ChartDldrPanelImpl::OnPaint ( wxPaintEvent &  event)
protectedvirtual

Reimplemented from ChartDldrPanel.

Definition at line 1531 of file chartdldr_pi.cpp.

◆ OnShowLocalDir()

void ChartDldrPanelImpl::OnShowLocalDir ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from ChartDldrPanel.

Definition at line 613 of file chartdldr_pi.cpp.

◆ SelectCatalog()

void ChartDldrPanelImpl::SelectCatalog ( int  item)

Definition at line 823 of file chartdldr_pi.cpp.

◆ SelectSource()

void ChartDldrPanelImpl::SelectSource ( wxListEvent &  event)
protectedvirtual

Reimplemented from ChartDldrPanel.

Definition at line 660 of file chartdldr_pi.cpp.

◆ SetBulkUpdate()

void ChartDldrPanelImpl::SetBulkUpdate ( bool  bulk_update)
protected

Definition at line 666 of file chartdldr_pi.cpp.

◆ SetSource()

void ChartDldrPanelImpl::SetSource ( int  id)
protected

Definition at line 629 of file chartdldr_pi.cpp.

◆ UpdateAllCharts()

void ChartDldrPanelImpl::UpdateAllCharts ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from ChartDldrPanel.

Definition at line 869 of file chartdldr_pi.cpp.

◆ UpdateChartList()

void ChartDldrPanelImpl::UpdateChartList ( wxCommandEvent &  event)
protectedvirtual

Reimplemented from ChartDldrPanel.

Definition at line 926 of file chartdldr_pi.cpp.

Friends And Related Symbol Documentation

◆ chartdldr_pi

friend class chartdldr_pi
friend

Definition at line 177 of file chartdldr_pi.h.


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