KiCad PCB EDA Suite
|
#include <panel_plugin_settings.h>
Public Member Functions | |
PANEL_PLUGIN_SETTINGS (wxWindow *aParent) | |
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 }. | |
Public Attributes | |
wxStaticText * | m_stPythonStatus |
Protected Member Functions | |
bool | TransferDataFromWindow () override |
bool | TransferDataToWindow () override |
void | OnPythonInterpreterChanged (wxFileDirPickerEvent &event) override |
void | OnBtnDetectAutomaticallyClicked (wxCommandEvent &aEvent) override |
void | OnEnableApiChecked (wxCommandEvent &aEvent) override |
Protected Attributes | |
wxStaticText * | m_staticText3 |
wxCheckBox * | m_cbEnableApi |
wxStaticText * | m_stApiStatus |
wxStaticText * | m_staticText2 |
wxFilePickerCtrl * | m_pickerPythonInterpreter |
wxButton * | m_btnDetectAutomatically |
Private Member Functions | |
void | updateApiStatusText () |
void | validatePythonInterpreter () |
Private Attributes | |
bool | m_pythonInterpreterValid |
Definition at line 29 of file panel_plugin_settings.h.
PANEL_PLUGIN_SETTINGS::PANEL_PLUGIN_SETTINGS | ( | wxWindow * | aParent | ) |
Definition at line 30 of file panel_plugin_settings.cpp.
References KIUI::GetInfoFont(), PANEL_PLUGIN_SETTINGS_BASE::m_stApiStatus, and PANEL_PLUGIN_SETTINGS_BASE::m_stPythonStatus.
|
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().
|
inlinevirtualinherited |
Get the tooltip the reset button should display when showing this panel.
Reimplemented in PANEL_COLOR_SETTINGS, and PANEL_HOTKEYS_EDITOR.
Definition at line 64 of file resettable_panel.h.
References _.
Referenced by RESETTABLE_PANEL::GetHelpTextAtPoint().
|
overrideprotectedvirtual |
Reimplemented from PANEL_PLUGIN_SETTINGS_BASE.
Definition at line 79 of file panel_plugin_settings.cpp.
References PANEL_PLUGIN_SETTINGS_BASE::m_pickerPythonInterpreter, and validatePythonInterpreter().
|
overrideprotectedvirtual |
Reimplemented from PANEL_PLUGIN_SETTINGS_BASE.
Definition at line 91 of file panel_plugin_settings.cpp.
References updateApiStatusText(), and validatePythonInterpreter().
|
overrideprotectedvirtual |
Reimplemented from PANEL_PLUGIN_SETTINGS_BASE.
Definition at line 73 of file panel_plugin_settings.cpp.
References validatePythonInterpreter().
|
overridevirtual |
Reset the contents of this panel.
Implements RESETTABLE_PANEL.
Definition at line 39 of file panel_plugin_settings.cpp.
|
overrideprotected |
Definition at line 58 of file panel_plugin_settings.cpp.
References COMMON_SETTINGS::API::enable_server, SETTINGS_MANAGER::GetCommonSettings(), PGM_BASE::GetSettingsManager(), COMMON_SETTINGS::m_Api, PANEL_PLUGIN_SETTINGS_BASE::m_cbEnableApi, PANEL_PLUGIN_SETTINGS_BASE::m_pickerPythonInterpreter, m_pythonInterpreterValid, Pgm(), and COMMON_SETTINGS::API::python_interpreter.
|
overrideprotected |
Definition at line 44 of file panel_plugin_settings.cpp.
References COMMON_SETTINGS::API::enable_server, SETTINGS_MANAGER::GetCommonSettings(), PGM_BASE::GetSettingsManager(), COMMON_SETTINGS::m_Api, PANEL_PLUGIN_SETTINGS_BASE::m_cbEnableApi, PANEL_PLUGIN_SETTINGS_BASE::m_pickerPythonInterpreter, Pgm(), COMMON_SETTINGS::API::python_interpreter, updateApiStatusText(), and validatePythonInterpreter().
|
private |
Definition at line 98 of file panel_plugin_settings.cpp.
References _, PANEL_PLUGIN_SETTINGS_BASE::m_cbEnableApi, PANEL_PLUGIN_SETTINGS_BASE::m_stApiStatus, and Pgm().
Referenced by OnEnableApiChecked(), and TransferDataToWindow().
|
private |
Definition at line 116 of file panel_plugin_settings.cpp.
References _, PANEL_PLUGIN_SETTINGS_BASE::m_cbEnableApi, PANEL_PLUGIN_SETTINGS_BASE::m_pickerPythonInterpreter, m_pythonInterpreterValid, and PANEL_PLUGIN_SETTINGS_BASE::m_stPythonStatus.
Referenced by OnBtnDetectAutomaticallyClicked(), OnEnableApiChecked(), OnPythonInterpreterChanged(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 45 of file panel_plugin_settings_base.h.
Referenced by PANEL_PLUGIN_SETTINGS_BASE::PANEL_PLUGIN_SETTINGS_BASE(), and PANEL_PLUGIN_SETTINGS_BASE::~PANEL_PLUGIN_SETTINGS_BASE().
|
protectedinherited |
|
protectedinherited |
Definition at line 44 of file panel_plugin_settings_base.h.
Referenced by OnBtnDetectAutomaticallyClicked(), PANEL_PLUGIN_SETTINGS_BASE::PANEL_PLUGIN_SETTINGS_BASE(), TransferDataFromWindow(), TransferDataToWindow(), validatePythonInterpreter(), and PANEL_PLUGIN_SETTINGS_BASE::~PANEL_PLUGIN_SETTINGS_BASE().
|
private |
Definition at line 48 of file panel_plugin_settings.h.
Referenced by TransferDataFromWindow(), and validatePythonInterpreter().
|
protectedinherited |
Definition at line 42 of file panel_plugin_settings_base.h.
Referenced by PANEL_PLUGIN_SETTINGS(), PANEL_PLUGIN_SETTINGS_BASE::PANEL_PLUGIN_SETTINGS_BASE(), and updateApiStatusText().
|
protectedinherited |
Definition at line 43 of file panel_plugin_settings_base.h.
Referenced by PANEL_PLUGIN_SETTINGS_BASE::PANEL_PLUGIN_SETTINGS_BASE().
|
protectedinherited |
Definition at line 40 of file panel_plugin_settings_base.h.
Referenced by PANEL_PLUGIN_SETTINGS_BASE::PANEL_PLUGIN_SETTINGS_BASE().
|
inherited |
Definition at line 54 of file panel_plugin_settings_base.h.
Referenced by PANEL_PLUGIN_SETTINGS(), PANEL_PLUGIN_SETTINGS_BASE::PANEL_PLUGIN_SETTINGS_BASE(), and validatePythonInterpreter().