Zheng, Lei
b42c45becc
TreeView: fixed disappearing item
...
The problem occurs when a child object is no longer claimed by its
former parent. The child tree item is not added back to Document root
even if it is the only instance left, which resulting the child object
disappearing entirely from the tree view.
2017-04-02 12:24:54 +08:00
Zheng, Lei
f323b8c956
Gui.TreeWidget: check cyclic dep when populating
2017-03-26 18:53:36 +02:00
Zheng, Lei
a5dead1717
Gui.TreeWidget: removed incorrect assertion
2017-03-26 18:53:36 +02:00
Zheng, Lei
752f7a3d29
Gui: fixed ambiguous boost::bind
2017-03-26 18:53:36 +02:00
Zheng, Lei
535762ea4f
Gui: improved TreeView drag and drop
...
* support undo of drag and drop
* support drop only (i.e. no item removal from dragged parent item) when
Ctrl key is pressed at the time of drop.
2017-03-26 18:53:36 +02:00
Zheng, Lei
b95674db03
Gui: made the TreeView stable
...
The TreeView item (DocumentObjectItem) and DocumentObject now have a N:1
relationship. Adding or removing object with claimed children no longer
affects existing TreeView items.
2017-03-26 18:53:36 +02:00
wmayer
60ae927fcb
issue #0002031 : show object name when hovering tree view
2017-02-05 09:56:35 +01:00
wmayer
57e71e5d55
port C++ code to Qt5
2016-12-13 14:22:59 +01:00
Sergo
12b0e0f999
fixes #0002633 - body disappear if dragged out of Part container
2016-12-09 21:31:51 +01:00
wmayer
01996d8f13
introduce flag to skip recomputes of a document when needed
2016-10-21 22:23:34 +02:00
wmayer
ccbd0f02af
extend function to mark all selected objects for recompute or all objects of a document
2016-10-14 21:40:05 +02:00
Yorik van Havre
33c7ec80c8
Added "mark to recompute" action to tree view
2016-10-12 17:35:01 -03:00
Stefan Tröger
cd53eb2280
Remove redundant drag'n'drop interface
...
In the long time of parallel assembly development an own drag'n'drop interface has been added to master and assembly branch. After merge both have been available. This commit removes one and keeps the more extensive implementation
2016-10-08 12:48:34 +02:00
wmayer
f19d424d8b
fix -Wextra in FreeCADGui
2016-09-21 20:54:52 +02:00
wmayer
afa37847b5
remove Application::runPythonCode
2016-09-15 23:14:31 +02:00
Yorik van Havre
18e519571a
Removed console message emitted by the tree when a PropertyLink is empty
2016-08-26 17:48:40 -03:00
wmayer
a830b8feb3
improve whitespaces
2016-08-24 19:08:45 +02:00
wmayer
0824c5fd3c
fix Coverity issues
2016-08-21 14:03:02 +02:00
wmayer
153efa048d
translate items of context menu of tree view
2016-08-05 19:20:26 +02:00
wmayer
5de9696365
+ fix warnings:
...
-Wsign-compare, -Wunused-variable, -Wunused-function, -Wswitch
+ fix Qt issues
2016-04-13 14:26:38 +02:00
Stefan Tröger
35a5727474
ensure document objects claims in tree
...
It is possible that a newly reated document object already claims other existing objects. The tree needs to be recomputed in this case.
This happens for example for the origin, which creates its planes and axis first and claims them before its own viewprovider is created.
2016-04-12 18:12:20 +02:00
Alexander Golubev
2fc5d6c818
Gui/Tree: make tree view correctly handle child order than moving them
2016-04-12 18:12:16 +02:00
Stefan Tröger
7d759a5793
delete features when deleting body
2016-04-12 18:12:13 +02:00
jriegel
884ae139fa
Several enhancements
...
+ PLMXML Reader
+ Some meta information sorting
+ Making ProductRefs invisibly in Tree
2016-04-12 18:12:03 +02:00
jriegel
80a9d4274e
Generall Drag/Drop interface
2016-04-12 18:12:01 +02:00
jrheinlaender
4bb14de504
Honour the ordering of the children returned by claimChildren() in the TreeWidget
2016-04-12 18:11:49 +02:00
jrheinlaender
efd33c8465
Added check in Tree.cpp DocumentItem::slotChangeObject to check for invalid pointers returned by claimChildren()
2016-04-12 18:11:48 +02:00
jrheinlaender
1ec99c5d32
Work on inserting, removing, hiding and showing features in the body
2016-04-12 18:11:48 +02:00
jriegel
29507a44ed
First claimChildren3D implementation and Starting PartItem implementation
2016-04-12 18:11:45 +02:00
jriegel
8537926edc
Finally fixing the highlight code
2016-04-12 18:11:44 +02:00
jriegel
72b49dbc6b
fixes in highlight code
2016-04-12 18:11:44 +02:00
jriegel
26afb6ee77
Add highlighting of tree view items
2016-04-12 18:11:44 +02:00
jriegel
80217bf10f
Commands and object making
2016-04-12 18:11:44 +02:00
Mateusz Skowroński
cd2db00f22
QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
...
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
wmayer
b33be62bb6
+ rename signal to signalRelabelObject and remove unused code
2015-09-22 17:13:03 +02:00
Mateusz Skowroński
43a4a5938c
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
wmayer
13b8d323b2
+ FEM: Improve drag and drop for FEM analysis object
2015-04-23 13:31:14 +02:00
wmayer
c2d0857ddc
+ fix possible crash in DocumentItem
2015-02-01 12:09:37 +01:00
wmayer
a672630756
+ fixes #0001905 : Group-ordering of orphaned children not working as expected
2015-01-11 22:15:18 +01:00
wmayer
b2f8a4ed2a
+ fixes #0001723 : Display errormessage in tree in tooltip
2014-12-30 22:44:29 +01:00
wmayer
3b5cdda879
+ fix flaws found with code analyzer tool
2014-05-07 13:09:44 +02:00
Yorik van Havre
07172e9aaf
Used disable color instead of dark color for invisible tree items
2014-04-14 21:17:29 -03:00
wmayer
8b901df068
+ drag and drop on tree widget
2014-03-12 14:38:00 +01:00
wmayer
f80419ad3f
+ Avoid cyclic dependency of tree items
2014-03-11 19:27:46 +01:00
wmayer
38d55b540e
+ Start drag and drop of view providers
2014-03-11 17:36:17 +01:00
wmayer
afe0bcb727
+ fixes #0001456 : multi select of PartDesign treeview items with their creation sketch, can not then be dragged into a group object
2014-03-03 12:37:44 +01:00
wmayer
a018b50ac2
+ Show horizontal scrollbar if needed
2013-12-29 13:40:44 +01:00
wmayer
01921f4f25
+ Fix transaction issues
2013-10-09 12:28:25 +02:00
wmayer
738e8c3d15
Prepare tree view to show for multiple referenced objects more tree items
2013-05-08 14:47:20 +02:00
wmayer
7c5ff7cec9
Do not allow to drag and drop child items of non-group objects in tree view
2013-05-06 15:34:56 +02:00