Version: (using KDE KDE 3.5.0) Installed from: Gentoo Packages I know this sounds inappropriate but hear me out. I want to be able to, for example, in the collaboration diagram to be able to say an object/class "emits" a signal and link it to a class/object that is listening for it. Just as you would for calling a method of the other class/object. Even better would be for Umbrello to see my connect statements and automatically link them. :) I'd alse like to be able to specify signals and slots in the class editor and diagrams. Naturally, I want code generation to include the signal/slot decllarations, though I dare not ask for connects ... but I have a conceptual idea how that *could* be done. Primarily let me create/edit slots and signals in the class editor, and then I'd really like to see them in other diagrams such as collaboration. Naturally I want importing classes to recognize slots/signals as well. ;)
I think this article should be relevant for this bug: http://lists.trolltech.com/qt-interest/2001-05/msg00253.html If there is actually a way to describe it in rational, we should try to emulate it in Umbrello.
more specifically: For signals and slots in the static model just add a new compartment to the class. See page 208 in the UML Language reference manual. For the "dynamic model", you may use a stereotyped association. However, I dont know wether RR supports additional compartments. If it does not, then represent signals and slots as stereotyped operations. Torben I do not have the "uml language reference manual" so I am not sure what this person is talking about.
I quote David Johnson from the thread that Alan cites: > Stereotypes are your friends when it comes to uncharted waters. I am > thinking the best solution is to use sterotyped dependencies and interfaces. > Use the "lollipop" notation with the sterotype of <<slot>>, and dependencies > with a stereotype of <<signal>>. Consensus? Any other ideas?
As no one gave better ideas nor a patch I guess it would be the best to add a related FAQ entry at http://userbase.kde.org/Umbrello/FAQ and close this bug.