I'll try to help assuming I have understood what you are trying to achieve. If this is not the case correct me.
First, yes, those look like widgets with Alarm Type "Data Sources" attached to it. Every widget has its own alarm data source.
So first you create a widget, then you create an alarm datasource filtering to the specific source
Example: filter all alarms from "modulename"
Once you drop the datasource on the widget, on the live view, the widget will color with the higher severity alarm color.
If there's a critical will be red. If the highest severity is minor it will color yellow.
Now, you can manage the colors and decide what colors show for what severity (this may sounds like what you request)
In the widget proprieties: