Change a Unit based 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 | |
PropertyUnitItem () | |
virtual void | setValue (const QVariant &) |
virtual QVariant | value (const App::Property *) const |
Protected Attributes | |
Base::QuantityType | UnitType |
Change a Unit based floating point number.
Definition at line 221 of file PropertyItem.h.
PropertyUnitItem::PropertyUnitItem | ( | ) | [protected] |
Definition at line 631 of file PropertyItem.cpp.
void * Gui::PropertyEditor::PropertyUnitItem::create | ( | void | ) | [static] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 629 of file PropertyItem.cpp.
Base::Type Gui::PropertyEditor::PropertyUnitItem::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 629 of file PropertyItem.cpp.
Base::Type Gui::PropertyEditor::PropertyUnitItem::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 629 of file PropertyItem.cpp.
void Gui::PropertyEditor::PropertyUnitItem::init | ( | void | ) | [static] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 629 of file PropertyItem.cpp.
void PropertyUnitItem::setValue | ( | const QVariant & | value | ) | [protected, virtual] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 647 of file PropertyItem.cpp.
References Gui::PropertyEditor::PropertyItem::setPropertyValue().
QVariant PropertyUnitItem::value | ( | const App::Property * | prop | ) | const [protected, virtual] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 635 of file PropertyItem.cpp.
References App::PropertyLength::getClassTypeId(), App::Property::getTypeId(), Base::Type::isDerivedFrom(), Base::Length, and Base::UnitsApi::toStrWithUserPrefs().
Definition at line 233 of file PropertyItem.h.