|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.gui.QAbstractItemView.DragDropMode
public static final class QAbstractItemView.DragDropMode
Describes the various drag and drop events the view can act upon. By default the view does not support dragging or dropping (NoDragDrop). Note that the model used needs to provide support for drag and drop operations.
Field Summary | |
---|---|
static QAbstractItemView.DragDropMode |
DragDrop
|
static QAbstractItemView.DragDropMode |
DragOnly
The view supports dragging of its own items |
static QAbstractItemView.DragDropMode |
DropOnly
The view accepts drops |
static QAbstractItemView.DragDropMode |
InternalMove
only accepts move operations only from itself. |
static QAbstractItemView.DragDropMode |
NoDragDrop
Does not support dragging or dropping. |
Method Summary | |
---|---|
static QAbstractItemView.DragDropMode |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QAbstractItemView.DragDropMode |
valueOf(java.lang.String name)
|
static QAbstractItemView.DragDropMode[] |
values()
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QAbstractItemView.DragDropMode NoDragDrop
public static final QAbstractItemView.DragDropMode DragOnly
public static final QAbstractItemView.DragDropMode DropOnly
public static final QAbstractItemView.DragDropMode DragDrop
public static final QAbstractItemView.DragDropMode InternalMove
Method Detail |
---|
public static QAbstractItemView.DragDropMode[] values()
public static QAbstractItemView.DragDropMode valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QAbstractItemView.DragDropMode resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |