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

#include <panel_setup_dimensions.h>

Inheritance diagram for PANEL_SETUP_DIMENSIONS:
PANEL_SETUP_DIMENSIONS_BASE

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_PROVIDERm_unitsProvider
 
BOARD_DESIGN_SETTINGSm_brdSettings
 
UNIT_BINDER m_arrowLength
 
UNIT_BINDER m_extensionOffset
 

Detailed Description

Definition at line 36 of file panel_setup_dimensions.h.

Constructor & Destructor Documentation

◆ PANEL_SETUP_DIMENSIONS()

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

◆ ~PANEL_SETUP_DIMENSIONS()

PANEL_SETUP_DIMENSIONS::~PANEL_SETUP_DIMENSIONS ( )
override

Definition at line 44 of file panel_setup_dimensions.cpp.

References m_parentWindow, and onUnitsChanged().

Member Function Documentation

◆ LoadFromSettings()

◆ onUnitsChanged()

void PANEL_SETUP_DIMENSIONS::onUnitsChanged ( wxCommandEvent &  aEvent)
private

◆ TransferDataFromWindow()

◆ TransferDataToWindow()

bool PANEL_SETUP_DIMENSIONS::TransferDataToWindow ( )
override

Definition at line 66 of file panel_setup_dimensions.cpp.

References LoadFromSettings(), and m_brdSettings.

Referenced by onUnitsChanged().

Member Data Documentation

◆ m_arrowLength

UNIT_BINDER PANEL_SETUP_DIMENSIONS::m_arrowLength
private

Definition at line 55 of file panel_setup_dimensions.h.

Referenced by LoadFromSettings(), and TransferDataFromWindow().

◆ m_arrowLengthUnits

wxStaticText* PANEL_SETUP_DIMENSIONS_BASE::m_arrowLengthUnits
protectedinherited

◆ m_brdSettings

BOARD_DESIGN_SETTINGS* PANEL_SETUP_DIMENSIONS::m_brdSettings
private

◆ m_dimensionArrowLength

wxTextCtrl* PANEL_SETUP_DIMENSIONS_BASE::m_dimensionArrowLength
protectedinherited

◆ m_dimensionExtensionOffset

wxTextCtrl* PANEL_SETUP_DIMENSIONS_BASE::m_dimensionExtensionOffset
protectedinherited

◆ m_dimensionExtensionOffsetUnits

wxStaticText* PANEL_SETUP_DIMENSIONS_BASE::m_dimensionExtensionOffsetUnits
protectedinherited

◆ m_dimensionPrecision

wxChoice* PANEL_SETUP_DIMENSIONS_BASE::m_dimensionPrecision
protectedinherited

◆ m_dimensionSuppressZeroes

wxCheckBox* PANEL_SETUP_DIMENSIONS_BASE::m_dimensionSuppressZeroes
protectedinherited

◆ m_dimensionTextKeepAligned

wxCheckBox* PANEL_SETUP_DIMENSIONS_BASE::m_dimensionTextKeepAligned
protectedinherited

◆ m_dimensionTextPositionMode

wxChoice* PANEL_SETUP_DIMENSIONS_BASE::m_dimensionTextPositionMode
protectedinherited

◆ m_dimensionUnits

wxChoice* PANEL_SETUP_DIMENSIONS_BASE::m_dimensionUnits
protectedinherited

◆ m_dimensionUnitsFormat

wxChoice* PANEL_SETUP_DIMENSIONS_BASE::m_dimensionUnitsFormat
protectedinherited

◆ m_extensionOffset

UNIT_BINDER PANEL_SETUP_DIMENSIONS::m_extensionOffset
private

Definition at line 56 of file panel_setup_dimensions.h.

Referenced by LoadFromSettings(), and TransferDataFromWindow().

◆ m_lblArrowLength

wxStaticText* PANEL_SETUP_DIMENSIONS_BASE::m_lblArrowLength
protectedinherited

◆ m_lblDimensionPrecision

wxStaticText* PANEL_SETUP_DIMENSIONS_BASE::m_lblDimensionPrecision
protectedinherited

◆ m_lblDimensionUnits

wxStaticText* PANEL_SETUP_DIMENSIONS_BASE::m_lblDimensionUnits
protectedinherited

◆ m_lblDimensionUnitsFormat

wxStaticText* PANEL_SETUP_DIMENSIONS_BASE::m_lblDimensionUnitsFormat
protectedinherited

◆ m_lblExtensionOffset

wxStaticText* PANEL_SETUP_DIMENSIONS_BASE::m_lblExtensionOffset
protectedinherited

◆ m_lblTextPositionMode

wxStaticText* PANEL_SETUP_DIMENSIONS_BASE::m_lblTextPositionMode
protectedinherited

◆ m_parentWindow

wxWindow* PANEL_SETUP_DIMENSIONS::m_parentWindow
private

Definition at line 52 of file panel_setup_dimensions.h.

Referenced by PANEL_SETUP_DIMENSIONS(), and ~PANEL_SETUP_DIMENSIONS().

◆ m_staticline1

wxStaticLine* PANEL_SETUP_DIMENSIONS_BASE::m_staticline1
protectedinherited

◆ m_staticTextDefPropDim

wxStaticText* PANEL_SETUP_DIMENSIONS_BASE::m_staticTextDefPropDim
protectedinherited

◆ m_unitsProvider

UNITS_PROVIDER& PANEL_SETUP_DIMENSIONS::m_unitsProvider
private

Definition at line 53 of file panel_setup_dimensions.h.


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