Add widget Plotter from Qt examples.
Fix formatting.