Use a QDockWidget to contain the view