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

#include <panel_sym_editing_options.h>

Inheritance diagram for PANEL_SYM_EDITING_OPTIONS:
PANEL_SYM_EDITING_OPTIONS_BASE RESETTABLE_PANEL

Public Member Functions

 PANEL_SYM_EDITING_OPTIONS (wxWindow *aWindow, UNITS_PROVIDER *aUnitsProvider, wxWindow *aEventSource)
 
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 }.
 

Protected Attributes

wxStaticText * m_defaultsLabel
 
wxStaticLine * m_staticline1
 
wxStaticText * m_lineWidthLabel
 
wxTextCtrl * m_lineWidthCtrl
 
wxStaticText * m_lineWidthUnits
 
wxStaticText * m_widthHelpText
 
wxStaticText * m_textSizeLabel
 
wxTextCtrl * m_textSizeCtrl
 
wxStaticText * m_textSizeUnits
 
wxStaticText * m_pinLengthLabel
 
wxTextCtrl * m_pinLengthCtrl
 
wxStaticText * m_pinLengthUnits
 
wxStaticText * m_pinNumSizeLabel
 
wxTextCtrl * m_pinNumSizeCtrl
 
wxStaticText * m_pinNumSizeUnits
 
wxStaticText * m_pinNameSizeLabel
 
wxTextCtrl * m_pinNameSizeCtrl
 
wxStaticText * m_pinNameSizeUnits
 
wxCheckBox * m_cbShowPinElectricalType
 
wxStaticText * m_repeatLabel
 
wxStaticLine * m_staticline2
 
wxStaticText * m_pinPitchLabel
 
wxTextCtrl * m_pinPitchCtrl
 
wxStaticText * m_pinPitchUnits
 
wxStaticText * m_labelIncrementLabel1
 
wxSpinCtrl * m_spinRepeatLabel
 

Private Member Functions

void loadSymEditorSettings (SYMBOL_EDITOR_SETTINGS *aCfg)
 
void onKillFocusPinPitch (wxFocusEvent &aEvent) override
 

Private Attributes

UNIT_BINDER m_lineWidth
 
UNIT_BINDER m_textSize
 
UNIT_BINDER m_pinLength
 
UNIT_BINDER m_pinNameSize
 
UNIT_BINDER m_pinNumberSize
 
UNIT_BINDER m_pinPitch
 

Detailed Description

Definition at line 29 of file panel_sym_editing_options.h.

Constructor & Destructor Documentation

◆ PANEL_SYM_EDITING_OPTIONS()

PANEL_SYM_EDITING_OPTIONS::PANEL_SYM_EDITING_OPTIONS ( wxWindow *  aWindow,
UNITS_PROVIDER aUnitsProvider,
wxWindow *  aEventSource 
)

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().

◆ loadSymEditorSettings()

◆ onKillFocusPinPitch()

void PANEL_SYM_EDITING_OPTIONS::onKillFocusPinPitch ( wxFocusEvent &  aEvent)
overrideprivatevirtual

◆ ResetPanel()

void PANEL_SYM_EDITING_OPTIONS::ResetPanel ( )
overridevirtual

Reset the contents of this panel.

Implements RESETTABLE_PANEL.

Definition at line 107 of file panel_sym_editing_options.cpp.

References JSON_SETTINGS::Load(), and loadSymEditorSettings().

◆ TransferDataFromWindow()

◆ TransferDataToWindow()

bool PANEL_SYM_EDITING_OPTIONS::TransferDataToWindow ( )
override

Member Data Documentation

◆ m_cbShowPinElectricalType

wxCheckBox* PANEL_SYM_EDITING_OPTIONS_BASE::m_cbShowPinElectricalType
protectedinherited

◆ m_defaultsLabel

wxStaticText* PANEL_SYM_EDITING_OPTIONS_BASE::m_defaultsLabel
protectedinherited

◆ m_labelIncrementLabel1

wxStaticText* PANEL_SYM_EDITING_OPTIONS_BASE::m_labelIncrementLabel1
protectedinherited

◆ m_lineWidth

UNIT_BINDER PANEL_SYM_EDITING_OPTIONS::m_lineWidth
private

Definition at line 46 of file panel_sym_editing_options.h.

Referenced by loadSymEditorSettings(), and TransferDataFromWindow().

◆ m_lineWidthCtrl

wxTextCtrl* PANEL_SYM_EDITING_OPTIONS_BASE::m_lineWidthCtrl
protectedinherited

◆ m_lineWidthLabel

wxStaticText* PANEL_SYM_EDITING_OPTIONS_BASE::m_lineWidthLabel
protectedinherited

◆ m_lineWidthUnits

wxStaticText* PANEL_SYM_EDITING_OPTIONS_BASE::m_lineWidthUnits
protectedinherited

◆ m_pinLength

UNIT_BINDER PANEL_SYM_EDITING_OPTIONS::m_pinLength
private

Definition at line 49 of file panel_sym_editing_options.h.

Referenced by loadSymEditorSettings(), and TransferDataFromWindow().

◆ m_pinLengthCtrl

wxTextCtrl* PANEL_SYM_EDITING_OPTIONS_BASE::m_pinLengthCtrl
protectedinherited

◆ m_pinLengthLabel

wxStaticText* PANEL_SYM_EDITING_OPTIONS_BASE::m_pinLengthLabel
protectedinherited

◆ m_pinLengthUnits

wxStaticText* PANEL_SYM_EDITING_OPTIONS_BASE::m_pinLengthUnits
protectedinherited

◆ m_pinNameSize

UNIT_BINDER PANEL_SYM_EDITING_OPTIONS::m_pinNameSize
private

Definition at line 50 of file panel_sym_editing_options.h.

Referenced by loadSymEditorSettings(), and TransferDataFromWindow().

◆ m_pinNameSizeCtrl

wxTextCtrl* PANEL_SYM_EDITING_OPTIONS_BASE::m_pinNameSizeCtrl
protectedinherited

◆ m_pinNameSizeLabel

wxStaticText* PANEL_SYM_EDITING_OPTIONS_BASE::m_pinNameSizeLabel
protectedinherited

◆ m_pinNameSizeUnits

wxStaticText* PANEL_SYM_EDITING_OPTIONS_BASE::m_pinNameSizeUnits
protectedinherited

◆ m_pinNumberSize

UNIT_BINDER PANEL_SYM_EDITING_OPTIONS::m_pinNumberSize
private

Definition at line 51 of file panel_sym_editing_options.h.

Referenced by loadSymEditorSettings(), and TransferDataFromWindow().

◆ m_pinNumSizeCtrl

wxTextCtrl* PANEL_SYM_EDITING_OPTIONS_BASE::m_pinNumSizeCtrl
protectedinherited

◆ m_pinNumSizeLabel

wxStaticText* PANEL_SYM_EDITING_OPTIONS_BASE::m_pinNumSizeLabel
protectedinherited

◆ m_pinNumSizeUnits

wxStaticText* PANEL_SYM_EDITING_OPTIONS_BASE::m_pinNumSizeUnits
protectedinherited

◆ m_pinPitch

UNIT_BINDER PANEL_SYM_EDITING_OPTIONS::m_pinPitch
private

◆ m_pinPitchCtrl

wxTextCtrl* PANEL_SYM_EDITING_OPTIONS_BASE::m_pinPitchCtrl
protectedinherited

◆ m_pinPitchLabel

wxStaticText* PANEL_SYM_EDITING_OPTIONS_BASE::m_pinPitchLabel
protectedinherited

◆ m_pinPitchUnits

wxStaticText* PANEL_SYM_EDITING_OPTIONS_BASE::m_pinPitchUnits
protectedinherited

◆ m_repeatLabel

wxStaticText* PANEL_SYM_EDITING_OPTIONS_BASE::m_repeatLabel
protectedinherited

◆ m_spinRepeatLabel

wxSpinCtrl* PANEL_SYM_EDITING_OPTIONS_BASE::m_spinRepeatLabel
protectedinherited

◆ m_staticline1

wxStaticLine* PANEL_SYM_EDITING_OPTIONS_BASE::m_staticline1
protectedinherited

◆ m_staticline2

wxStaticLine* PANEL_SYM_EDITING_OPTIONS_BASE::m_staticline2
protectedinherited

◆ m_textSize

UNIT_BINDER PANEL_SYM_EDITING_OPTIONS::m_textSize
private

Definition at line 47 of file panel_sym_editing_options.h.

Referenced by loadSymEditorSettings(), and TransferDataFromWindow().

◆ m_textSizeCtrl

wxTextCtrl* PANEL_SYM_EDITING_OPTIONS_BASE::m_textSizeCtrl
protectedinherited

◆ m_textSizeLabel

wxStaticText* PANEL_SYM_EDITING_OPTIONS_BASE::m_textSizeLabel
protectedinherited

◆ m_textSizeUnits

wxStaticText* PANEL_SYM_EDITING_OPTIONS_BASE::m_textSizeUnits
protectedinherited

◆ m_widthHelpText

wxStaticText* PANEL_SYM_EDITING_OPTIONS_BASE::m_widthHelpText
protectedinherited

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