Thanks a lot!

I had to insert an extra call to QwtPlotItem::updateLegend(legend); at the end of YourCurve::updateLegend(), otherwise it wouldn't use the specified size for symbol-style legend items (lines were ok).