Commit Graph

11 Commits

Author SHA1 Message Date
Uwe
c5a7e13172 [Part] ViewProvider: 2 to M: remove unused includes 2022-07-31 15:36:20 +02:00
wmayer
0f5725b34a modernize C++: replace boost::function with std::function 2022-06-30 20:31:55 +02:00
wmayer
2a3d3da30d Part: in ViewProviderAttachExtension check if feature has the AttachExtension 2022-02-17 19:26:11 +01:00
Abdullah Tahiri
4facab0936 Gui: Colorful/Greyable overlay status in icons
===============================================

Before this implementation, specific status via former mergeOverlayIcon() was greyed out
with the visibility.

With this commit, the developer has two options:

a) override mergeGreyableOverlayIcons, in which case the overlay will
be greyed out when the item is greyed out as per former mergeOverlayIcon()

b) override mergeColorfulOverlayIcons, in which case the overlay will
be superimposed after the icon is greyed out as it is the case for stardard
error and recompute flags.
2021-01-06 13:54:00 +01:00
wmayer
55e3aad3c7 Part: allow to open attachment editor via context-menu 2020-11-15 19:16:22 +01:00
0penBrain
43b9900964 Fix XPM height of 'Not attached' overlay icon 2020-01-27 10:06:03 +01:00
wmayer
0e2ee0bb22 fix MSVC compiler warning 2019-09-14 12:15:35 +02:00
Zheng, Lei
f362229041 Part: avoid touching in ViewProviderAttachExtension mergeOverlayIcons
ViewProviderAttachExtension::extensionMergeOverlayIcons() calls
AttachExtension::positionBySupport() which will always touch the
extended object. This may cause recomputation problems, e.g a datum
that is always touched, because normal recomputation trigger tree
view update by a timer, tree view refreshes the icon, datum gets
touched again.
2019-08-30 14:46:38 +02:00
Abdullah Tahiri
3c2dad7f6b ViewProviderAttachExtension: check for attach extension 2019-06-23 01:03:37 +02:00
Abdullah Tahiri
18a5ff2bf5 Part Gui: Update attachment icon on attach extension change 2019-06-23 01:03:36 +02:00
Abdullah Tahiri
dd841c9810 Part Gui: New ViewProvider extension for overlaying icons related to Part::AttachExtension 2019-06-23 01:03:36 +02:00