Julian Bäume wrote: > hi, > I just wanted to show some progress, I made with the kde4 port. I implemented > basic functionality of drawing connectors (graphical representation of a > wire), tonight. The nights before, I refactored the work I did on drawing > components. It's now based on QGraphicsView system. I noticed some conflicts > between the old QCanvas implementation and the new one, regarding coordinate > systems and reference points. Therefore I'd like to slightly change the > circuit-file format, to make it fit better to the needs of the new graphics- > system. I'm not sure, how exactly I want to change it, but I don't like it, > as > it is done, at the moment. One example I don't like is the use of different > reference points and scales. A route in a connector is stored relatively to > an > 8x8 grid, item's coordinates are stored in absolute pixel-values. I still > don't want to break old files, so I want to provide some legacy code, to load > old style circuit files and save them as the new version. But as I said, I > need to clarify some things, before proceeding (i.e. implement write support).
I did a cleanup pass of the connector code about a month ago. I hope you are basing your changes to connectors off the current SVN, it is considerably less buggy and more readable... -- DO NOT USE OBAMACARE. DO NOT BUY OBAMACARE. Powers are not rights. ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Ktechlab-devel mailing list Ktechlab-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ktechlab-devel