KiCad PCB EDA Suite
|
A wxEnumProperty that displays a color next to the enum value. More...
#include <pg_properties.h>
Public Member Functions | |
PGPROPERTY_ANGLE () | |
virtual | ~PGPROPERTY_ANGLE ()=default |
bool | StringToValue (wxVariant &aVariant, const wxString &aText, int aArgFlags=0) const override |
wxString | ValueToString (wxVariant &aVariant, int aArgFlags=0) const override |
void | SetScale (double aScale) |
wxValidator * | DoGetValidator () const override |
Do not perform PG validation; the UX is not what we want. | |
bool | ValidateValue (wxVariant &, wxPGValidationInfo &) const override |
Protected Attributes | |
double | m_scale |
< Scale factor to convert between raw and displayed value | |
A wxEnumProperty that displays a color next to the enum value.
Definition at line 170 of file pg_properties.h.
|
inline |
Definition at line 173 of file pg_properties.h.
References m_scale.
|
virtualdefault |
|
override |
Do not perform PG validation; the UX is not what we want.
Definition at line 609 of file pg_properties.cpp.
|
inline |
Definition at line 193 of file pg_properties.h.
References m_scale.
Referenced by PGPropertyFactory().
|
override |
Definition at line 552 of file pg_properties.cpp.
References m_scale.
|
inlineoverride |
Definition at line 201 of file pg_properties.h.
|
override |
Definition at line 580 of file pg_properties.cpp.
References m_scale, and EDA_ANGLE_VARIANT_DATA::Write().
|
protected |
< Scale factor to convert between raw and displayed value
Definition at line 205 of file pg_properties.h.
Referenced by PGPROPERTY_ANGLE(), SetScale(), StringToValue(), and ValueToString().