Zheng, Lei
b991b8c591
Gui: fix active object highlight
2019-09-10 14:17:06 +02:00
Zheng, Lei
636f5e9a9a
Gui: minor change to tree view document restore handling
2019-09-07 17:00:13 +02:00
Zheng, Lei
be320a8733
Gui: more exception handling in tree view
2019-08-30 15:01:25 +02:00
Zheng, Lei
ec3541ae79
Gui: handle exception in tree view double click
2019-08-30 14:52:09 +02:00
Zheng, Lei
8e2a059e70
Gui: fix tree view document double click activating
2019-08-30 14:50:52 +02:00
Zheng, Lei
b39771aa84
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
Zheng, Lei
c2254a64aa
Gui: expose MainWindow:showStatus()
...
Tree view now uses this to show error on hovering over object in error.
2019-08-30 14:33:31 +02:00
wmayer
5172c3bc08
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
20c628fc0c
Gui: fix tree view selection focus problem
2019-08-17 15:32:51 +02:00
Zheng, Lei
d0ca893b3e
Command: disable auto transaction if triggering editing
...
Each command will create an App::AutoTransaction to auto create and
commit a transaction for proper undo/redo. But if the command starts
editing, the current transaction may be required to out live the current
command.
Note that the command can only detect editing if the code calls
Gui::Document::setEdit(). There are objects that starts editing by
calling its own ViewProvider::setEdit(), e.g. various TechDraw
ViewProviders. In this case, to avoid auto committing, one can call
App::Application::setActiveTransaction() with the second argument set to
true, or call App::AutoTransaction::setEnable(false).
2019-08-17 15:32:51 +02:00
Zheng, Lei
78ce18ace4
TreeView: update status on manual object touch
2019-08-17 15:32:51 +02:00
Zheng, Lei
d4f066f4e9
TreeView: fix selection sync problem
2019-08-17 15:32:50 +02:00
Zheng, Lei
e047b8764c
TreeView: fix potential crash on deleting object
2019-08-17 15:32:50 +02:00
Zheng, Lei
0d77bcdd88
TreeView: fix bug in selection sync
2019-08-17 15:32:50 +02:00
luz.paz
0f67e8ddfa
Fix typos in src/Gio
2019-08-17 15:32:49 +02:00
Zheng, Lei
a738c7fafa
TreeView: fix missing update on item expansion
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
747a2823eb
Set Move as default drop action
2019-07-11 19:08:11 +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
a4e46d1fa1
Undo/Redo of renaming an object via context-menu
2019-02-23 22:26:21 +01:00
Mateusz Skowroński
317bcd59c9
Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] Thanks Clazy!
2019-02-11 15:39:14 +01:00
wmayer
42d7c7afd3
disconnect boost signals when destroying tree view
2019-01-18 16:33:48 +01:00
plgarcia
792bb8282a
Drags and drop with groups
2018-11-29 21:25:28 +01:00
wmayer
6d836ad7a5
improve drag and drop in tree view
2018-11-16 17:19:58 +01:00
plgarcia
f89b996396
Improvement and correction drags and drops in tree views.
2018-11-16 13:14:57 +01:00
wmayer
e623049763
use more speaking variable names
2018-11-16 11:24:25 +01:00
wmayer
6a6ea0a5a6
add search function to tree view
2018-11-13 11:27:34 +01:00
wmayer
9e2acc477c
When activating a part container in the tree view make sure all parent items are expanded
2018-11-10 16:13:10 +01:00
wmayer
f898eafd64
move from deprecated boost.signals to boost.signals2 library
2018-10-30 19:09:03 +01:00
wmayer
47536dcd37
enable FREECAD_RELEASE_PDB by default, cleanup cmake file, improve whiespaces
2018-10-15 20:11:58 +02:00
wmayer
93f06f8256
fixes 0003410: 0.17 Regression: recompute will make parts lose color and take a longer delay compared to FC0.16
2018-10-02 19:04:44 +02:00
wmayer
2ce34d6d4c
fix regression wrt to bold text in multi-document mode when activating document by tabs
2018-09-13 01:19:49 +02:00
Markus Lampert
052d8a70e9
Added collapse/expand option to the document tree view.
2018-09-11 11:38:58 +02:00
Markus Lampert
6359c26b5b
Changed tree view document hiding boolean to integer to support arbitrary number of views.
2018-09-11 11:38:38 +02:00
Markus Lampert
03d4f084c7
Added option to hide inactive documents in tree view.
2018-09-11 11:38:20 +02:00
wmayer
34a0c7bce2
by default show highlighted object in bold text, a document's active object is not in bold text any more
2018-09-10 14:24:37 +02:00
wmayer
a1b0c2ff32
Gui: Better visualization of the Active Object
2018-08-19 18:14:06 +02:00
wmayer
900ec439d1
do not show F2 as short cuts for renaming on macOS as it doesn't work
2018-04-26 12:57:59 +02:00
Yorik van Havre
10e33d03f8
Active container (light gray) and edit (yellow) colors in Tree view are now changeable in prefs->display->colors
2018-04-19 18:25:48 -03:00
wmayer
941cc68efc
add signal to scroll to view object
2017-10-06 16:28:30 +02:00
wmayer
53168d39d6
fixes #0003025 : memory leak in tree view
2017-09-30 19:45:25 +02:00
wmayer
72bdd48a08
fixes #0003201 : Cross-linking of sketch visibility
2017-09-29 15:45:40 +02:00
wmayer
4e429092e8
improve whitespaces and readability
2017-09-29 14:34:53 +02:00
wmayer
e260f9dabd
improve whitespaces
2017-09-09 18:07:46 +02:00
Stefan Tröger
71b7811495
Fix GeoFeatureGroup claimChildren in case some out-of-group item links to a child
2017-09-09 16:55:55 +02:00
Stefan Tröger
fa273f7307
Prevent ViewProvider at toplevel when adding object to Group in GeoFeatureGroup
2017-09-09 16:55:55 +02:00
Stefan Tröger
83f99ba1b6
Prevent crash on cyclic group relations. fixes #0002567
2017-09-09 16:55:55 +02:00
Stefan Tröger
2dc09c5e4d
Tree: Adopt to special GeoFeatureGroup behaviours
2017-09-09 16:47:07 +02:00
luzpaz
1b56637c6f
typo fix
2017-07-10 19:29:55 -03:00
Stefan Tröger
183a4b4ef3
GeoFeatureGroup: Handle drag into document
2017-06-19 15:37:09 +02:00