I have a QT application and on my window I have graphs and number of graphs are depending on users choice thats why I am using a pointer array to create them. My problem is