#include <arenasceneelement.h>
Public Slots | |
void | slotPosChanged (ArenaElement *element, QPoint pos) |
void | slotRotationChanged (ArenaElement *element, int rotation) |
Public Member Functions | |
ArenaSceneElement (ArenaElement *element) | |
ArenaElement * | element () const |
QPointF | gridOffset () |
bool | isEditorSample () |
void | setIsEditorSample (bool isEditorSample) |
Private Member Functions | |
void | mousePressEvent (QGraphicsSceneMouseEvent *event) |
Private Attributes | |
ArenaElement * | m_element |
bool | m_isEditorSample |
Definition at line 9 of file arenasceneelement.h.
ArenaSceneElement::ArenaSceneElement | ( | ArenaElement * | element | ) | [explicit] |
Definition at line 17 of file arenasceneelement.cpp.
ArenaElement* ArenaSceneElement::element | ( | ) | const [inline] |
Definition at line 21 of file arenasceneelement.h.
QPointF ArenaSceneElement::gridOffset | ( | ) |
Definition at line 56 of file arenasceneelement.cpp.
bool ArenaSceneElement::isEditorSample | ( | ) | [inline] |
Definition at line 16 of file arenasceneelement.h.
void ArenaSceneElement::mousePressEvent | ( | QGraphicsSceneMouseEvent * | event | ) | [private] |
Definition at line 84 of file arenasceneelement.cpp.
void ArenaSceneElement::setIsEditorSample | ( | bool | isEditorSample | ) |
Definition at line 50 of file arenasceneelement.cpp.
void ArenaSceneElement::slotPosChanged | ( | ArenaElement * | element, |
QPoint | pos | ||
) | [slot] |
Definition at line 104 of file arenasceneelement.cpp.
void ArenaSceneElement::slotRotationChanged | ( | ArenaElement * | element, |
int | rotation | ||
) | [slot] |
Definition at line 78 of file arenasceneelement.cpp.
ArenaElement* ArenaSceneElement::m_element [private] |
Definition at line 31 of file arenasceneelement.h.
bool ArenaSceneElement::m_isEditorSample [private] |
Definition at line 30 of file arenasceneelement.h.