35 QUndoCommand(QObject::
tr(
"modifier le cartouche",
"undo caption"), parent),
37 old_titleblock(old_ip),
38 new_titleblock(new_ip)
47 diagram -> invalidate(
diagram -> border_and_titleblock.borderAndTitleBlockRect());
54 diagram -> invalidate(
diagram -> border_and_titleblock.borderAndTitleBlockRect());
~ChangeTitleBlockCommand() override
TitleBlockProperties old_titleblock
ChangeTitleBlockCommand(Diagram *, const TitleBlockProperties &, const TitleBlockProperties &, QUndoCommand *=nullptr)
ChangeTitleBlockCommand::ChangeTitleBlockCommand.
TitleBlockProperties new_titleblock