![]() |
QElectroTech 0.200.1-dev
|
#include <QUndoCommand>#include <QPointer>

Go to the source code of this file.
Classes | |
| class | AddDiagramCommand |
| The AddDiagramCommand class Undo/redo support for adding a new folio (diagram) to a project. Takes ownership of the (already constructed, not yet inserted) diagram: redo() inserts it into the project, undo() detaches it again without destroying it. The diagram is only actually destroyed when this command itself is destroyed while the diagram is detached (i.e. while undone). More... | |