36 wxWindow* aEventSource ) :
38 m_lineWidth( aUnitsProvider, aEventSource, m_lineWidthLabel, m_lineWidthCtrl,
40 m_textSize( aUnitsProvider, aEventSource, m_textSizeLabel, m_textSizeCtrl,
42 m_pinLength( aUnitsProvider, aEventSource, m_pinLengthLabel, m_pinLengthCtrl,
44 m_pinNameSize( aUnitsProvider, aEventSource ,m_pinNameSizeLabel, m_pinNameSizeCtrl,
46 m_pinNumberSize( aUnitsProvider, aEventSource, m_pinNumSizeLabel, m_pinNumSizeCtrl,
48 m_pinPitch( aUnitsProvider, aEventSource, m_pinPitchLabel, m_pinPitchCtrl, m_pinPitchUnits )
constexpr EDA_IU_SCALE schIUScale
constexpr BOX2I KiROUND(const BOX2D &aBoxD)
virtual void Load()
Updates the parameters of this object based on the current JSON document contents.
Class PANEL_SYM_EDITING_OPTIONS_BASE.
wxCheckBox * m_dragPinsWithEdges
wxStaticText * m_widthHelpText
wxSpinCtrl * m_spinRepeatLabel
UNIT_BINDER m_pinNumberSize
PANEL_SYM_EDITING_OPTIONS(wxWindow *aWindow, UNITS_PROVIDER *aUnitsProvider, wxWindow *aEventSource)
void onKillFocusPinPitch(wxFocusEvent &aEvent) override
bool TransferDataToWindow() override
bool TransferDataFromWindow() override
UNIT_BINDER m_pinNameSize
void ResetPanel() override
Reset the contents of this panel.
void loadSymEditorSettings(SYMBOL_EDITOR_SETTINGS *aCfg)
virtual SETTINGS_MANAGER & GetSettingsManager() const
T * GetAppSettings(const wxString &aFilename)
Return a handle to the a given settings by type.
bool m_dragPinsAlongWithEdges
virtual void SetValue(long long int aValue)
Set new value (in Internal Units) for the text field, taking care of units conversion.
KICOMMON_API wxFont GetInfoFont(wxWindow *aWindow)
PGM_BASE & Pgm()
The global program "get" accessor.
constexpr int IUToMils(int iu) const
constexpr int MilsToIU(int mils) const
Functions to provide common constants and other functions to assist in making a consistent UI.