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)
 
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 100 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 406 of file pg_properties.cpp.

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 414 of file pg_properties.cpp.

◆ StringToDistance()

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

Definition at line 306 of file pg_properties.cpp.

Referenced by PGPROPERTY_SIZE::StringToValue(), and StringToValue().

◆ StringToValue()

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

Definition at line 105 of file pg_properties.h.

References PGPROPERTY_DISTANCE::StringToDistance().

◆ ValueToString()

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

Definition at line 111 of file pg_properties.h.

References PGPROPERTY_DISTANCE::DistanceToString().

Member Data Documentation

◆ m_coordType

ORIGIN_TRANSFORMS::COORD_TYPES_T PGPROPERTY_DISTANCE::m_coordType
protectedinherited

◆ m_parentFrame

EDA_DRAW_FRAME* PGPROPERTY_DISTANCE::m_parentFrame
protectedinherited

Definition at line 55 of file pg_properties.h.

Referenced by PGPROPERTY_DISTANCE::DistanceToString().


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