KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PANEL_SCH_DATA_SOURCES Class Reference

#include <panel_sch_data_sources.h>

Inheritance diagram for PANEL_SCH_DATA_SOURCES:
RESETTABLE_PANEL

Public Member Functions

 PANEL_SCH_DATA_SOURCES (wxWindow *aParent, EDA_BASE_FRAME *aFrame)
 
bool TransferDataToWindow () override
 
bool TransferDataFromWindow () override
 
void ResetPanel () override
 Reset the contents of this panel.
 
virtual wxString GetResetTooltip () const
 Get the tooltip the reset button should display when showing this panel.
 
wxString GetHelpTextAtPoint (const wxPoint &aPt, wxHelpEvent::Origin aOrigin) const override
 Overridden to supply the reset button tooltip when queried with { -INT_MAX, INT_MAX }.
 

Private Member Functions

void populateInstalledSources ()
 
void OnManageDataSources (wxCommandEvent &aEvent)
 

Private Attributes

EDA_BASE_FRAMEm_frame
 
std::shared_ptr< PLUGIN_CONTENT_MANAGERm_pcm
 
wxStaticText * m_description
 
wxStaticText * m_status
 
wxListBox * m_sourcesList
 
wxButton * m_manageButton
 

Detailed Description

Definition at line 34 of file panel_sch_data_sources.h.

Constructor & Destructor Documentation

◆ PANEL_SCH_DATA_SOURCES()

PANEL_SCH_DATA_SOURCES::PANEL_SCH_DATA_SOURCES ( wxWindow * aParent,
EDA_BASE_FRAME * aFrame )

Definition at line 38 of file panel_sch_data_sources.cpp.

References m_frame, m_pcm, and RESETTABLE_PANEL::RESETTABLE_PANEL().

Member Function Documentation

◆ GetHelpTextAtPoint()

wxString RESETTABLE_PANEL::GetHelpTextAtPoint ( const wxPoint & aPt,
wxHelpEvent::Origin aOrigin ) const
inlineoverrideinherited

Overridden to supply the reset button tooltip when queried with { -INT_MAX, INT_MAX }.

Definition at line 72 of file resettable_panel.h.

References GetResetTooltip().

◆ GetResetTooltip()

virtual wxString RESETTABLE_PANEL::GetResetTooltip ( ) const
inlinevirtualinherited

Get the tooltip the reset button should display when showing this panel.

Returns
the tooltip

Reimplemented in PANEL_COLOR_SETTINGS, and PANEL_HOTKEYS_EDITOR.

Definition at line 64 of file resettable_panel.h.

References _.

Referenced by GetHelpTextAtPoint().

◆ OnManageDataSources()

void PANEL_SCH_DATA_SOURCES::OnManageDataSources ( wxCommandEvent & aEvent)
private

◆ populateInstalledSources()

void PANEL_SCH_DATA_SOURCES::populateInstalledSources ( )
private

◆ ResetPanel()

void PANEL_SCH_DATA_SOURCES::ResetPanel ( )
overridevirtual

Reset the contents of this panel.

Implements RESETTABLE_PANEL.

Definition at line 89 of file panel_sch_data_sources.cpp.

References populateInstalledSources().

◆ TransferDataFromWindow()

bool PANEL_SCH_DATA_SOURCES::TransferDataFromWindow ( )
override

Definition at line 83 of file panel_sch_data_sources.cpp.

◆ TransferDataToWindow()

bool PANEL_SCH_DATA_SOURCES::TransferDataToWindow ( )
override

Definition at line 72 of file panel_sch_data_sources.cpp.

References GetAppSettings(), m_pcm, and populateInstalledSources().

Member Data Documentation

◆ m_description

wxStaticText* PANEL_SCH_DATA_SOURCES::m_description
private

Definition at line 51 of file panel_sch_data_sources.h.

◆ m_frame

EDA_BASE_FRAME* PANEL_SCH_DATA_SOURCES::m_frame
private

Definition at line 49 of file panel_sch_data_sources.h.

Referenced by OnManageDataSources(), and PANEL_SCH_DATA_SOURCES().

◆ m_manageButton

wxButton* PANEL_SCH_DATA_SOURCES::m_manageButton
private

Definition at line 54 of file panel_sch_data_sources.h.

◆ m_pcm

std::shared_ptr<PLUGIN_CONTENT_MANAGER> PANEL_SCH_DATA_SOURCES::m_pcm
private

◆ m_sourcesList

wxListBox* PANEL_SCH_DATA_SOURCES::m_sourcesList
private

Definition at line 53 of file panel_sch_data_sources.h.

Referenced by populateInstalledSources().

◆ m_status

wxStaticText* PANEL_SCH_DATA_SOURCES::m_status
private

Definition at line 52 of file panel_sch_data_sources.h.

Referenced by populateInstalledSources().


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