26#ifndef UNIT_SELECTOR_H
27#define UNIT_SELECTOR_H
38 const wxPoint& pos,
const wxSize& size,
39 const wxArrayString& choices,
long style = 0 ):
40 wxChoice( parent, id, pos, size, choices, style )
51 return GetStringSelection();
60 const wxPoint& pos,
const wxSize& size,
61 const wxArrayString& choices,
long style = 0 );
74 const wxPoint& pos,
const wxSize& size,
75 const wxArrayString& choices,
long style = 0 );
88 const wxPoint& pos,
const wxSize& size,
89 const wxArrayString& choices,
long style = 0 );
102 const wxPoint& pos,
const wxSize& size,
103 const wxArrayString& choices,
long style = 0 );
116 const wxPoint& pos,
const wxSize& size,
117 const wxArrayString& choices,
long style = 0 );
130 const wxPoint& pos,
const wxSize& size,
131 const wxArrayString& choices,
long style = 0 );
144 const wxPoint& pos,
const wxSize& size,
145 const wxArrayString& choices,
long style = 0 );
158 const wxArrayString& choices,
long style = 0 );
170 UNIT_SELECTOR_POWER( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
171 const wxArrayString& choices,
long style = 0 );
183 UNIT_SELECTOR_SPEED( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
184 const wxArrayString& choices,
long style = 0 );
196 UNIT_SELECTOR_TIME( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
197 const wxArrayString& choices,
long style = 0 );
UNIT_SELECTOR_ANGLE(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
double GetUnitScale() override
UNIT_SELECTOR_FREQUENCY(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
double GetUnitScale() override
double GetUnitScale() override
UNIT_SELECTOR_LEN_CABLE(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
UNIT_SELECTOR_LEN(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
double GetUnitScale() override
Return the scaling factor to convert users units to normalized units (meter).
UNIT_SELECTOR_LINEAR_RESISTANCE(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
double GetUnitScale() override
double GetUnitScale() override
UNIT_SELECTOR_POWER(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
UNIT_SELECTOR_RESISTOR(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
double GetUnitScale() override
double GetUnitScale() override
UNIT_SELECTOR_SPEED(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
UNIT_SELECTOR_THICKNESS(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
double GetUnitScale() override
UNIT_SELECTOR_TIME(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
double GetUnitScale() override
double GetUnitScale() override
UNIT_SELECTOR_VOLTAGE(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
UNIT_SELECTOR(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, const wxArrayString &choices, long style=0)
virtual double GetUnitScale()=0