reorganize gui, add QGraphicsView, QPushButton; replace calculations in on_click function