4 #include <QGraphicsScene> 5 #include <QGraphicsSceneDragDropEvent> 6 #include <QGraphicsSceneDragDropEvent> 46 #endif // ARENASCENE_H QMap< ArenaElement *, ArenaSceneElement * > m_elements
QList< ArenaSceneElement * > selectedElements()
void slotElementAdded(ArenaElement *element)
static QPoint sceneToGrid(QPointF scenePos)
void slotElementRemoved(ArenaElement *element)
static QPointF sceneToGridF(QPointF scenePos)
static QPointF nearestGridPoint(QPointF scenePos)
static QPointF gridToScene(QPointF gridPos)
ArenaSceneElement * sceneElementFor(ArenaElement *element)