add view mainwindow