I have implemented my own plot curve class which generates a specialized legend item in legendItem(). Now I want to change the item text/color/label on certain events. E.g. I want to add a "inactive" text to the curve title and/or I want to change the symbol/color.

There is a virtual method QwtPlotCurve::updateLegend(). It is called when a legend is inserted into the plot, but I don't know how to trigger it manually. The documentation of updateLegend() is very short and the method is not used in any example project.