|
DAWorkbench 0.0.1
DAWorkbench API
|
仅改变宽度 更多...
#include <DACommandsForGraphics.h>
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 |
仅改变宽度
| DA::DACommandsForGraphicsItemResizeWidth::DACommandsForGraphicsItemResizeWidth | ( | DAGraphicsResizeableItem * | item, |
| const qreal & | oldWidth, | ||
| const qreal & | newWidth, | ||
| QUndoCommand * | parent = nullptr |
||
| ) |
仅改变宽度
| item | |
| oldWidth | |
| newWidth | |
| parent |