#include <chassiscircular2.h>
Inheritance diagram for ChassisCircular2:


Public Member Functions | |
| ChassisCircular2 (MechanicsDocument *mechanicsDocument, bool newItem, const char *id=0) | |
| ~ChassisCircular2 () | |
| virtual void | advance (int phase) |
Static Public Member Functions | |
| static Item * | construct (ItemDocument *itemDocument, bool newItem, const char *id) |
| static LibraryItem * | libraryItem () |
Protected Member Functions | |
| virtual void | itemResized () |
| void | drawShape (QPainter &p) |
Protected Attributes | |
| double | m_theta1 |
| double | m_theta2 |
| QRect | m_wheel1Pos |
| QRect | m_wheel2Pos |
Definition at line 23 of file chassiscircular2.h.
| void ChassisCircular2::itemResized | ( | ) | [protected, virtual] |
Called when this item is resized, so that sub classes can do whatever
Reimplemented from MechanicsItem.
Definition at line 68 of file chassiscircular2.cpp.
References m_wheel1Pos, m_wheel2Pos, and Item::sizeRect().
Referenced by ChassisCircular2().
1.5.1