I will explain my Problem with my complete code and Images, so I made a Mainwindow and placed 2 QGroupBox to my MainWindow.
Until here all fine..
I created a class