KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PGPROPERTY_DISTANCE Class Referenceabstract

#include <pg_properties.h>

Inheritance diagram for PGPROPERTY_DISTANCE:
PGPROPERTY_COORD PGPROPERTY_SIZE

Public Member Functions

 PGPROPERTY_DISTANCE (EDA_DRAW_FRAME *aParentFrame, ORIGIN_TRANSFORMS::COORD_TYPES_T aCoordType)
 
virtual ~PGPROPERTY_DISTANCE ()=0
 
ORIGIN_TRANSFORMS::COORD_TYPES_T CoordType () const
 

Protected Member Functions

bool StringToDistance (wxVariant &aVariant, const wxString &aText, int aArgFlags=0) const
 
wxString DistanceToString (wxVariant &aVariant, int aArgFlags=0) const
 

Protected Attributes

EDA_DRAW_FRAMEm_parentFrame
 
ORIGIN_TRANSFORMS::COORD_TYPES_T m_coordType
 

Detailed Description

Definition at line 41 of file pg_properties.h.

Constructor & Destructor Documentation

◆ PGPROPERTY_DISTANCE()

PGPROPERTY_DISTANCE::PGPROPERTY_DISTANCE ( EDA_DRAW_FRAME aParentFrame,
ORIGIN_TRANSFORMS::COORD_TYPES_T  aCoordType 
)

Definition at line 293 of file pg_properties.cpp.

◆ ~PGPROPERTY_DISTANCE()

PGPROPERTY_DISTANCE::~PGPROPERTY_DISTANCE ( )
pure virtual

Definition at line 301 of file pg_properties.cpp.

Member Function Documentation

◆ CoordType()

ORIGIN_TRANSFORMS::COORD_TYPES_T PGPROPERTY_DISTANCE::CoordType ( ) const
inline

Definition at line 48 of file pg_properties.h.

References m_coordType.

◆ DistanceToString()

wxString PGPROPERTY_DISTANCE::DistanceToString ( wxVariant &  aVariant,
int  aArgFlags = 0 
) const
protected

◆ StringToDistance()

bool PGPROPERTY_DISTANCE::StringToDistance ( wxVariant &  aVariant,
const wxString &  aText,
int  aArgFlags = 0 
) const
protected

Member Data Documentation

◆ m_coordType

ORIGIN_TRANSFORMS::COORD_TYPES_T PGPROPERTY_DISTANCE::m_coordType
protected

Definition at line 63 of file pg_properties.h.

Referenced by CoordType().

◆ m_parentFrame

EDA_DRAW_FRAME* PGPROPERTY_DISTANCE::m_parentFrame
protected

Definition at line 62 of file pg_properties.h.


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