|
|||||||||
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.SelectionMode
public static final class QAbstractItemView.SelectionMode
This enum indicates how the view responds to user selections. The most commonly used modes are SingleSelection
and ExtendedSelection
.
Field Summary | |
---|---|
static QAbstractItemView.SelectionMode |
ContiguousSelection
When the user selects an item in the usual way, the selection is cleared and the new item selected. |
static QAbstractItemView.SelectionMode |
ExtendedSelection
When the user selects an item in the usual way, the selection is cleared and the new item selected. |
static QAbstractItemView.SelectionMode |
MultiSelection
When the user selects an item in the usual way, the selection status of that item is toggled and the other items are left alone. |
static QAbstractItemView.SelectionMode |
NoSelection
Items cannot be selected. |
static QAbstractItemView.SelectionMode |
SingleSelection
When the user selects an item, any already-selected item becomes unselected, and the user cannot unselect the selected item by clicking on it. |
Method Summary | |
---|---|
static QAbstractItemView.SelectionMode |
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.SelectionMode |
valueOf(java.lang.String name)
|
static QAbstractItemView.SelectionMode[] |
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.SelectionMode NoSelection
public static final QAbstractItemView.SelectionMode SingleSelection
public static final QAbstractItemView.SelectionMode MultiSelection
public static final QAbstractItemView.SelectionMode ExtendedSelection
public static final QAbstractItemView.SelectionMode ContiguousSelection
Method Detail |
---|
public static QAbstractItemView.SelectionMode[] values()
public static QAbstractItemView.SelectionMode valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QAbstractItemView.SelectionMode resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |