DragAndDrop
#include <DeclarativeDragDropEvent.h>
Definition at line 32 of file DeclarativeDragDropEvent.h.
DeclarativeDragDropEvent::DeclarativeDragDropEvent |
( |
QGraphicsSceneDragDropEvent * |
e, |
|
|
DeclarativeDropArea * |
parent = 0 |
|
) |
| |
void DeclarativeDragDropEvent::accept |
( |
int |
action | ) |
|
|
slot |
int DeclarativeDragDropEvent::buttons |
( |
| ) |
const |
|
inline |
int DeclarativeDragDropEvent::modifiers |
( |
| ) |
const |
|
inline |
Qt::DropActions DeclarativeDragDropEvent::possibleActions |
( |
| ) |
const |
|
inline |
Qt::DropAction DeclarativeDragDropEvent::proposedAction |
( |
| ) |
const |
|
inline |
int DeclarativeDragDropEvent::x |
( |
| ) |
const |
|
inline |
int DeclarativeDragDropEvent::y |
( |
| ) |
const |
|
inline |
int DeclarativeDragDropEvent::buttons |
|
read |
The pressed mouse buttons.
A combination of: Qt.NoButton The button state does not refer to any button (see QMouseEvent::button()). Qt.LeftButton The left button is pressed, or an event refers to the left button. (The left button may be the right button on left-handed mice.) Qt.RightButton The right button. Qt.MidButton The middle button. Qt.MiddleButton MidButton The middle button. Qt.XButton1 The first X button. Qt.XButton2 The second X button.
Definition at line 57 of file DeclarativeDragDropEvent.h.
int DeclarativeDragDropEvent::modifiers |
|
read |
Pressed keyboard modifiers, a combination of: Qt.NoModifier No modifier key is pressed.
Qt.ShiftModifier A Shift key on the keyboard is pressed. Qt.ControlModifier A Ctrl key on the keyboard is pressed. Qt.AltModifier An Alt key on the keyboard is pressed. Qt.MetaModifier A Meta key on the keyboard is pressed. Qt.KeypadModifier A keypad button is pressed. Qt.GroupSwitchModifier X11 only. A Mode_switch key on the keyboard is pressed.
Definition at line 69 of file DeclarativeDragDropEvent.h.
Qt::DropActions DeclarativeDragDropEvent::possibleActions |
|
read |
The possible different kind of action that can be done in the drop, is a combination of: Qt.CopyAction 0x1 Copy the data to the target.
Qt.MoveAction 0x2 Move the data from the source to the target. Qt.LinkAction 0x4 Create a link from the source to the target. Qt.ActionMask 0xff Qt.IgnoreAction 0x0 Ignore the action (do nothing with the data). Qt.TargetMoveAction 0x8002 On Windows, this value is used when the ownership of the D&D data should be taken over by the target application, i.e., the source application should not delete the data. On X11 this value is used to do a move. TargetMoveAction is not used on the Mac.
Definition at line 88 of file DeclarativeDragDropEvent.h.
Qt::DropAction DeclarativeDragDropEvent::proposedAction |
|
read |
int DeclarativeDragDropEvent::x |
|
read |
The mouse X position of the event relative to the DropArea that is receiving the event.
Definition at line 39 of file DeclarativeDragDropEvent.h.
int DeclarativeDragDropEvent::y |
|
read |
The mouse Y position of the event relative to the DropArea that is receiving the event.
Definition at line 44 of file DeclarativeDragDropEvent.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.