[Interest] Possible to draw between QWindows

Michael Jackson mike.jackson at bluequartz.net
Tue May 1 17:31:58 CEST 2018


Possibly strange question that I have googled a bit for but I may not be using the proper terminology to get the answers that I am looking for.

I have a QWidget (say a button) in QWindow "A" and I want to perform a drag action from that QWidget onto another QWidget in another QWindow "B" (So far easy stuff). What I would like to also do while I am dragging is continuously draw a nice stylized line from the current location of the mouse back to the QWidget where the drag started. Is this even possible? I can't seem to figure out if the line would ONLY be drawn inside the QWindows and NOT outside? And if that is the case I would assume that I then need to rely on "native" code for each platform to perform the drawing? If anybody has a working example of this kind of interaction that would also be much appreciated.

Thanks
--
Michael Jackson | Owner, President
      BlueQuartz Software
[e] mike.jackson at bluequartz.net
[w] www.bluequartz.net





More information about the Interest mailing list