[Uml-devel] AssociationWidget/AssociationWidgetData merge

Oliver Kellogg Oliver.Kellogg at t-online.de
Tue May 20 17:25:06 UTC 2003


Jonathan Riddell wrote:
>
> > > Am I right in thinking that this just removes the need for
> > > AssociationWidgetData and doesn't do anything else.
> >
> > Correct. (I hope ;-)
>
> Actually it just changes it so AssociationWidget
> inherits from AssociationWidgetData rather than get rid of it completely.
> Which is probably just as good.

Oops, right you are. A case of wishful thinking on my part.
I wanted to get rid of the WidgetData class, but it proved not
that simple. The problem is, the parent of the Widget class is
the UMLView, but that parent does not exist at the time of the
WidgetData::loadFromXMI(), and it's not possible to set it later
(there is no separate setter method for the parent in QWidget.)

> A couple of five minute beasties I'm afraid.  Try changing the
> Changeability on an association, crash.  Also I had problems with the
> Quanta file
> http://www.cs.stir.ac.uk/~jri/quanta_uml.xmi
> load that up, then press the New File button on the toolbar.

Fixed. Thanks for spotting that.

Oliver





More information about the umbrello-devel mailing list