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

仅改变宽度 更多...

#include <DACommandsForGraphics.h>

类 DA::DACommandsForGraphicsItemResizeWidth 继承关系图:

Public 成员函数

 DACommandsForGraphicsItemResizeWidth (DAGraphicsResizeableItem *item, const qreal &oldWidth, const qreal &newWidth, QUndoCommand *parent=nullptr)
 仅改变宽度
 
void redo () override
 
void undo () override
 
int id () const override
 
bool mergeWith (const QUndoCommand *command) override
 

详细描述

仅改变宽度

构造及析构函数说明

◆ DACommandsForGraphicsItemResizeWidth()

DA::DACommandsForGraphicsItemResizeWidth::DACommandsForGraphicsItemResizeWidth ( DAGraphicsResizeableItem item,
const qreal &  oldWidth,
const qreal &  newWidth,
QUndoCommand *  parent = nullptr 
)

仅改变宽度

参数
item
oldWidth
newWidth
parent

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