KiCad PCB EDA Suite
UNIT_SELECTOR Class Referenceabstract

#include <unit_selector.h>

Inheritance diagram for UNIT_SELECTOR:
UNIT_SELECTOR_ANGLE UNIT_SELECTOR_FREQUENCY UNIT_SELECTOR_LEN UNIT_SELECTOR_LEN_CABLE UNIT_SELECTOR_LINEAR_RESISTANCE UNIT_SELECTOR_POWER UNIT_SELECTOR_RESISTOR UNIT_SELECTOR_SPEED UNIT_SELECTOR_THICKNESS UNIT_SELECTOR_TIME UNIT_SELECTOR_VOLTAGE

Public Member Functions

 UNIT_SELECTOR (wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
 
virtual double GetUnitScale ()=0
 Function GetUnitScale. More...
 
wxString GetUnitName ()
 

Detailed Description

Definition at line 34 of file unit_selector.h.

Constructor & Destructor Documentation

◆ UNIT_SELECTOR()

UNIT_SELECTOR::UNIT_SELECTOR ( wxWindow *  parent,
wxWindowID  id,
const wxPoint &  pos,
const wxSize &  size,
const wxArrayString &  choices,
long  style = 0 
)
inline

Definition at line 37 of file unit_selector.h.

39 :
40 wxChoice( parent, id, pos, size, choices, style )
41 {
42 }

Member Function Documentation

◆ GetUnitName()

wxString UNIT_SELECTOR::GetUnitName ( )
inline

Definition at line 51 of file unit_selector.h.

52 {
53 return GetStringSelection();
54 }

Referenced by PANEL_TRACK_WIDTH::TWDisplayValues().

◆ GetUnitScale()

virtual double UNIT_SELECTOR::GetUnitScale ( )
pure virtual

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