|
|||||||||
| 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.QGraphicsView.DragMode
public static final class QGraphicsView.DragMode
This enum describes the default action for the view when pressing and dragging the mouse over the viewport.
dragMode, and QGraphicsScene::setSelectionArea().
| Field Summary | |
|---|---|
static QGraphicsView.DragMode |
NoDrag
Nothing happens; the mouse event is ignored. |
static QGraphicsView.DragMode |
RubberBandDrag
A rubber band will appear. |
static QGraphicsView.DragMode |
ScrollHandDrag
The cursor changes into a pointing hand, and dragging the mouse around will scroll the scrolbars. |
| Method Summary | |
|---|---|
static QGraphicsView.DragMode |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QGraphicsView.DragMode |
valueOf(java.lang.String name)
|
static QGraphicsView.DragMode[] |
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 QGraphicsView.DragMode NoDrag
public static final QGraphicsView.DragMode ScrollHandDrag
interactive and non-interactive mode.
public static final QGraphicsView.DragMode RubberBandDrag
| Method Detail |
|---|
public static QGraphicsView.DragMode[] values()
public static QGraphicsView.DragMode valueOf(java.lang.String name)
public int value()
value in interface QtEnumeratorpublic static QGraphicsView.DragMode resolve(int value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||