Commit Graph

53 Commits

Author SHA1 Message Date
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
wmayer
a233388328 Make information if tree item is expanded/collapsed persistent 2013-04-29 14:30:26 +02:00
wmayer
7e7dc80a7f Fix typos 2013-04-28 17:33:48 +02:00
wmayer
b7658c04f6 0001059: Cannot add object to DocumentObjectGroupPython 2013-03-23 16:45:37 +01:00
jriegel
d739a2e41b Add all base system changes from the Assembly branch 2013-02-10 20:02:33 +01:00
wmayer
dd67c22837 Open transaction when start editing with context-menu 2012-11-28 13:24:46 +01:00
wmayer
951a45f90e Optimazation of tree view when clearing selection 2012-11-08 23:06:07 +01:00
wmayer
58da2ebbcc 0000665: Follow up 0000640: This file crashes FreeCAD UI latest Git 2012-10-01 13:58:40 +02:00
wmayer
cfee1c192f 0000738: Compress stuff in Tree view 2012-06-07 20:17:38 +02:00
wmayer
50a9ddee43 0000706: copy- paste- crash 2012-06-03 16:36:00 +02:00
wmayer
8ec91d29dd Workaround for linker error with MSVC 2012-05-21 14:08:57 +02:00