36 wxWindow* aEventSource ) :
38 m_hPitch( aUnitsProvider, aEventSource, m_hPitchLabel, m_hPitchCtrl, m_hPitchUnits ),
39 m_vPitch( aUnitsProvider, aEventSource, m_vPitchLabel, m_vPitchCtrl, m_vPitchUnits )
constexpr EDA_IU_SCALE schIUScale
Color settings are a bit different than most of the settings objects in that there can be more than o...
COLOR4D GetColor(int aLayer) const
COLOR4D GetDefaultColor(int aLayer)
void SetSwatchColor(const KIGFX::COLOR4D &aColor, bool aSendEvent)
Set the current swatch color directly.
KIGFX::COLOR4D GetSwatchColor() const
void SetDefaultColor(const KIGFX::COLOR4D &aColor)
Sets the color that will be chosen with the "Reset to Default" button in the chooser.
void SetSwatchBackground(const KIGFX::COLOR4D &aBackground)
Set the swatch background color.
AUTOPLACE_FIELDS m_AutoplaceFields
virtual void Load()
Updates the parameters of this object based on the current JSON document contents.
A color representation with 4 components: red, green, blue, alpha.
Class PANEL_EESCHEMA_EDITING_OPTIONS_BASE.
wxCheckBox * m_escClearsNetHighlight
wxCheckBox * m_checkAutoplaceAlign
wxCheckBox * m_mouseDragIsDrag
COLOR_SWATCH * m_borderColorSwatch
wxChoice * m_choiceLineMode
wxSpinCtrl * m_spinLabelRepeatStep
wxCheckBox * m_checkAutoplaceFields
wxSimplebook * m_leftClickCmdsBook
wxCheckBox * m_neverShowRescue
wxCheckBox * m_footprintPreview
wxCheckBox * m_cbAutoStartWires
wxCheckBox * m_checkAutoplaceJustify
COLOR_SWATCH * m_backgroundColorSwatch
void loadEEschemaSettings(EESCHEMA_SETTINGS *aCfg)
PANEL_EESCHEMA_EDITING_OPTIONS(wxWindow *aWindow, UNITS_PROVIDER *aUnitsProvider, wxWindow *aEventSource)
void ResetPanel() override
Reset the contents of this panel.
bool TransferDataToWindow() override
bool TransferDataFromWindow() override
virtual SETTINGS_MANAGER & GetSettingsManager() const
T * GetAppSettings()
Returns a handle to the a given settings by type If the settings have already been loaded,...
COLOR_SETTINGS * GetColorSettings(const wxString &aName="user")
Retrieves a color settings object that applications can read colors from.
virtual void SetValue(long long int aValue)
Set new value (in Internal Units) for the text field, taking care of units conversion.
@ LAYER_SCHEMATIC_BACKGROUND
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
COLOR4D default_sheet_border_color
int default_repeat_offset_x
int default_repeat_offset_y
COLOR4D default_sheet_background_color
int repeat_label_increment
Functions to provide common constants and other functions to assist in making a consistent UI.