Bug 120830 - Wish: Support for qt signals/slots
Summary: Wish: Support for qt signals/slots
Status: CONFIRMED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-26 20:38 UTC by Bill Anderson
Modified: 2013-08-19 01:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Anderson 2006-01-26 20:41:39 UTC
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. ;)
Comment 1 Alan Ezust 2006-01-29 05:39:53 UTC
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.

Comment 2 Alan Ezust 2006-01-29 05:40:54 UTC
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.
Comment 3 Oliver Kellogg 2006-02-13 22:14:16 UTC
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?
Comment 4 Ralf Habacker 2013-08-19 01:48:58 UTC
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.