[Uml-devel] [Bug 65410] widgets dont resize when adding operation via context menu

Sebastian Stein seb_stein at gmx.de
Sat Oct 4 11:14:02 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=65410     




------- Additional Comments From seb_stein at gmx.de  2003-10-04 20:12 -------
Subject: Re: [Uml-devel]  New: widgets dont resize when adding operation via context menu

lparrab at gmx.net <lparrab at gmx.net> [031003 00:47]:
> -create a class diagram and add a class.
> -right click on it -> New -> Operation
> 
> result: the operation gets created and displayed on the diagram, but the
> widget does not resize so that the newly created operation is partly
> outside the class widget.
> 
> If you add the operation via the "properties" dialog, the widget is resized just fine.

I like to add that the whole thing is the same for the TreeView. If you add
there an operation by context menu, you have to click at the class again, to
see the new operation. But the class widget isn't resized as well and the
diagram is messed up.

I know a fix how to ensure correct resizing if the operation was added with
context menu in the UMLView, but not from the tree view. Of course we may
fix this by calculating the size every time before we draw the widget, but
this may a little be sub-optimal.

A better solution would be, to connect the signal modified of
UMLClass/UMLClassifier to some slot of the UMLClassWidget/UMLWidget. This
should allready be done, but it doesn't work.

So I ask how to connect UMLClassWidget and the belonging non-graphical
UMLClass object!

Steinchen




More information about the umbrello-devel mailing list