KiCad PCB EDA Suite
|
#include <panel_setup_dimensions.h>
Public Member Functions | |
PANEL_SETUP_DIMENSIONS (wxWindow *aParentWindow, UNITS_PROVIDER &aUnitsProvider, BOARD_DESIGN_SETTINGS &aBrdSettings) | |
~PANEL_SETUP_DIMENSIONS () override | |
bool | TransferDataToWindow () override |
bool | TransferDataFromWindow () override |
void | LoadFromSettings (const BOARD_DESIGN_SETTINGS &aBrdSettings) |
Protected Attributes | |
wxStaticText * | m_staticTextDefPropDim |
wxStaticLine * | m_staticline1 |
wxStaticText * | m_lblDimensionUnits |
wxChoice * | m_dimensionUnits |
wxStaticText * | m_lblTextPositionMode |
wxChoice * | m_dimensionTextPositionMode |
wxStaticText * | m_lblDimensionUnitsFormat |
wxChoice * | m_dimensionUnitsFormat |
wxCheckBox * | m_dimensionTextKeepAligned |
wxStaticText * | m_lblDimensionPrecision |
wxChoice * | m_dimensionPrecision |
wxStaticText * | m_lblArrowLength |
wxTextCtrl * | m_dimensionArrowLength |
wxStaticText * | m_arrowLengthUnits |
wxCheckBox * | m_dimensionSuppressZeroes |
wxStaticText * | m_lblExtensionOffset |
wxTextCtrl * | m_dimensionExtensionOffset |
wxStaticText * | m_dimensionExtensionOffsetUnits |
Private Member Functions | |
void | onUnitsChanged (wxCommandEvent &aEvent) |
Private Attributes | |
wxWindow * | m_parentWindow |
UNITS_PROVIDER & | m_unitsProvider |
BOARD_DESIGN_SETTINGS * | m_brdSettings |
UNIT_BINDER | m_arrowLength |
UNIT_BINDER | m_extensionOffset |
Definition at line 36 of file panel_setup_dimensions.h.
PANEL_SETUP_DIMENSIONS::PANEL_SETUP_DIMENSIONS | ( | wxWindow * | aParentWindow, |
UNITS_PROVIDER & | aUnitsProvider, | ||
BOARD_DESIGN_SETTINGS & | aBrdSettings | ||
) |
Definition at line 30 of file panel_setup_dimensions.cpp.
References m_parentWindow, and onUnitsChanged().
|
override |
Definition at line 44 of file panel_setup_dimensions.cpp.
References m_parentWindow, and onUnitsChanged().
void PANEL_SETUP_DIMENSIONS::LoadFromSettings | ( | const BOARD_DESIGN_SETTINGS & | aBrdSettings | ) |
Definition at line 73 of file panel_setup_dimensions.cpp.
References m_arrowLength, BOARD_DESIGN_SETTINGS::m_DimensionArrowLength, BOARD_DESIGN_SETTINGS::m_DimensionExtensionOffset, BOARD_DESIGN_SETTINGS::m_DimensionKeepTextAligned, BOARD_DESIGN_SETTINGS::m_DimensionPrecision, PANEL_SETUP_DIMENSIONS_BASE::m_dimensionPrecision, BOARD_DESIGN_SETTINGS::m_DimensionSuppressZeroes, PANEL_SETUP_DIMENSIONS_BASE::m_dimensionSuppressZeroes, PANEL_SETUP_DIMENSIONS_BASE::m_dimensionTextKeepAligned, BOARD_DESIGN_SETTINGS::m_DimensionTextPosition, PANEL_SETUP_DIMENSIONS_BASE::m_dimensionTextPositionMode, PANEL_SETUP_DIMENSIONS_BASE::m_dimensionUnits, BOARD_DESIGN_SETTINGS::m_DimensionUnitsFormat, PANEL_SETUP_DIMENSIONS_BASE::m_dimensionUnitsFormat, BOARD_DESIGN_SETTINGS::m_DimensionUnitsMode, m_extensionOffset, and UNIT_BINDER::SetValue().
Referenced by TransferDataToWindow().
|
private |
Definition at line 50 of file panel_setup_dimensions.cpp.
References m_brdSettings, TransferDataFromWindow(), and TransferDataToWindow().
Referenced by PANEL_SETUP_DIMENSIONS(), and ~PANEL_SETUP_DIMENSIONS().
|
override |
Definition at line 90 of file panel_setup_dimensions.cpp.
References UNIT_BINDER::GetValue(), m_arrowLength, m_brdSettings, BOARD_DESIGN_SETTINGS::m_DimensionArrowLength, BOARD_DESIGN_SETTINGS::m_DimensionExtensionOffset, BOARD_DESIGN_SETTINGS::m_DimensionKeepTextAligned, BOARD_DESIGN_SETTINGS::m_DimensionPrecision, PANEL_SETUP_DIMENSIONS_BASE::m_dimensionPrecision, BOARD_DESIGN_SETTINGS::m_DimensionSuppressZeroes, PANEL_SETUP_DIMENSIONS_BASE::m_dimensionSuppressZeroes, PANEL_SETUP_DIMENSIONS_BASE::m_dimensionTextKeepAligned, BOARD_DESIGN_SETTINGS::m_DimensionTextPosition, PANEL_SETUP_DIMENSIONS_BASE::m_dimensionTextPositionMode, PANEL_SETUP_DIMENSIONS_BASE::m_dimensionUnits, BOARD_DESIGN_SETTINGS::m_DimensionUnitsFormat, PANEL_SETUP_DIMENSIONS_BASE::m_dimensionUnitsFormat, BOARD_DESIGN_SETTINGS::m_DimensionUnitsMode, and m_extensionOffset.
Referenced by onUnitsChanged().
|
override |
Definition at line 66 of file panel_setup_dimensions.cpp.
References LoadFromSettings(), and m_brdSettings.
Referenced by onUnitsChanged().
|
private |
Definition at line 55 of file panel_setup_dimensions.h.
Referenced by LoadFromSettings(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 50 of file panel_setup_dimensions_base.h.
Referenced by PANEL_SETUP_DIMENSIONS_BASE::PANEL_SETUP_DIMENSIONS_BASE().
|
private |
Definition at line 54 of file panel_setup_dimensions.h.
Referenced by onUnitsChanged(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 49 of file panel_setup_dimensions_base.h.
Referenced by PANEL_SETUP_DIMENSIONS_BASE::PANEL_SETUP_DIMENSIONS_BASE().
|
protectedinherited |
Definition at line 53 of file panel_setup_dimensions_base.h.
Referenced by PANEL_SETUP_DIMENSIONS_BASE::PANEL_SETUP_DIMENSIONS_BASE().
|
protectedinherited |
Definition at line 54 of file panel_setup_dimensions_base.h.
Referenced by PANEL_SETUP_DIMENSIONS_BASE::PANEL_SETUP_DIMENSIONS_BASE().
|
protectedinherited |
Definition at line 47 of file panel_setup_dimensions_base.h.
Referenced by LoadFromSettings(), PANEL_SETUP_DIMENSIONS_BASE::PANEL_SETUP_DIMENSIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 51 of file panel_setup_dimensions_base.h.
Referenced by LoadFromSettings(), PANEL_SETUP_DIMENSIONS_BASE::PANEL_SETUP_DIMENSIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 45 of file panel_setup_dimensions_base.h.
Referenced by LoadFromSettings(), PANEL_SETUP_DIMENSIONS_BASE::PANEL_SETUP_DIMENSIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 42 of file panel_setup_dimensions_base.h.
Referenced by LoadFromSettings(), PANEL_SETUP_DIMENSIONS_BASE::PANEL_SETUP_DIMENSIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 40 of file panel_setup_dimensions_base.h.
Referenced by LoadFromSettings(), PANEL_SETUP_DIMENSIONS_BASE::PANEL_SETUP_DIMENSIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 44 of file panel_setup_dimensions_base.h.
Referenced by LoadFromSettings(), PANEL_SETUP_DIMENSIONS_BASE::PANEL_SETUP_DIMENSIONS_BASE(), and TransferDataFromWindow().
|
private |
Definition at line 56 of file panel_setup_dimensions.h.
Referenced by LoadFromSettings(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 48 of file panel_setup_dimensions_base.h.
Referenced by PANEL_SETUP_DIMENSIONS_BASE::PANEL_SETUP_DIMENSIONS_BASE().
|
protectedinherited |
Definition at line 46 of file panel_setup_dimensions_base.h.
Referenced by PANEL_SETUP_DIMENSIONS_BASE::PANEL_SETUP_DIMENSIONS_BASE().
|
protectedinherited |
Definition at line 39 of file panel_setup_dimensions_base.h.
Referenced by PANEL_SETUP_DIMENSIONS_BASE::PANEL_SETUP_DIMENSIONS_BASE().
|
protectedinherited |
Definition at line 43 of file panel_setup_dimensions_base.h.
Referenced by PANEL_SETUP_DIMENSIONS_BASE::PANEL_SETUP_DIMENSIONS_BASE().
|
protectedinherited |
Definition at line 52 of file panel_setup_dimensions_base.h.
Referenced by PANEL_SETUP_DIMENSIONS_BASE::PANEL_SETUP_DIMENSIONS_BASE().
|
protectedinherited |
Definition at line 41 of file panel_setup_dimensions_base.h.
Referenced by PANEL_SETUP_DIMENSIONS_BASE::PANEL_SETUP_DIMENSIONS_BASE().
|
private |
Definition at line 52 of file panel_setup_dimensions.h.
Referenced by PANEL_SETUP_DIMENSIONS(), and ~PANEL_SETUP_DIMENSIONS().
|
protectedinherited |
Definition at line 38 of file panel_setup_dimensions_base.h.
Referenced by PANEL_SETUP_DIMENSIONS_BASE::PANEL_SETUP_DIMENSIONS_BASE().
|
protectedinherited |
Definition at line 37 of file panel_setup_dimensions_base.h.
Referenced by PANEL_SETUP_DIMENSIONS_BASE::PANEL_SETUP_DIMENSIONS_BASE().
|
private |
Definition at line 53 of file panel_setup_dimensions.h.