DragAndDrop
#include <DeclarativeDropArea.h>
Signals | |
void | dragEnter (DeclarativeDragDropEvent *event) |
void | dragLeave (DeclarativeDragDropEvent *event) |
void | dragMove (DeclarativeDragDropEvent *event) |
void | drop (DeclarativeDragDropEvent *event) |
void | enabledChanged () |
Public Member Functions | |
DeclarativeDropArea (QDeclarativeItem *parent=0) | |
bool | isEnabled () const |
void | setEnabled (bool enabled) |
Protected Member Functions | |
void | dragEnterEvent (QGraphicsSceneDragDropEvent *event) |
void | dragLeaveEvent (QGraphicsSceneDragDropEvent *event) |
void | dragMoveEvent (QGraphicsSceneDragDropEvent *event) |
void | dropEvent (QGraphicsSceneDragDropEvent *event) |
Properties | |
bool | enabled |
Detailed Description
Definition at line 31 of file DeclarativeDropArea.h.
Constructor & Destructor Documentation
DeclarativeDropArea::DeclarativeDropArea | ( | QDeclarativeItem * | parent = 0 | ) |
Definition at line 30 of file DeclarativeDropArea.cpp.
Member Function Documentation
|
signal |
Emitted when the mouse cursor dragging something enters in the drag area.
- DeclarativeDragDropEvent description of the dragged content
- See also
- DeclarativeDragDropEvent
|
protected |
Definition at line 37 of file DeclarativeDropArea.cpp.
|
signal |
Emitted when the mouse cursor dragging something leaves the drag area.
- DeclarativeDragDropEvent description of the dragged content
- See also
- DeclarativeDragDropEvent
|
protected |
Definition at line 42 of file DeclarativeDropArea.cpp.
|
signal |
Emitted when the mouse cursor dragging something moves over the drag area.
- DeclarativeDragDropEvent description of the dragged content
- See also
- DeclarativeDragDropEvent
|
protected |
Definition at line 48 of file DeclarativeDropArea.cpp.
|
signal |
Emitted when the user drops something in the area.
- DeclarativeDragDropEvent description of the dragged content
- See also
- DeclarativeDragDropEvent
|
protected |
Definition at line 54 of file DeclarativeDropArea.cpp.
|
signal |
bool DeclarativeDropArea::isEnabled | ( | ) | const |
Definition at line 60 of file DeclarativeDropArea.cpp.
void DeclarativeDropArea::setEnabled | ( | bool | enabled | ) |
Definition at line 65 of file DeclarativeDropArea.cpp.
Property Documentation
|
readwrite |
If false the area will receive no drop events.
Definition at line 38 of file DeclarativeDropArea.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:02:44 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.