from 5 to 6 qwt lib migration
add tab widget
remove tab2 function
start tab2
legend works
before show labels remove
legend start to work
too late