KiCad PCB EDA Suite
|
#include <wx/app.h>
#include <wx/colour.h>
#include <wx/msgdlg.h>
#include <calculator_panels/panel_transline.h>
#include <pcb_calculator_frame.h>
#include <transline/transline.h>
Go to the source code of this file.
Macros | |
#define | MSG_CNT_MAX 8 |
Functions | |
double | DoubleFromString (const wxString &TextValue) |
PANEL_TRANSLINE * | getTranslinePanel () |
void | SetPropertyInDialog (enum PRMS_ID aPrmId, double value) |
void | SetPropertyBgColorInDialog (enum PRMS_ID aPrmId, const KIGFX::COLOR4D *aCol) |
Function SetPropertyBgColorInDialog Set the background color of a parameter. | |
void | SetResultInDialog (int line, const char *aText) |
void | SetResultInDialog (int aLineNumber, double aValue, const char *aText) |
double | GetPropertyInDialog (enum PRMS_ID aPrmId) |
bool | IsSelectedInDialog (enum PRMS_ID aPrmId) |
#define MSG_CNT_MAX 8 |
double DoubleFromString | ( | const wxString & | TextValue | ) |
Definition at line 37 of file params_read_write.cpp.
Referenced by DIALOG_REGULATOR_FORM::BuildRegulatorFromData(), PANEL_ELECTRICAL_SPACING_IPC2221::ElectricalSpacingUpdateData(), PANEL_GALVANIC_CORROSION::LoadSettings(), PANEL_R_CALCULATOR::OnCalculateESeries(), PANEL_CABLE_SIZE::OnConductorResistivityChange(), PANEL_CABLE_SIZE::OnConductorThermCoefChange(), PANEL_GALVANIC_CORROSION::OnCorFilterChange(), PANEL_TRACK_WIDTH::OnTWCalculateFromCurrent(), PANEL_TRACK_WIDTH::OnTWCalculateFromExtWidth(), PANEL_TRACK_WIDTH::OnTWCalculateFromIntWidth(), PANEL_VIA_SIZE::onUpdateViaCalcErrorText(), PANEL_VIA_SIZE::OnViaCalculate(), PANEL_REGULATOR::RegulatorsSolve(), PANEL_ELECTRICAL_SPACING_IEC60664::SaveSettings(), PANEL_TRANSLINE::TransfDlgDataToTranslineParams(), DIALOG_REGULATOR_FORM::TransferDataFromWindow(), PANEL_RF_ATTENUATORS::TransfPanelDataToAttenuator(), and PANEL_TRACK_WIDTH::TWDisplayValues().
double GetPropertyInDialog | ( | enum PRMS_ID | aPrmId | ) |
Definition at line 123 of file params_read_write.cpp.
References PANEL_TRANSLINE::GetPrmValue(), and getTranslinePanel().
Referenced by TRANSLINE::getProperty().
PANEL_TRANSLINE * getTranslinePanel | ( | ) |
Definition at line 80 of file params_read_write.cpp.
References PCB_CALCULATOR_FRAME::GetCalculator().
Referenced by GetPropertyInDialog(), IsSelectedInDialog(), SetPropertyBgColorInDialog(), SetPropertyInDialog(), and SetResultInDialog().
bool IsSelectedInDialog | ( | enum PRMS_ID | aPrmId | ) |
Definition at line 130 of file params_read_write.cpp.
References getTranslinePanel(), and PANEL_TRANSLINE::IsPrmSelected().
Referenced by TRANSLINE::isSelected().
void SetPropertyBgColorInDialog | ( | enum PRMS_ID | aPrmId, |
const KIGFX::COLOR4D * | aCol | ||
) |
Function SetPropertyBgColorInDialog Set the background color of a parameter.
aPrmId | = param id to set |
aCol | = new color |
Definition at line 98 of file params_read_write.cpp.
References getTranslinePanel(), and PANEL_TRANSLINE::SetPrmBgColor().
Referenced by TRANSLINE::setErrorLevel().
void SetPropertyInDialog | ( | enum PRMS_ID | aPrmId, |
double | value | ||
) |
Definition at line 93 of file params_read_write.cpp.
References getTranslinePanel(), and PANEL_TRANSLINE::SetPrmValue().
Referenced by TRANSLINE::setProperty().
void SetResultInDialog | ( | int | aLineNumber, |
double | aValue, | ||
const char * | aText | ||
) |
Definition at line 113 of file params_read_write.cpp.
References getTranslinePanel(), and PANEL_TRANSLINE::SetResult().
void SetResultInDialog | ( | int | line, |
const char * | aText | ||
) |
Definition at line 105 of file params_read_write.cpp.
References getTranslinePanel(), and PANEL_TRANSLINE::SetResult().
Referenced by TRANSLINE::setResult().