Go to the source code of this file.
|
| stack | push (command1) |
| |
| stack | push (command2) |
| |
| stack | undo () |
| |
| stack | push (command3) |
| |
| insertRed | setText ("insert red text") |
| |
| new | InsertText (document, idx, text, insertRed) |
| |
| new | SetColor (document, idx, text.length(), Qt::red, insertRed) |
| |
| stack | push (insertRed) |
| |
| stack | beginMacro ("insert red text") |
| | [3]
|
| |
| stack | push (new InsertText(document, idx, text)) |
| |
| stack | push (new SetColor(document, idx, text.length(), Qt::red)) |
| |
| stack | endMacro () |
| |
◆ beginMacro()
| stack beginMacro |
( |
"insert red text" |
| ) |
|
◆ endMacro()
◆ InsertText()
◆ push() [1/6]
◆ push() [2/6]
◆ push() [3/6]
◆ push() [4/6]
◆ push() [5/6]
| stack push |
( |
new |
InsertTextdocument, idx, text | ) |
|
◆ push() [6/6]
| stack push |
( |
new |
SetColordocument, idx, text.length(), Qt::red | ) |
|
◆ SetColor()
◆ setText()
◆ undo()
◆ command1
| MyCommand* command1 = new MyCommand() |
◆ command2
| MyCommand* command2 = new MyCommand() |
◆ command3
| MyCommand* command3 = new MyCommand() |
◆ insertRed