The ChangeDiagramTextCommand class This commad modifies a text item.
More...
#include <diagramcommands.h>
Inherits QUndoCommand.
The ChangeDiagramTextCommand class This commad modifies a text item.
◆ ChangeDiagramTextCommand() [1/2]
ChangeDiagramTextCommand::ChangeDiagramTextCommand |
( |
DiagramTextItem * |
dti, |
|
|
const QString & |
before, |
|
|
const QString & |
after, |
|
|
QUndoCommand * |
parent = nullptr |
|
) |
| |
◆ ~ChangeDiagramTextCommand()
ChangeDiagramTextCommand::~ChangeDiagramTextCommand |
( |
| ) |
|
|
override |
◆ ChangeDiagramTextCommand() [2/2]
◆ redo()
void ChangeDiagramTextCommand::redo |
( |
| ) |
|
|
override |
◆ undo()
void ChangeDiagramTextCommand::undo |
( |
| ) |
|
|
override |
◆ diagram
Diagram* ChangeDiagramTextCommand::diagram |
|
private |
◆ first_redo
bool ChangeDiagramTextCommand::first_redo |
|
private |
prevent the first call to redo()
◆ text_after
QString ChangeDiagramTextCommand::text_after |
|
private |
◆ text_before
QString ChangeDiagramTextCommand::text_before |
|
private |
◆ text_item
The documentation for this class was generated from the following files: