DragEvent
Provides information about a drag event More...
Properties
- accepted : bool
- action : enumeration
- drag.source : Object
- keys : stringlist
- supportedActions : flags
- x : real
- y : real
Methods
Detailed Description
The position of the drag event can be obtained from the x and y properties, and the keys property identifies the drag keys of the event source.
Property Documentation
This property holds whether the drag event was accepted by a handler.
The default value is true.
This property holds the action that the source is to perform on an accepted drop.
The drop action may be one of:
- Qt.CopyAction Copy the data to the target
- Qt.MoveAction Move the data from the source to the target
- Qt.LinkAction Create a link from the source to the target.
- Qt.IgnoreAction Ignore the action (do nothing with the data).
This property holds a list of keys identifying the data type or source of a drag event.
This property holds the set of actions supported by the drag source.
Method Documentation
Accepts the drag event.
If an action is specified it will overwrite the value of the action property.
Accepts the drag event.
If an action is specified it will overwrite the value of the action property.