Logo Search packages:      
Sourcecode: unity-2d version File versions  Download package

Signals | Public Member Functions | Protected Member Functions | Properties | Private Attributes

DeclarativeDragItem Class Reference

Inheritance diagram for DeclarativeDragItem:
Inheritance graph

List of all members.


void defaultActionChanged ()
void delegateChanged ()
void drop (int action)
void pressed ()
void released ()
void supportedActionsChanged ()

Public Member Functions

 DeclarativeDragItem (QDeclarativeItem *parent=0)
Qt::DropAction defaultAction () const
QDeclarativeComponent * delegate () const
void resetDelegate ()
void setDefaultAction (Qt::DropAction action)
void setDelegate (QDeclarativeComponent *delegate)
void setSupportedActions (Qt::DropActions actions)
Qt::DropActions supportedActions () const

Protected Member Functions

virtual QMimeData * mimeData () const
void mouseMoveEvent (QGraphicsSceneMouseEvent *event)
void mousePressEvent (QGraphicsSceneMouseEvent *event)
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event)


Qt::DropAction defaultAction
QDeclarativeComponent delegate
Qt::DropActions supportedActions

Private Attributes

Qt::DropAction m_defaultAction
QDeclarativeComponent * m_delegate
Qt::DropActions m_supportedActions

Detailed Description

Definition at line 28 of file dragitem.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index