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.
This commit is contained in:
Abdullah Tahiri
2021-01-03 05:25:25 +01:00
committed by abdullahtahiriyo
parent 035bea5082
commit 87c9f83bd6
15 changed files with 46 additions and 22 deletions

View File

@@ -212,7 +212,7 @@ public:
if (icon.isNull())
icon = ViewProviderT::getIcon();
else
icon = ViewProviderT::mergeOverlayIcons(icon);
icon = ViewProviderT::mergeGreyableOverlayIcons(icon);
return icon;
}