Thread: GUIs in a QMenu
View Single Post
  #12  
Old 05-04-2007, 06:35 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by cbkbud View Post
I know, that's why I use it. What I need to know is how to tell if it is being dragged. I can't find any variable, and there's no event for this.
Well for one, I don't think you should be dragging the GUI image itself, but rather when the mouse is held down on it you create a second separate icon that follows the position of the mouse on screen.

But there is an event that might help you.
Quote:
Originally Posted by Graal Bible
onMouseDragged(keymodifier,mousescreenx,mousescree ny) - the mouse is moved while the left mouse button is pressed
http://wiki.graal.net/index.php/Crea...ent/GuiControl
__________________
Reply With Quote