Commit Graph

38 Commits

Author SHA1 Message Date
Zheng, Lei
aa01411c89 Gui: change default tree view document mode to Expand/Collapse 2019-10-08 10:28:13 +02:00
Zheng, Lei
8d7287b8a6 App/Gui: add ObjectStatus::NoAutoExpand
Used by App::Origin to disable selection auto expanding in tree view.
2019-10-08 10:23:57 +02:00
Zheng, Lei
959ec5dad3 Gui: remove FC_TREEPARAM, add document for class TreeParams 2019-09-27 15:49:42 +02:00
Zheng, Lei
8a99ef34ec Gui: use ExpressionLineEdit for tree view object search
Tree view is already using expression for object search. This patch
adds the expression completer feature for search result suggestion.
2019-08-30 14:50:15 +02:00
wmayer
4068df6483 Fix clang compiler warnings:
+ fix -Winconsistent-missing-override
+ fix -Wunused-variable
+ fix -Wbraced-scalar-init
+ fix -Wparentheses (View3DInventorViewer::checkGroupOnTop: operator '?:' has lower precedence than '+'; '+' will be evaluated first)
+ fix -Wundefined-bool-conversion (MainWindow::updateActions)
+ suppress -Woverloaded-virtual but fix later
2019-08-17 19:52:12 +02:00
Zheng, Lei
1fecb7c4cc Gui: fix tree view selection focus problem 2019-08-17 15:32:51 +02:00
Zheng, Lei
5f5ea31ec8 TreeView: update status on manual object touch 2019-08-17 15:32:51 +02:00
luz.paz
63a577fe07 Fix typos in src/Gio 2019-08-17 15:32:49 +02:00
Zheng, Lei
b2c74aca49 Fix build for older gcc 2019-08-17 15:32:48 +02:00
Zheng, Lei
81d3cf1b89 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
1308a02c83 when restoring object then only expand single items, not its parent items 2019-02-24 00:37:53 +01:00
wmayer
2100f16076 disconnect boost signals when destroying tree view 2019-01-18 16:33:48 +01:00
plgarcia
402487fb7e Improvement and correction drags and drops in tree views. 2018-11-16 13:14:57 +01:00
wmayer
fe016510ec add search function to tree view 2018-11-13 11:27:34 +01:00
wmayer
36271b4052 move from deprecated boost.signals to boost.signals2 library 2018-10-30 19:09:03 +01:00
wmayer
6e697ddebf Gui: Better visualization of the Active Object 2018-08-19 18:14:06 +02:00
wmayer
94a7330459 add signal to scroll to view object 2017-10-06 16:28:30 +02:00
Zheng, Lei
8f2aaa0934 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
d3557d2105 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
f551bf9cc3 introduce flag to skip recomputes of a document when needed 2016-10-21 22:23:34 +02:00
Yorik van Havre
647956f697 Added "mark to recompute" action to tree view 2016-10-12 17:35:01 -03:00
Stefan Tröger
56492971c8 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
be619b3e7d Generall Drag/Drop interface 2016-04-12 18:12:01 +02:00
jrheinlaender
8390bbb999 Work on inserting, removing, hiding and showing features in the body 2016-04-12 18:11:48 +02:00
jriegel
8eb0d198f8 First claimChildren3D implementation and Starting PartItem implementation 2016-04-12 18:11:45 +02:00
jriegel
d9b6c03304 Finally fixing the highlight code 2016-04-12 18:11:44 +02:00
jriegel
fd000dff8a Add highlighting of tree view items 2016-04-12 18:11:44 +02:00
jriegel
9b5f9b8e58 Commands and object making 2016-04-12 18:11:44 +02:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
afb2641c60 + fix possible crash in DocumentItem 2015-02-01 12:09:37 +01:00
wmayer
567a0e3fc4 + fixes #0001905: Group-ordering of orphaned children not working as expected 2015-01-11 22:15:18 +01:00
wmayer
27a1f62d7e + drag and drop on tree widget 2014-03-12 14:38:00 +01:00
wmayer
4e89fd1b6e + Avoid cyclic dependency of tree items 2014-03-11 19:27:46 +01:00
wmayer
46c606e864 Prepare tree view to show for multiple referenced objects more tree items 2013-05-08 14:47:20 +02:00
wmayer
8eb07e0184 Make information if tree item is expanded/collapsed persistent 2013-04-29 14:30:26 +02:00
wmayer
436386c005 Fix typos 2013-04-28 17:33:48 +02:00
jriegel
61914bc772 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