wmayer
e471ebe1fb
prepare view provider for undo/redo
2016-07-23 11:45:38 +02:00
wmayer
3d16ae0f04
prepare view provider for undo/redo
2016-07-23 11:45:21 +02:00
Alexander Golubev
8bad396f16
App: minor fix of spacing
2016-04-12 18:12:17 +02:00
Alexander Golubev
54e572fd4c
App: add two callback to DocumentObject to perform initialization/uninitialization inside an object
...
Added two callbacks to App::DocumentObject
- setupObject()
- unsetupObject()
All associated code was added to App::Document
Also was added a specific flag ObjectFlag::Deleted wich is set when performing the deletion.
2016-04-12 18:12:17 +02:00
Alexander Golubev
ade1dec103
Revert "part deletion handling"
...
This reverts commit 6ab2002021ac1df26ebe77f488f5cd94e1df0b26.
2016-04-12 18:12:17 +02:00
Stefan Tröger
1ebe3e729c
part deletion handling
...
-remove everxthing that belongs to a part on deletion
-disallow to delete the origin by the user and only remove it when Part is being deleted
2016-04-12 18:12:13 +02:00
jriegel
847ebdc4fd
Tip property in Document and special load save handling
2016-04-12 18:12:02 +02:00
jrheinlaender
0e6cdbe397
Added check in Tree.cpp DocumentItem::slotChangeObject to check for invalid pointers returned by claimChildren()
2016-04-12 18:11:48 +02:00
wmayer
e1b8c515c4
+ add overloaded addObject() method to Document class to add existing DocumentObject
2015-12-31 15:32:47 +01:00
wmayer
e5348c743d
+ rename signal to signalRelabelObject and remove unused code
2015-09-22 17:13:03 +02:00
Mateusz Skowroński
05f95c0506
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
Eivind Kvedalen
e17ece22c1
Added PropertyExpressionEngine to DocumentObject class.
2015-09-21 14:51:05 +02:00
Yorik van Havre
e122ea8bf7
Added SaveCopy command
...
This command saves a copy of the current document under a new name,
without modifying the document itself.
Available in menu File -> Save a Copy or from python with
FreeCAD.ActiveDocument.saveCopy(filename)
2015-09-02 13:38:14 -03:00
Eivind Kvedalen
4ec5710d56
Added zoom and automatic refresh of dependency graph view.
2015-06-15 11:32:24 +02:00
wmayer
79aa9574b5
+ always keep digits at end when using copyObject, remove deprecated third parameter
2015-04-29 16:33:20 +02:00
wmayer
7ecb04e15a
+ reimplement copyObject based on merge document
2014-12-13 21:43:20 +01:00
wmayer
4b29119eb7
+ merge project on app level
2014-12-13 16:15:21 +01:00
wmayer
ff56a3b53d
+ better check for opening a transaction when removing an object from document
2013-08-15 16:47:56 +02:00
wmayer
ff23212a47
Ask user what to do if objects with unselected dependency get copied
2013-05-08 14:45:52 +02:00
wmayer
eafd67e74d
+ Make transient directory of the form ExeName_Doc_{UUID}_{HASH}_{PID}
...
+ Set some properties in Document read-only
+ Implement Document::saveAs
+ Fix PropertyUUID::setValue()
+ Add a field for UUID in document information panel
2013-05-04 03:16:34 +02:00
jriegel
61914bc772
Add all base system changes from the Assembly branch
2013-02-10 20:02:33 +01:00
wmayer
3588ee48b4
0000917: Task watcher doesn't update on object creation/destruction
2012-12-21 14:51:44 +01:00
wmayer
9c61558ffc
Add thickness function
2012-11-26 21:10:09 +01:00
wmayer
7e2478faed
Reduce code duplication
2012-11-20 15:39:02 +01:00
wmayer
d4f1250453
0000827: Sketch copy deletes all constraints
2012-11-20 13:16:15 +01:00
wmayer
fd62e9e18f
Export object dependencies to graphviz file
2012-06-12 19:03:29 +02:00
wmayer
d5f750ca3c
Add parameter to keep trailing digits in object name of copy, other little fix
2012-05-25 12:12:30 +02:00
wmayer
03b9434bd5
Add method Document::findObject()
2012-05-23 16:57:36 +02:00
wmayer
d388f35fd0
0000525: Crash when doing an undo of an already deleted object
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5334 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-21 17:07:41 +00:00
jriegel
9e56242a29
+ fix bug #525
...
+ update document undo/redo test cases
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5232 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-07 21:24:44 +00:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00