![]() |
KiCad PCB EDA Suite
|
#include <transline_ident.h>
Public Member Functions | |
TRANSLINE_PRM (PRM_TYPE aType, PRMS_ID aId, const char *aKeywordCfg="", const wxString &aDlgLabel=wxEmptyString, const wxString &aToolTip=wxEmptyString, double aValue=0.0, bool aConvUnit=false) | |
TRANSLINE_PRM ctor. More... | |
double | ToUserUnit () |
double | FromUserUnit () |
Public Attributes | |
PRM_TYPE | m_Type |
PRMS_ID | m_Id |
std::string | m_KeyWord |
wxString | m_DlgLabel |
wxString | m_ToolTip |
double | m_Value |
double | m_NormalizedValue |
bool | m_ConvUnit |
void * | m_ValueCtrl |
void * | m_UnitCtrl |
int | m_UnitSelection |
Definition at line 56 of file transline_ident.h.
TRANSLINE_PRM::TRANSLINE_PRM | ( | PRM_TYPE | aType, |
PRMS_ID | aId, | ||
const char * | aKeywordCfg = "" , |
||
const wxString & | aDlgLabel = wxEmptyString , |
||
const wxString & | aToolTip = wxEmptyString , |
||
double | aValue = 0.0 , |
||
bool | aConvUnit = false |
||
) |
TRANSLINE_PRM ctor.
aKeywordCfg | is the keyword used in config to identify the parameter only ASCII7 keyword is valid |
aDlgLabel | is a I18n string used to identify the parameter in dialog. usually aDlgLabel is same as aKeywordCfg, but translatable |
Definition at line 59 of file transline_ident.cpp.
References m_ConvUnit, m_DlgLabel, m_Id, m_KeyWord, m_NormalizedValue, m_ToolTip, m_Type, m_UnitCtrl, m_UnitSelection, m_Value, m_ValueCtrl, and NULL.
double TRANSLINE_PRM::FromUserUnit | ( | ) |
Definition at line 89 of file transline_ident.cpp.
References m_UnitCtrl.
double TRANSLINE_PRM::ToUserUnit | ( | ) |
Definition at line 80 of file transline_ident.cpp.
References m_ConvUnit, and m_UnitCtrl.
Referenced by PCB_CALCULATOR_FRAME::SetPrmValue().
bool TRANSLINE_PRM::m_ConvUnit |
Definition at line 66 of file transline_ident.h.
Referenced by ToUserUnit(), TRANSLINE_PRM(), and PCB_CALCULATOR_FRAME::TranslineTypeSelection().
wxString TRANSLINE_PRM::m_DlgLabel |
Definition at line 62 of file transline_ident.h.
Referenced by TRANSLINE_PRM(), and PCB_CALCULATOR_FRAME::TranslineTypeSelection().
PRMS_ID TRANSLINE_PRM::m_Id |
Definition at line 60 of file transline_ident.h.
Referenced by PCB_CALCULATOR_FRAME::GetPrmValue(), PCB_CALCULATOR_FRAME::SetPrmBgColor(), PCB_CALCULATOR_FRAME::SetPrmValue(), TRANSLINE_PRM(), and PCB_CALCULATOR_FRAME::TranslineTypeSelection().
std::string TRANSLINE_PRM::m_KeyWord |
Definition at line 61 of file transline_ident.h.
Referenced by TRANSLINE_PRM().
double TRANSLINE_PRM::m_NormalizedValue |
Definition at line 65 of file transline_ident.h.
Referenced by PCB_CALCULATOR_FRAME::GetPrmValue(), PCB_CALCULATOR_FRAME::SetPrmValue(), PCB_CALCULATOR_FRAME::TransfDlgDataToTranslineParams(), and TRANSLINE_PRM().
wxString TRANSLINE_PRM::m_ToolTip |
Definition at line 63 of file transline_ident.h.
Referenced by TRANSLINE_PRM(), and PCB_CALCULATOR_FRAME::TranslineTypeSelection().
PRM_TYPE TRANSLINE_PRM::m_Type |
Definition at line 59 of file transline_ident.h.
Referenced by TRANSLINE_PRM(), and PCB_CALCULATOR_FRAME::TranslineTypeSelection().
void* TRANSLINE_PRM::m_UnitCtrl |
Definition at line 68 of file transline_ident.h.
Referenced by FromUserUnit(), ToUserUnit(), PCB_CALCULATOR_FRAME::TransfDlgDataToTranslineParams(), TRANSLINE_PRM(), and PCB_CALCULATOR_FRAME::TranslineTypeSelection().
int TRANSLINE_PRM::m_UnitSelection |
Definition at line 69 of file transline_ident.h.
Referenced by PCB_CALCULATOR_FRAME::TransfDlgDataToTranslineParams(), TRANSLINE_PRM(), and PCB_CALCULATOR_FRAME::TranslineTypeSelection().
double TRANSLINE_PRM::m_Value |
Definition at line 64 of file transline_ident.h.
Referenced by PCB_CALCULATOR_FRAME::SetPrmValue(), PCB_CALCULATOR_FRAME::TransfDlgDataToTranslineParams(), TRANSLINE_PRM(), and PCB_CALCULATOR_FRAME::TranslineTypeSelection().
void* TRANSLINE_PRM::m_ValueCtrl |
Definition at line 67 of file transline_ident.h.
Referenced by PCB_CALCULATOR_FRAME::SetPrmBgColor(), PCB_CALCULATOR_FRAME::SetPrmValue(), PCB_CALCULATOR_FRAME::TransfDlgDataToTranslineParams(), TRANSLINE_PRM(), and PCB_CALCULATOR_FRAME::TranslineTypeSelection().