logplus/ModuleConsole/command/include/ZoomOutCmd.h

39 lines
707 B
C
Raw Normal View History

2026-01-16 17:18:41 +08:00
/*
*@file ZoomOutCmd.h
*@brief Zoom out模块
*@date 2014-8-21
*/
#ifndef PAI_FRAME_WORKFLOWVIEW_ZOOMOUTCMD_H_
#define PAI_FRAME_WORKFLOWVIEW_ZOOMOUTCMD_H_
#include <QGraphicsView>
#include <QUndoCommand>
namespace pai
{
/**
* @class ZoomOutCmd
* @brief
*/
class ZoomOutCmd :public QUndoCommand
{
public:
ZoomOutCmd(QGraphicsView *view, QUndoCommand *parent = 0);
virtual ~ZoomOutCmd();
/**
* @brief undo
*/
void undo();
/**
* @brief redo
*/
void redo();
private:
QGraphicsView *m_pView;
};
}
#endif /* ZOOMOUTCMD_H_ */