[Uml-devel] u2 user interface
Andrew Sutton
ansutton at kent.edu
Tue Apr 1 16:10:21 UTC 2003
On Tuesday 01 April 2003 1:27 pm, Luis De la Parra Blum wrote:
i'm answering this first because i started reading it first :)
> but it is not so easy as it sounds.. specially since you have to modify the
> DOM instead of just calling a method on a Widget/CanvasItem
alright... so maybe ksvg isn't the best solution. at some point, we're going
to be storing diagram data in svg, so whatever solution we have should keep
that in mind. can't we have some kind of lightweight svg implementation that
takes svg DOM objects and turns them into QPainter/KPainter commands. that
would be really nice. we could probably use that to paint on a canvas or
something - although i'm not really sure what QCanvas brings to the party.
> my mistake, I'm sorry.
> the project is called k2d ( D istead of B ). you can find it at
> http://k2d.sourceforge.net/
i'll take a look.
> I've been playing with a new implementation of the diagramming stuff, based
> on U1 and using QCanvas and friends. I've been doing it mostly just for fun
> and of course is not nearly complete, but I think it's *much* cleaner than
> the current code.
> The way it's implemented, porting it to use the "real" UML implementation
> (OMG's / U2 ) should be really fast, so we can consider it as an
> alternative in case the SVG proves to bee to complicated. ( in case you are
> interested, its the diagram folder in U1's CVS - right now only the drawing
> routines for ClassWidgets is implemented )
> I've also made a plug in for the widgets, so that you can load the
> "widgets" at run time and select the appropiate based on several
> criterias... for example, you could install a "Web UML" plug in, and all
> your UMLClasses that have a sterotype " WebPage", will be drawn by that
> plug in (maybe like a small web page, or a normal UML class with a web-icon
> on the top) all other elements get rendered by the "default uml" plug in.
> If you install a new metamodel, you'd have to install a new widgets-plug in
> to render it...
sounds pretty cool, but i'm pretty sure that we're going to have some
significantly more complicated requirements on the widgets so we'll have to
delve into that a little more. i'll take a look at this asap. it won't be for
a day or two, though :( i have alot of work to do.
> man.. this thing takes really long to build!
you need a faster computer ;) i can build it in about 45 minutes at school.
twice as long at home.
andy
More information about the umbrello-devel
mailing list