You mean something like the legend you can see in almost all Qwt examples ?

Uwe