Sounds like a perfect candidate for yet another graphics view based application.
That application was written to demonstrate DnD functionality in a simple way. I'm not convinced it is flexible enough for your purposes.For make the circuit i use Drag&Drop, i begin the project editing this example ( http://doc.trolltech.com/4.4/dragand...ableicons.html ).
From user's point of view, how do you want to delete them?- how can i delete the images?
If you really insist doing it the hard way, store a list of labels in the parent (or find them dynamically at run-time) and paint lines between labels' positions.- And i need to link the image with a line. I thought to drag the gate and drop over another gate and make the line with the images coordinates ...but i dont know how i can do that.







Reply With Quote
Bookmarks