Edit properties of placement type. 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 | |
PropertyPlacementItem () | |
virtual void | setValue (const QVariant &) |
virtual QVariant | toolTip (const App::Property *) const |
virtual QVariant | toString (const QVariant &) const |
virtual QVariant | value (const App::Property *) const |
~PropertyPlacementItem () | |
Properties | |
double | Angle |
Base::Vector3d | Axis |
Base::Vector3d | Position |
Edit properties of placement type.
Definition at line 390 of file PropertyItem.h.
PropertyPlacementItem::PropertyPlacementItem | ( | ) | [protected] |
PropertyPlacementItem::~PropertyPlacementItem | ( | ) | [protected] |
Definition at line 1128 of file PropertyItem.cpp.
void * Gui::PropertyEditor::PropertyPlacementItem::create | ( | void | ) | [static] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 1108 of file PropertyItem.cpp.
Referenced by PropertyPlacementItem().
Base::Type Gui::PropertyEditor::PropertyPlacementItem::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 1108 of file PropertyItem.cpp.
Base::Type Gui::PropertyEditor::PropertyPlacementItem::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 1108 of file PropertyItem.cpp.
void Gui::PropertyEditor::PropertyPlacementItem::init | ( | void | ) | [static] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 1108 of file PropertyItem.cpp.
void PropertyPlacementItem::setValue | ( | const QVariant & | value | ) | [protected, virtual] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 1262 of file PropertyItem.cpp.
References Base::Placement::getPosition(), Base::Placement::getRotation(), and Gui::PropertyEditor::PropertyItem::setPropertyValue().
QVariant PropertyPlacementItem::toolTip | ( | const App::Property * | prop | ) | const [protected, virtual] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 1222 of file PropertyItem.cpp.
References App::PropertyPlacement::getClassTypeId(), App::Property::getTypeId(), Base::Type::isDerivedFrom(), toString(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
QVariant PropertyPlacementItem::toString | ( | const QVariant & | prop | ) | const [protected, virtual] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 1244 of file PropertyItem.cpp.
References Base::Placement::getPosition(), Base::Placement::getRotation(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by toolTip().
QVariant PropertyPlacementItem::value | ( | const App::Property * | prop | ) | const [protected, virtual] |
Reimplemented from Gui::PropertyEditor::PropertyItem.
Definition at line 1207 of file PropertyItem.cpp.
References App::PropertyPlacement::getClassTypeId(), App::Property::getTypeId(), and Base::Type::isDerivedFrom().
double Gui::PropertyEditor::PropertyPlacementItem::Angle [read, write] |
Definition at line 393 of file PropertyItem.h.
Base::Vector3d Gui::PropertyEditor::PropertyPlacementItem::Axis [read, write] |
Definition at line 394 of file PropertyItem.h.
Base::Vector3d Gui::PropertyEditor::PropertyPlacementItem::Position [read, write] |
Definition at line 395 of file PropertyItem.h.