That's not the problem....buffer acts as a chart...everything works fine in there....when I do a setCentralWidget(plot) I see my plot and my program does what it's supposed to..
Altought, now, I want to add a QTableWidget, which is created and filled in my data class, and I don't know how to put both on my MainWindow