By the way: I don't have bad feelings about dynamic casts or consider them as ugly.

But for ( nowadays maybe obsolete ) memory reasons I take care, that Qwt doesn't need to be compiled with RTTI. So you can always expect to find a solution without dynamic casts.

Uwe