33 m_parentWindow( aParentWindow ),
34 m_unitsProvider( aUnitsProvider ),
35 m_brdSettings( &aBrdSettings ),
36 m_arrowLength( &m_unitsProvider, aParentWindow, m_lblArrowLength, m_dimensionArrowLength, m_arrowLengthUnits ),
37 m_extensionOffset( &m_unitsProvider, aParentWindow, m_lblExtensionOffset, m_dimensionExtensionOffset,
38 m_dimensionExtensionOffsetUnits )
Container for design settings for a BOARD object.
DIM_PRECISION m_DimensionPrecision
Number of digits after the decimal.
DIM_UNITS_FORMAT m_DimensionUnitsFormat
bool m_DimensionSuppressZeroes
bool m_DimensionKeepTextAligned
DIM_TEXT_POSITION m_DimensionTextPosition
DIM_UNITS_MODE m_DimensionUnitsMode
int m_DimensionExtensionOffset
int m_DimensionArrowLength
Class PANEL_SETUP_DIMENSIONS_BASE.
wxChoice * m_dimensionTextPositionMode
wxChoice * m_dimensionPrecision
wxChoice * m_dimensionUnitsFormat
wxChoice * m_dimensionUnits
wxCheckBox * m_dimensionTextKeepAligned
wxCheckBox * m_dimensionSuppressZeroes
void onUnitsChanged(wxCommandEvent &aEvent)
bool TransferDataFromWindow() override
wxWindow * m_parentWindow
~PANEL_SETUP_DIMENSIONS() override
BOARD_DESIGN_SETTINGS * m_brdSettings
void LoadFromSettings(const BOARD_DESIGN_SETTINGS &aBrdSettings)
UNIT_BINDER m_extensionOffset
bool TransferDataToWindow() override
UNIT_BINDER m_arrowLength
PANEL_SETUP_DIMENSIONS(wxWindow *aParentWindow, UNITS_PROVIDER &aUnitsProvider, BOARD_DESIGN_SETTINGS &aBrdSettings)
virtual long long int GetValue()
Return the current value in Internal Units.
virtual void SetValue(long long int aValue)
Set new value (in Internal Units) for the text field, taking care of units conversion.
DIM_TEXT_POSITION
Where to place the text on a dimension.
DIM_UNITS_FORMAT
How to display the units in a dimension's text.
DIM_UNITS_MODE
Used for storing the units selection in the file because EDA_UNITS alone doesn't cut it.