QElectroTech 0.200.1-dev
Loading...
Searching...
No Matches
setautonumcontextcommand.h File Reference
#include "../autoNum/numerotationcontext.h"
#include <QUndoCommand>
#include <functional>
Include dependency graph for setautonumcontextcommand.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SetAutoNumContextCommand
 The SetAutoNumContextCommand class Undo/redo wrapper around one of QETProject's add*AutoNum() setters (conductor/element/folio numerotation counters). Placing an auto-numbered item advances one of these counters as a side effect; without this command the counter change sits outside the undo stack entirely, so undoing the placement removes the visible number but leaves the counter advanced, silently burning it. More...