KiCad PCB EDA Suite
Loading...
Searching...
No Matches
transline.cpp File Reference
#include <cmath>
#include <wx/colour.h>
#include <wx/settings.h>
#include "transline.h"
#include "units.h"

Go to the source code of this file.

Functions

void SetPropertyInDialog (enum PRMS_ID aPrmId, double value)
 
void SetResultInDialog (int line, const char *text)
 
void SetResultInDialog (int aLineNumber, double aValue, const char *aText)
 
double GetPropertyInDialog (enum PRMS_ID aPrmId)
 
bool IsSelectedInDialog (enum PRMS_ID aPrmId)
 
void SetPropertyBgColorInDialog (enum PRMS_ID aPrmId, const KIGFX::COLOR4D *aCol)
 Function SetPropertyBgColorInDialog Set the background color of a parameter.
 

Function Documentation

◆ GetPropertyInDialog()

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().

◆ IsSelectedInDialog()

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().

◆ SetPropertyBgColorInDialog()

void SetPropertyBgColorInDialog ( enum PRMS_ID aPrmId,
const KIGFX::COLOR4D * aCol )

Function SetPropertyBgColorInDialog Set the background color of a parameter.

Parameters
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().

◆ SetPropertyInDialog()

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().

◆ SetResultInDialog() [1/2]

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().

◆ SetResultInDialog() [2/2]

void SetResultInDialog ( int line,
const char * text )