DragAndDrop
#include <DeclarativeDragArea.h>
Definition at line 32 of file DeclarativeDragArea.h.
DeclarativeDragArea::~DeclarativeDragArea |
( |
| ) |
|
void DeclarativeDragArea::dataChanged |
( |
| ) |
|
|
signal |
Qt::DropAction DeclarativeDragArea::defaultAction |
( |
| ) |
const |
void DeclarativeDragArea::defaultActionChanged |
( |
| ) |
|
|
signal |
QDeclarativeComponent* DeclarativeDragArea::delegate |
( |
| ) |
const |
void DeclarativeDragArea::delegateChanged |
( |
| ) |
|
|
signal |
QVariant DeclarativeDragArea::delegateImage |
( |
| ) |
const |
void DeclarativeDragArea::delegateImageChanged |
( |
| ) |
|
|
signal |
void DeclarativeDragArea::dragStarted |
( |
| ) |
|
|
signal |
void DeclarativeDragArea::drop |
( |
int |
action | ) |
|
|
signal |
void DeclarativeDragArea::enabledChanged |
( |
| ) |
|
|
signal |
bool DeclarativeDragArea::isEnabled |
( |
| ) |
const |
void DeclarativeDragArea::mouseMoveEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
protected |
void DeclarativeDragArea::mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
| ) |
|
|
inlineprotected |
void DeclarativeDragArea::mouseReleaseEvent |
( |
QGraphicsSceneMouseEvent * |
| ) |
|
|
inlineprotected |
void DeclarativeDragArea::resetDelegate |
( |
| ) |
|
void DeclarativeDragArea::resetSource |
( |
| ) |
|
bool DeclarativeDragArea::sceneEventFilter |
( |
QGraphicsItem * |
item, |
|
|
QEvent * |
event |
|
) |
| |
|
protected |
void DeclarativeDragArea::setDefaultAction |
( |
Qt::DropAction |
action | ) |
|
void DeclarativeDragArea::setDelegate |
( |
QDeclarativeComponent * |
delegate | ) |
|
void DeclarativeDragArea::setDelegateImage |
( |
const QVariant & |
image | ) |
|
void DeclarativeDragArea::setEnabled |
( |
bool |
enabled | ) |
|
void DeclarativeDragArea::setStartDragDistance |
( |
int |
distance | ) |
|
void DeclarativeDragArea::setSupportedActions |
( |
Qt::DropActions |
actions | ) |
|
void DeclarativeDragArea::sourceChanged |
( |
| ) |
|
|
signal |
int DeclarativeDragArea::startDragDistance |
( |
| ) |
const |
void DeclarativeDragArea::startDragDistanceChanged |
( |
| ) |
|
|
signal |
Qt::DropActions DeclarativeDragArea::supportedActions |
( |
| ) |
const |
void DeclarativeDragArea::supportedActionsChanged |
( |
| ) |
|
|
signal |
void DeclarativeDragArea::targetChanged |
( |
| ) |
|
|
signal |
Qt::DropAction DeclarativeDragArea::defaultAction |
|
readwrite |
The default action will be performed during a drag when no modificators are pressed.
Definition at line 76 of file DeclarativeDragArea.h.
QDeclarativeComponent * DeclarativeDragArea::delegate |
|
readwrite |
The delegate is the item that will be displayed next to the mouse cursor during the drag and drop operation.
It usually consists of a large, semi-transparent icon representing the data being dragged.
The delegate is the item that will be displayed next to the mouse cursor during the drag and drop operation. It usually consists of a large, semi-transparent icon representing the data being dragged.
Definition at line 40 of file DeclarativeDragArea.h.
QVariant DeclarativeDragArea::delegateImage |
|
readwrite |
an image to be used as delegate.
if present overrides the delegate property. in can be either a QImage or a QIcon
Definition at line 86 of file DeclarativeDragArea.h.
bool DeclarativeDragArea::enabled |
|
readwrite |
The QML element that is the source of the resulting drag and drop operation.
This can be defined to any item, and will be available to the DropArea as event.data.source
The QML element that is the source of this drag and drop operation. This can be defined to any item, and will be available to the DropArea as event.data.source
Definition at line 46 of file DeclarativeDragArea.h.
int DeclarativeDragArea::startDragDistance |
|
readwrite |
Qt::DropActions DeclarativeDragArea::supportedActions |
|
readwrite |
Supported operations, a combination of Qt.CopyAction Qt.MoveAction Qt.LinkAction Qt.ActionMask Qt.IgnoreAction Qt.TargetMoveAction.
Definition at line 71 of file DeclarativeDragArea.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
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.