There is an example distributed with Qt called "diagramscene". In the application, the user creates a variety of graphics objects in the Graphics Scene. I am interested in saving this data in a relational database. One table with the list of objects and the second table with the connections between the objects. What would it take to connect the objects to a QSQLRelationalTableModel"? What classes do I need to allow retrieving the data, edit, and saving the data?