28 #ifndef __TERRALIB_LAYOUT_INTERNAL_MOVE_COMMAND_H
29 #define __TERRALIB_LAYOUT_INTERNAL_MOVE_COMMAND_H
32 #include "../../../../core/Config.h"
35 #include <QUndoCommand>
65 MoveCommand(QGraphicsItem* item,
const QPointF oldPos,
66 QUndoCommand *parent = 0);
74 MoveCommand(std::map<QGraphicsItem*, QPointF> items, QUndoCommand *parent = 0);
93 virtual QString createCommandString(QGraphicsItem* item,
const QPointF &pos);
#define TELAYOUTEXPORT
You can use this macro in order to export/import classes and functions from this module.
QList< QPointF > m_itemsPoints
std::map< QGraphicsItem *, QPointF > m_moveItems
Undo/Redo for moving components.