com.trolltech.qt.gui
Class QStyleOptionViewItemV2.ViewItemFeature

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.gui.QStyleOptionViewItemV2.ViewItemFeature
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing class:
QStyleOptionViewItemV2

public static final class QStyleOptionViewItemV2.ViewItemFeature
extends java.lang.Enum
implements QtEnumerator

This enum describles the different types of features an item can have.

See Also:
Serialized Form

Field Summary
static QStyleOptionViewItemV2.ViewItemFeature Alternate
          Indicates that the item's background is rendered using alternateBase.
static QStyleOptionViewItemV2.ViewItemFeature HasCheckIndicator
          Indicates that the item has a check state indicator.
static QStyleOptionViewItemV2.ViewItemFeature HasDecoration
          Indicates that the item has a decoration role.
static QStyleOptionViewItemV2.ViewItemFeature HasDisplay
          Indicates that the item has a display role.
static QStyleOptionViewItemV2.ViewItemFeature None
          Indicates a normal item.
static QStyleOptionViewItemV2.ViewItemFeature WrapText
          Indicates an item with wrapped text.
 
Method Summary
static QStyleOptionViewItemV2.ViewItemFeatures createQFlags(QStyleOptionViewItemV2.ViewItemFeature[] values)
          This function creates a com.trolltech.qt.gui.QStyleOptionViewItemV2$ViewItemFeatures with the specified com.trolltech.qt.gui.QStyleOptionViewItemV2$ViewItemFeature[] QStyleOptionViewItemV2$ViewItemFeature values set.
static QStyleOptionViewItemV2.ViewItemFeature resolve(int value)
          Returns the QStyleOptionViewItemV2$ViewItemFeature constant with the specified int.
 int value()
          This function should return an integer value for the enum values of the enumeration that implements this interface.
static QStyleOptionViewItemV2.ViewItemFeature valueOf(java.lang.String name)
           
static QStyleOptionViewItemV2.ViewItemFeature[] 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

None

public static final QStyleOptionViewItemV2.ViewItemFeature None
Indicates a normal item.


WrapText

public static final QStyleOptionViewItemV2.ViewItemFeature WrapText
Indicates an item with wrapped text.


Alternate

public static final QStyleOptionViewItemV2.ViewItemFeature Alternate
Indicates that the item's background is rendered using alternateBase.


HasCheckIndicator

public static final QStyleOptionViewItemV2.ViewItemFeature HasCheckIndicator
Indicates that the item has a check state indicator.


HasDisplay

public static final QStyleOptionViewItemV2.ViewItemFeature HasDisplay
Indicates that the item has a display role.


HasDecoration

public static final QStyleOptionViewItemV2.ViewItemFeature HasDecoration
Indicates that the item has a decoration role.

Method Detail

values

public static QStyleOptionViewItemV2.ViewItemFeature[] values()

valueOf

public static QStyleOptionViewItemV2.ViewItemFeature valueOf(java.lang.String name)

value

public int value()
This function should return an integer value for the enum values of the enumeration that implements this interface.

Specified by:
value in interface QtEnumerator

createQFlags

public static QStyleOptionViewItemV2.ViewItemFeatures createQFlags(QStyleOptionViewItemV2.ViewItemFeature[] values)
This function creates a com.trolltech.qt.gui.QStyleOptionViewItemV2$ViewItemFeatures with the specified com.trolltech.qt.gui.QStyleOptionViewItemV2$ViewItemFeature[] QStyleOptionViewItemV2$ViewItemFeature values set.


resolve

public static QStyleOptionViewItemV2.ViewItemFeature resolve(int value)
Returns the QStyleOptionViewItemV2$ViewItemFeature constant with the specified int.