Moka controlers
|
Go to the source code of this file.
Functions | |
int | getNbMaxUndos () const |
void | setNbMaxUndos (int ANumber) |
bool | getUndoOnFile () const |
void | setUndoOnFile (bool ABool) |
virtual bool | undo (int AStep=1) |
virtual bool | redo (int AStep=1) |
bool | emptyUndoRedo () |
virtual void | undoRedoPreSave () |
virtual void | undoRedoPostSaveOk () |
virtual void | undoRedoPostSaveFailed () |
Méthodes de sauvegarde dans la pile d'undo/redo : | |
void | emptyUndoList () |
void | emptyRedoList () |
void | basicPreSave () |
void | basicPostSaveOk () |
void | basicPostSaveFailed () |
std::string | getUndoRedoStatus () const |
std::string | getFilename (int AIndex) const |
int | getNewFileIndex () |
virtual std::ostringstream * | saveModel () |
virtual bool | loadModel (std::ostringstream *AStream) |
bool | existsFile (const std::string &AFilename) |
void | recupLastUndoFromFile () |
void | saveLastUndoOnFile () |
void | recupFromFiles () |
bool | basicUndo (int AStep=1) |
bool | basicRedo (int AStep=1) |
Variables | |
bool | FUndoOnFile |
int | FNbMaxUndos |
int | FLastFileIndex |
std::list< std::ostringstream * > | FUndos |
std::list< std::ostringstream * > | FRedos |
std::ostringstream * | FActu |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
bool emptyUndoRedo | ( | ) |
emptyUndoRedo
Pour vider la pile des undo / redo
|
protected |
|
protected |
int getNbMaxUndos | ( | ) | const |
|
protected |
bool getUndoOnFile | ( | ) | const |
|
protected |
|
protectedvirtual |
|
protected |
|
protected |
|
virtual |
|
protected |
|
protectedvirtual |
void setNbMaxUndos | ( | int | ANumber | ) |
void setUndoOnFile | ( | bool | ABool | ) |
|
virtual |
undo
Termine l'opération en cours (si nécessaire) et passe en mode MODE_SELECTION avant d'effectuer l'undo.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
std::ostringstream* FActu |
Definition at line 99 of file controler-undo-redo.hh.
int FLastFileIndex |
Definition at line 96 of file controler-undo-redo.hh.
int FNbMaxUndos |
Definition at line 95 of file controler-undo-redo.hh.
std::list<std::ostringstream*> FRedos |
Definition at line 98 of file controler-undo-redo.hh.
bool FUndoOnFile |
Definition at line 94 of file controler-undo-redo.hh.
std::list<std::ostringstream*> FUndos |
Definition at line 97 of file controler-undo-redo.hh.