Commit Graph

18 Commits

Author SHA1 Message Date
donovaly
ec05b7a135 DlgPropertyLink.cpp: fix compilation
see https://forum.freecadweb.org/viewtopic.php?f=10&t=43298
2020-02-12 09:46:47 +01:00
Zheng, Lei
747c6bcd07 Gui: add more options to DlgPropertyLink
Support user editable sub-element column.
(Dis)allow sync sub-object 3D view selection.
2020-02-11 15:40:27 -05:00
Zheng, Lei
12690fb566 Gui: refactor link property editor
PropertyLinkItem now support all major types of link property.
PropertyLinkListItem is no longer necessary, but kept for backward
compatible, which is now identical to PropertyLinkItem.

DlgPropertyLink, the link selection dialog, is now made modeless, so
that that user can select geometry sub-element directory from 3D view.
2020-02-11 15:40:27 -05:00
Zheng, Lei
ac6e94d1c8 Gui: fix crash on editing PropertyLinkList 2019-08-17 15:32:50 +02:00
Zheng, Lei
8b3ef8faf5 Gui: property view related changes
* Display property from linked object, colored green,

* Change DlgPropertyLink to support external linking and sub-object
  selection

* Improve large selection performance by using a timer

* Improve TAB key behavior in property editor

* Add context menu to show hidden properties, change property status,
  set expression on any and property, and add/remove dynamic properties

* Optimize expression completer model construction, as the original
  implementation gets prohibitively slow for moderate number of objects.
2019-08-17 15:08:33 +02:00
wmayer
31963f16c1 Fix scan coverity issues:
CID 184294: Uncaught exception
CID 183597: Unchecked return value
CID 175809: Dereference before null check
CID 175810: Logically dead code
CID 133000: Uninitialized scalar variable
CID 133001: Uninitialized scalar variable
CID 183591: Explicit null dereferenced
2018-11-13 16:47:58 +01:00
Yorik van Havre
8ea89a40e0 Select items already present in PropertyLinkList edit dialog 2018-05-16 14:58:33 -03:00
wmayer
396b1b8346 use object's inlist to filter selection in property link dialog to avoid dependency loops 2018-02-07 23:31:14 +01:00
wmayer
f9b04b1551 #3325: DlgPropertyLink as editor of Tip property 2018-01-28 22:37:03 +01:00
Yorik van Havre
9d574eb4c3 Added 'Remove link' option to PropertyLinkList dialog too 2018-01-12 13:27:34 -02:00
wmayer
4f0f3e667a improve property link dialog for multi-selection 2017-09-23 18:37:52 +02:00
wmayer
6a063778c1 property editor for PropertyLinkList 2017-09-23 18:03:03 +02:00
Yorik van Havre
7e487f0fee Small improvements to the PropertyLink editor
* The "Edit" link is now a button, same as the Placement editor
* Added a "None" entry on top of the Link dialog
2017-04-17 23:00:14 -03:00
wmayer
c10f6fdd07 fix a couple of compiler warnings 2017-01-20 22:54:10 +01:00
Yorik van Havre
c592243c78 Added a search box to the PropertyLink dialog 2017-01-20 00:03:42 -02:00
Mateusz Skowroński
f48f0f69be Qt::WFlags is obsolete in Qt5. Replace it with Qt::WindowFlags.
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:58 +01:00
Johannes Reinhardt
f722cc7bf4 fixed a few small typos 2014-05-12 14:32:27 +02:00
wmayer
2b875184e1 + fixes #0001063: Show a PropertyLink in Property view 2014-03-13 14:28:53 +01:00