FreeCAD: master 53605117
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
realthunder | wmayer | master | 2020-01-03 12:36:54 | master 9b18c2dc |
Changeset | App/Gui: introduce temporary document Add new argument to Application::newDocument() to create a temporary document. Also exposed to Python API App.newDocument() with a named argument 'temp'. The temporary document is marked with status bit 'TempDoc'. The user will not be prompt for saving when closing. The undo/redo is disabled. The AutoSaver skips it. And the tree view will not show it. PropertyXLink allows linking to/from object within a temporary document without saving. |
|||
mod - src/App/Application.cpp | Diff File | |||
mod - src/App/Application.h | Diff File | |||
mod - src/App/ApplicationPy.cpp | Diff File | |||
mod - src/App/Document.cpp | Diff File | |||
mod - src/App/Document.h | Diff File | |||
mod - src/App/DocumentPy.xml | Diff File | |||
mod - src/App/DocumentPyImp.cpp | Diff File | |||
mod - src/App/PropertyLinks.cpp | Diff File | |||
mod - src/Gui/Application.cpp | Diff File | |||
mod - src/Gui/AutoSaver.cpp | Diff File | |||
mod - src/Gui/Document.cpp | Diff File | |||
mod - src/Gui/MainWindow.cpp | Diff File | |||
mod - src/Gui/Tree.cpp | Diff File |