[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kuml-devel
Subject:    Re: Drag and Drop
From:       p_george <p_george () club-internet ! fr>
Date:       1999-12-17 16:03:46
[Download RAW message or body]

Jake Fear wrote:
> 
> Hi, I have some ideas about implementing drag and drop.  I have been
> digging through the Qt API's a bit and have developed something of a plan for
> making the over view a drag source and the diagrams drag sinks.  The Qt API is
> more or less text based.  You give the DragEvent (I think that is right) a MIME
> type and the text data.  Then the drop sink looks at the mime type and, if it
> can, consumes the data treating it as the given type.  MIME defines a standard
> way to add your own custom MIME types.  It is basically some details about
> putting the string "x-" in the appropriate place in the MIME type.  There is
> no standard that I am aware of for dragging classes, actors etc between
> applications.  If we implement it using this text approach we may at least
> have some VERY BASIC interoperabiltiy with other programs.  The diagrams in
> KUML would get a drop event with a type like "text\x-class" or something
> similar.  If the diagram recognized the given type they could react
> appropriately.  For example, a class could be obtained from the repository or a
> new DrawingActor could be instantiated.  What ever is appropriate.  These are
> just my first ideas and I am looking for feed back.  So praise me or flame me
> would ya ;-)

This looks very much like the DCOP features that comes with  KDE 2 /
KOffice.

Unfortunately, I don't know much about it, as I will not switch to KDE 2
until a stable release is done.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic