KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PANEL_PLUGIN_SETTINGS_BASE Class Referenceabstract

Class PANEL_PLUGIN_SETTINGS_BASE. More...

#include <panel_plugin_settings_base.h>

Inheritance diagram for PANEL_PLUGIN_SETTINGS_BASE:
RESETTABLE_PANEL PANEL_PLUGIN_SETTINGS

Public Member Functions

 PANEL_PLUGIN_SETTINGS_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
 
 ~PANEL_PLUGIN_SETTINGS_BASE ()
 
virtual void ResetPanel ()=0
 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 }.
 

Public Attributes

wxStaticText * m_stPythonStatus
 

Protected Member Functions

virtual void OnEnableApiChecked (wxCommandEvent &event)
 
virtual void OnPythonInterpreterChanged (wxFileDirPickerEvent &event)
 
virtual void OnBtnDetectAutomaticallyClicked (wxCommandEvent &event)
 

Protected Attributes

wxStaticText * m_staticText3
 
wxCheckBox * m_cbEnableApi
 
wxStaticText * m_stApiStatus
 
wxStaticText * m_staticText2
 
wxFilePickerCtrl * m_pickerPythonInterpreter
 
wxButton * m_btnDetectAutomatically
 

Detailed Description

Class PANEL_PLUGIN_SETTINGS_BASE.

Definition at line 35 of file panel_plugin_settings_base.h.

Constructor & Destructor Documentation

◆ PANEL_PLUGIN_SETTINGS_BASE()

PANEL_PLUGIN_SETTINGS_BASE::PANEL_PLUGIN_SETTINGS_BASE ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize( -1,-1 ),
long  style = wxTAB_TRAVERSAL,
const wxString &  name = wxEmptyString 
)

◆ ~PANEL_PLUGIN_SETTINGS_BASE()

PANEL_PLUGIN_SETTINGS_BASE::~PANEL_PLUGIN_SETTINGS_BASE ( )

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 RESETTABLE_PANEL::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 RESETTABLE_PANEL::GetHelpTextAtPoint().

◆ OnBtnDetectAutomaticallyClicked()

virtual void PANEL_PLUGIN_SETTINGS_BASE::OnBtnDetectAutomaticallyClicked ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_PLUGIN_SETTINGS.

Definition at line 50 of file panel_plugin_settings_base.h.

Referenced by PANEL_PLUGIN_SETTINGS_BASE(), and ~PANEL_PLUGIN_SETTINGS_BASE().

◆ OnEnableApiChecked()

virtual void PANEL_PLUGIN_SETTINGS_BASE::OnEnableApiChecked ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_PLUGIN_SETTINGS.

Definition at line 48 of file panel_plugin_settings_base.h.

Referenced by PANEL_PLUGIN_SETTINGS_BASE(), and ~PANEL_PLUGIN_SETTINGS_BASE().

◆ OnPythonInterpreterChanged()

virtual void PANEL_PLUGIN_SETTINGS_BASE::OnPythonInterpreterChanged ( wxFileDirPickerEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_PLUGIN_SETTINGS.

Definition at line 49 of file panel_plugin_settings_base.h.

Referenced by PANEL_PLUGIN_SETTINGS_BASE(), and ~PANEL_PLUGIN_SETTINGS_BASE().

◆ ResetPanel()

Member Data Documentation

◆ m_btnDetectAutomatically

wxButton* PANEL_PLUGIN_SETTINGS_BASE::m_btnDetectAutomatically
protected

◆ m_cbEnableApi

◆ m_pickerPythonInterpreter

◆ m_stApiStatus

wxStaticText* PANEL_PLUGIN_SETTINGS_BASE::m_stApiStatus
protected

◆ m_staticText2

wxStaticText* PANEL_PLUGIN_SETTINGS_BASE::m_staticText2
protected

Definition at line 43 of file panel_plugin_settings_base.h.

Referenced by PANEL_PLUGIN_SETTINGS_BASE().

◆ m_staticText3

wxStaticText* PANEL_PLUGIN_SETTINGS_BASE::m_staticText3
protected

Definition at line 40 of file panel_plugin_settings_base.h.

Referenced by PANEL_PLUGIN_SETTINGS_BASE().

◆ m_stPythonStatus

wxStaticText* PANEL_PLUGIN_SETTINGS_BASE::m_stPythonStatus

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