I am trying to integrate some sort of database table visualisation thing to link tables with foreign keys like in MS Access or in Toad, but to do this I am confused on what kind of approach to take and which classes to use.
The drawing area should be a QCanvas because I need to draw lines between the child windows (like those windows inside an MDI) to link the tables.
but at the same time this window should also be an MDI and I dont know if using multiple inheritance for this situation is appropriate. (I would like to avoid it in the first place).
Also, I dont really know how I would pass the information from the selected item inside such a child window to another child window (linking 2 tables with a foreign key).
The reason why those tables should be represented with windows is because I need the functionality of resizing and moving those objects inside the canvas (unless there is a better way of course )
I'm still using Qt3 (linux) so I dont have access to the new graphics implementation of Qt4 yet.
Bookmarks