DAWorkbench 0.0.1
DAWorkbench API
载入中...
搜索中...
未找到
DA::DACommandsForGraphicsItemMoved类 参考

移动item命令,必须先确保item是movable的 更多...

#include <DACommandsForGraphics.h>

类 DA::DACommandsForGraphicsItemMoved 继承关系图:

Public 成员函数

 DACommandsForGraphicsItemMoved (QGraphicsItem *item, const QPointF &start, const QPointF &end, bool skipfirst, QUndoCommand *parent=nullptr)
 
void redo () override
 
void undo () override
 
int id () const override
 
bool mergeWith (const QUndoCommand *command) override
 

Protected 属性

QGraphicsItem * mItem
 
QPointF mStartPos
 
QPointF mEndPos
 
bool mSkipFirst
 
QDateTime mDatetime
 

详细描述

移动item命令,必须先确保item是movable的


该类的文档由以下文件生成: