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

#include <pg_properties.h>

Inheritance diagram for PGPROPERTY_RATIO:

Public Member Functions

 PGPROPERTY_RATIO ()
 
const wxPGEditor * DoGetEditorClass () const override
 
virtual ~PGPROPERTY_RATIO ()=default
 
bool StringToValue (wxVariant &aVariant, const wxString &aText, int aArgFlags=0) const override
 
wxString ValueToString (wxVariant &aVariant, int aArgFlags=0) const override
 
bool ValidateValue (wxVariant &aValue, wxPGValidationInfo &aValidationInfo) const override
 
wxValidator * DoGetValidator () const override
 

Detailed Description

Definition at line 245 of file pg_properties.h.

Constructor & Destructor Documentation

◆ PGPROPERTY_RATIO()

PGPROPERTY_RATIO::PGPROPERTY_RATIO ( )

Definition at line 440 of file pg_properties.cpp.

References PG_RATIO_EDITOR::EDITOR_NAME.

◆ ~PGPROPERTY_RATIO()

virtual PGPROPERTY_RATIO::~PGPROPERTY_RATIO ( )
virtualdefault

Member Function Documentation

◆ DoGetEditorClass()

const wxPGEditor * PGPROPERTY_RATIO::DoGetEditorClass ( ) const
override

Definition at line 447 of file pg_properties.cpp.

◆ DoGetValidator()

wxValidator * PGPROPERTY_RATIO::DoGetValidator ( ) const
override

Definition at line 517 of file pg_properties.cpp.

◆ StringToValue()

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

Definition at line 459 of file pg_properties.cpp.

◆ ValidateValue()

bool PGPROPERTY_RATIO::ValidateValue ( wxVariant &  aValue,
wxPGValidationInfo &  aValidationInfo 
) const
override

Definition at line 500 of file pg_properties.cpp.

◆ ValueToString()

wxString PGPROPERTY_RATIO::ValueToString ( wxVariant &  aVariant,
int  aArgFlags = 0 
) const
override

Definition at line 472 of file pg_properties.cpp.

References STD_OPTIONAL_DOUBLE_VARIANT_DATA::Value().


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