found another possible way of getting views inside the mainwindow. works without QGridLayout!
changed example_pic