KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PGPROPERTY_COORD Class Reference

Customized wxPGProperty class to handle angles. More...

#include <pg_properties.h>

Inheritance diagram for PGPROPERTY_COORD:
PGPROPERTY_DISTANCE

Public Member Functions

 PGPROPERTY_COORD (EDA_DRAW_FRAME *aParentFrame, ORIGIN_TRANSFORMS::COORD_TYPES_T aCoordType)
 
virtual ~PGPROPERTY_COORD ()=default
 
bool StringToValue (wxVariant &aVariant, const wxString &aText, int aArgFlags=0) const override
 
wxString ValueToString (wxVariant &aVariant, int aArgFlags=0) const override
 
wxValidator * DoGetValidator () const override
 
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

Customized wxPGProperty class to handle angles.

Definition at line 133 of file pg_properties.h.

Constructor & Destructor Documentation

◆ PGPROPERTY_COORD()

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

Definition at line 426 of file pg_properties.cpp.

◆ ~PGPROPERTY_COORD()

virtual PGPROPERTY_COORD::~PGPROPERTY_COORD ( )
virtualdefault

Member Function Documentation

◆ CoordType()

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

Definition at line 48 of file pg_properties.h.

References PGPROPERTY_DISTANCE::m_coordType.

◆ DistanceToString()

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

◆ DoGetValidator()

wxValidator * PGPROPERTY_COORD::DoGetValidator ( ) const
override

Definition at line 434 of file pg_properties.cpp.

◆ StringToDistance()

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

◆ StringToValue()

bool PGPROPERTY_COORD::StringToValue ( wxVariant &  aVariant,
const wxString &  aText,
int  aArgFlags = 0 
) const
inlineoverride

Definition at line 153 of file pg_properties.h.

References PGPROPERTY_DISTANCE::StringToDistance().

◆ ValueToString()

wxString PGPROPERTY_COORD::ValueToString ( wxVariant &  aVariant,
int  aArgFlags = 0 
) const
inlineoverride

Definition at line 159 of file pg_properties.h.

References PGPROPERTY_DISTANCE::DistanceToString().

Member Data Documentation

◆ m_coordType

ORIGIN_TRANSFORMS::COORD_TYPES_T PGPROPERTY_DISTANCE::m_coordType
protectedinherited

Definition at line 63 of file pg_properties.h.

Referenced by PGPROPERTY_DISTANCE::CoordType().

◆ m_parentFrame

EDA_DRAW_FRAME* PGPROPERTY_DISTANCE::m_parentFrame
protectedinherited

Definition at line 62 of file pg_properties.h.


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