Commit Graph

30 Commits

Author SHA1 Message Date
Zheng, Lei
9223f08b48 Fix build for older gcc 2019-08-17 15:32:48 +02:00
Zheng, Lei
c18bf11821 Gui: refactor tree view
* Major refactor of tree view to support external linking.

* Item update and selection change are now mostly handled by timer for
  performance improvement.

* Major change to drag and drop for better support of switching between
  copy, move and replace action, and auto adjustment of placement and
  relative link.

* Add second column for user changable object description.

* Unified tree view options and action into command group
  Std_TreeViewActions.

* Modified object search function to find external objects using
  Expression syntax.
2019-08-17 15:08:33 +02:00
wmayer
4e973324ae when restoring object then only expand single items, not its parent items 2019-02-24 00:37:53 +01:00
wmayer
42d7c7afd3 disconnect boost signals when destroying tree view 2019-01-18 16:33:48 +01:00
plgarcia
f89b996396 Improvement and correction drags and drops in tree views. 2018-11-16 13:14:57 +01:00
wmayer
6a6ea0a5a6 add search function to tree view 2018-11-13 11:27:34 +01:00
wmayer
f898eafd64 move from deprecated boost.signals to boost.signals2 library 2018-10-30 19:09:03 +01:00
wmayer
a1b0c2ff32 Gui: Better visualization of the Active Object 2018-08-19 18:14:06 +02:00
wmayer
941cc68efc add signal to scroll to view object 2017-10-06 16:28:30 +02:00
Zheng, Lei
1d60277c1f TreeView: fix tree view performance
It seems on some system calling QTreeWidgetItem::takeChildren and then
addChild back is expensive. This fix avoids that but still keeps track
of item order in claimed children
2017-04-05 19:41:16 +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
01996d8f13 introduce flag to skip recomputes of a document when needed 2016-10-21 22:23:34 +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
jriegel
80a9d4274e Generall Drag/Drop interface 2016-04-12 18:12:01 +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
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
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03: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
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
738e8c3d15 Prepare tree view to show for multiple referenced objects more tree items 2013-05-08 14:47:20 +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
jriegel
d739a2e41b Add all base system changes from the Assembly branch 2013-02-10 20:02:33 +01: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