You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWATI/Include/iPlot/iPlotBase/Commands/ZxResizeCommand.h

30 lines
470 B
C

#pragma once
#include <QRectF>
#include <QUndoCommand>
#include "iPlotBase_global.h"
class ZxRenderItem;
/// 命令: 更改图件尺寸(位置)
class I_PLOTBASE_EXPORT ZxResizeCommand : public QUndoCommand
{
public:
ZxResizeCommand(ZxRenderItem* pItem, \
const QRectF& rect, \
QUndoCommand *parent = 0);
virtual void redo();
virtual void undo();
private:
ZxRenderItem* m_pItem;
QRectF m_rect;
};