Change a floating point number. More...
#include <PropertyItem.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
Static Public Member Functions | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Protected Member Functions | |
PropertyFloatItem () | |
virtual void | setValue (const QVariant &) |
virtual QVariant | toString (const QVariant &) const |
virtual QVariant | value (const App::Property *) const |
Change a floating point number.
Definition at line 200 of file PropertyItem.h.
PropertyFloatItem::PropertyFloatItem | ( | ) | [protected] |
Definition at line 527 of file PropertyItem.cpp.
void * Gui::PropertyEditor::PropertyFloatItem::create | ( | void | ) | [static] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Reimplemented in Gui::PropertyEditor::PropertyAngleItem.
Definition at line 525 of file PropertyItem.cpp.
Base::Type Gui::PropertyEditor::PropertyFloatItem::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Reimplemented in Gui::PropertyEditor::PropertyAngleItem.
Definition at line 525 of file PropertyItem.cpp.
Base::Type Gui::PropertyEditor::PropertyFloatItem::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Reimplemented in Gui::PropertyEditor::PropertyAngleItem.
Definition at line 525 of file PropertyItem.cpp.
void Gui::PropertyEditor::PropertyFloatItem::init | ( | void | ) | [static] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Reimplemented in Gui::PropertyEditor::PropertyAngleItem.
Definition at line 525 of file PropertyItem.cpp.
void PropertyFloatItem::setValue | ( | const QVariant & | value | ) | [protected, virtual] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 570 of file PropertyItem.cpp.
References Gui::PropertyEditor::PropertyItem::setPropertyValue().
QVariant PropertyFloatItem::toString | ( | const QVariant & | prop | ) | const [protected, virtual] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Reimplemented in Gui::PropertyEditor::PropertyAngleItem.
Definition at line 531 of file PropertyItem.cpp.
References Base::Acceleration, App::PropertyAcceleration::getClassTypeId(), App::PropertySpeed::getClassTypeId(), App::PropertyLength::getClassTypeId(), App::PropertyDistance::getClassTypeId(), Base::UnitsApi::getPrefUnitOf(), Gui::PropertyEditor::PropertyItem::getPropertyData(), Base::Length, and value().
QVariant PropertyFloatItem::value | ( | const App::Property * | prop | ) | const [protected, virtual] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 562 of file PropertyItem.cpp.
References App::PropertyFloat::getClassTypeId(), App::Property::getTypeId(), and Base::Type::isDerivedFrom().
Referenced by Gui::PropertyEditor::PropertyAngleItem::toString(), and toString().