KiCad PCB EDA Suite
|
#include <unit_selector.h>
Public Member Functions | |
UNIT_SELECTOR_LINEAR_RESISTANCE (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 132 of file unit_selector.h.
UNIT_SELECTOR_LINEAR_RESISTANCE::UNIT_SELECTOR_LINEAR_RESISTANCE | ( | wxWindow * | parent, |
wxWindowID | id, | ||
const wxPoint & | pos, | ||
const wxSize & | size, | ||
const wxArrayString & | choices, | ||
long | style = 0 |
||
) |
Definition at line 175 of file unit_selector.cpp.
|
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 192 of file unit_selector.cpp.
References GetCurrentSelection(), UNIT_OHM_PER_1000FEET, UNIT_OHM_PER_FEET, UNIT_OHM_PER_KILOMETER, and UNIT_OHM_PER_METER.
Referenced by PANEL_CABLE_SIZE::OnLinResistanceChange(), and PANEL_CABLE_SIZE::printAll().