#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 | |
PropertyVectorItem () | |
virtual void | setValue (const QVariant &) |
virtual QVariant | toString (const QVariant &) const |
virtual QVariant | value (const App::Property *) const |
Properties | |
double | x |
double | y |
double | z |
Definition at line 300 of file PropertyItem.h.
PropertyVectorItem::PropertyVectorItem | ( | ) | [protected] |
Definition at line 834 of file PropertyItem.cpp.
References Gui::PropertyEditor::PropertyItem::appendChild(), create(), Gui::PropertyEditor::PropertyItem::setParent(), and Gui::PropertyEditor::PropertyItem::setPropertyName().
void * Gui::PropertyEditor::PropertyVectorItem::create | ( | void | ) | [static] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 832 of file PropertyItem.cpp.
Referenced by PropertyVectorItem().
Base::Type Gui::PropertyEditor::PropertyVectorItem::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 832 of file PropertyItem.cpp.
Base::Type Gui::PropertyEditor::PropertyVectorItem::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 832 of file PropertyItem.cpp.
void Gui::PropertyEditor::PropertyVectorItem::init | ( | void | ) | [static] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 832 of file PropertyItem.cpp.
void PropertyVectorItem::setValue | ( | const QVariant & | value | ) | [protected, virtual] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 868 of file PropertyItem.cpp.
References Gui::PropertyEditor::PropertyItem::setPropertyValue(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
QVariant PropertyVectorItem::toString | ( | const QVariant & | prop | ) | const [protected, virtual] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 850 of file PropertyItem.cpp.
References value(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
QVariant PropertyVectorItem::value | ( | const App::Property * | prop | ) | const [protected, virtual] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 860 of file PropertyItem.cpp.
References App::PropertyVector::getClassTypeId(), App::Property::getTypeId(), and Base::Type::isDerivedFrom().
Referenced by toString().
double PropertyVectorItem::x [read, write] |
Definition at line 303 of file PropertyItem.h.
double PropertyVectorItem::y [read, write] |
Definition at line 304 of file PropertyItem.h.
double PropertyVectorItem::z [read, write] |
Definition at line 305 of file PropertyItem.h.