命令栈基类,用来实现撤销和重做功能
More...
#include <Command.h>
◆ ~Command()
My::Command::~Command |
( |
| ) |
|
|
pure virtual |
◆ logAdd()
void My::Command::logAdd |
( |
int |
index | ) |
|
|
virtual |
◆ logChange()
void My::Command::logChange |
( |
int |
index, |
|
|
QString |
s1, |
|
|
QString |
s2 |
|
) |
| |
|
virtual |
◆ logDelete()
void My::Command::logDelete |
( |
int |
index, |
|
|
int |
id |
|
) |
| |
|
virtual |
◆ logMove()
void My::Command::logMove |
( |
int |
index, |
|
|
float |
xoffset, |
|
|
float |
yoffset, |
|
|
int |
id = 0 |
|
) |
| |
|
virtual |
◆ redo()
void My::Command::redo |
( |
| ) |
|
|
virtual |
◆ undo()
void My::Command::undo |
( |
| ) |
|
|
virtual |
◆ redoCommands
QStack<QString> My::Command::redoCommands |
◆ undoCommands
QStack<QString> My::Command::undoCommands |
The documentation for this class was generated from the following files: