KiCad PCB EDA Suite
|
#include <unit_selector.h>
Public Member Functions | |
UNIT_SELECTOR_LEN (wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0) | |
double | GetUnitScale () override |
Function GetUnitScale. | |
wxString | GetUnitName () |
Definition at line 57 of file unit_selector.h.
UNIT_SELECTOR_LEN::UNIT_SELECTOR_LEN | ( | wxWindow * | parent, |
wxWindowID | id, | ||
const wxPoint & | pos, | ||
const wxSize & | size, | ||
const wxArrayString & | choices, | ||
long | style = 0 |
||
) |
Definition at line 29 of file unit_selector.cpp.
References _.
|
inlineinherited |
Definition at line 51 of file unit_selector.h.
Referenced by PANEL_TRACK_WIDTH::TWDisplayValues().
|
overridevirtual |
Function GetUnitScale.
Implements UNIT_SELECTOR.
Definition at line 47 of file unit_selector.cpp.
References GetCurrentSelection(), UNIT_CM, UNIT_INCH, UNIT_MICRON, UNIT_MIL, and UNIT_MM.
Referenced by PANEL_BOARD_CLASS::LoadSettings(), PANEL_ELECTRICAL_SPACING_IPC2221::LoadSettings(), PANEL_BOARD_CLASS::OnBoardClassesUnitsSelection(), PANEL_CABLE_SIZE::OnDiameterChange(), PANEL_ELECTRICAL_SPACING_IPC2221::OnElectricalSpacingRefresh(), PANEL_ELECTRICAL_SPACING_IPC2221::OnElectricalSpacingUnitsSelection(), PANEL_TRACK_WIDTH::OnTWCalculateFromExtWidth(), PANEL_TRACK_WIDTH::OnTWCalculateFromIntWidth(), PANEL_VIA_SIZE::onUpdateViaCalcErrorText(), PANEL_VIA_SIZE::OnViaCalculate(), PANEL_CABLE_SIZE::printAll(), and PANEL_TRACK_WIDTH::TWDisplayValues().