Commit Graph

45 Commits

Author SHA1 Message Date
wmayer
4ce520e653 translate items of context menu of tree view 2016-08-05 19:20:26 +02:00
wmayer
6380881b58 + fix warnings:
-Wsign-compare, -Wunused-variable, -Wunused-function, -Wswitch
+ fix Qt issues
2016-04-13 14:26:38 +02:00
Stefan Tröger
3fa3ef5856 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
0b9cc3c19e Gui/Tree: make tree view correctly handle child order than moving them 2016-04-12 18:12:16 +02:00
Stefan Tröger
81601959ab delete features when deleting body 2016-04-12 18:12:13 +02:00
jriegel
c88a8336dc Several enhancements
+ PLMXML Reader
+ Some meta information sorting
+ Making ProductRefs invisibly in Tree
2016-04-12 18:12:03 +02:00
jriegel
be619b3e7d Generall Drag/Drop interface 2016-04-12 18:12:01 +02:00
jrheinlaender
ae7dd86b4d Honour the ordering of the children returned by claimChildren() in the TreeWidget 2016-04-12 18:11:49 +02:00
jrheinlaender
0e6cdbe397 Added check in Tree.cpp DocumentItem::slotChangeObject to check for invalid pointers returned by claimChildren() 2016-04-12 18:11:48 +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
b4cad19107 fixes in 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
c275b35d48 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
e5348c743d + rename signal to signalRelabelObject and remove unused code 2015-09-22 17:13:03 +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
638bf26bb5 + FEM: Improve drag and drop for FEM analysis object 2015-04-23 13:31:14 +02: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
5cd5a3e5f1 + fixes #0001723: Display errormessage in tree in tooltip 2014-12-30 22:44:29 +01:00
wmayer
55984a200f + fix flaws found with code analyzer tool 2014-05-07 13:09:44 +02:00
Yorik van Havre
f2c0b718f3 Used disable color instead of dark color for invisible tree items 2014-04-14 21:17:29 -03: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
637027756a + Start drag and drop of view providers 2014-03-11 17:36:17 +01:00
wmayer
88c05dcbac + 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
a34d88ebbb + Show horizontal scrollbar if needed 2013-12-29 13:40:44 +01:00
wmayer
6389cc1d69 + Fix transaction issues 2013-10-09 12:28:25 +02:00
wmayer
46c606e864 Prepare tree view to show for multiple referenced objects more tree items 2013-05-08 14:47:20 +02:00
wmayer
d84798e4e4 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
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
wmayer
90aed2baf4 0001059: Cannot add object to DocumentObjectGroupPython 2013-03-23 16:45:37 +01:00
jriegel
61914bc772 Add all base system changes from the Assembly branch 2013-02-10 20:02:33 +01:00
wmayer
070f9ad47a Open transaction when start editing with context-menu 2012-11-28 13:24:46 +01:00
wmayer
23c8f41c73 Optimazation of tree view when clearing selection 2012-11-08 23:06:07 +01:00
wmayer
bc4a3b0c76 0000665: Follow up 0000640: This file crashes FreeCAD UI latest Git 2012-10-01 13:58:40 +02:00
wmayer
c09bf76d84 0000738: Compress stuff in Tree view 2012-06-07 20:17:38 +02:00
wmayer
08bfa1465f 0000706: copy- paste- crash 2012-06-03 16:36:00 +02:00
wmayer
62edac4a67 Workaround for linker error with MSVC 2012-05-21 14:08:57 +02:00
Yorik van Havre
ebfab62fe4 Allowed to drag&drop items on python groups too in tree 2012-05-19 18:07:09 -03:00
wmayer
51fdef23da Fix inconsistencies if currently edited object is not in active document 2012-04-13 17:02:23 +02: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