java.lang.Object
io.qt.QFlags<QStyleOptionViewItem.ViewItemFeature>
io.qt.widgets.QStyleOptionViewItem.ViewItemFeatures
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QStyleOptionViewItem.ViewItemFeatures>
- Enclosing class:
- QStyleOptionViewItem
public static final class QStyleOptionViewItem.ViewItemFeatures extends QFlags<QStyleOptionViewItem.ViewItemFeature> implements Comparable<QStyleOptionViewItem.ViewItemFeatures>
QFlags type for enum
QStyleOptionViewItem.ViewItemFeature
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ViewItemFeatures(int value)
Creates a new ViewItemFeatures with givenvalue
.ViewItemFeatures(QStyleOptionViewItem.ViewItemFeature... args)
Creates a new ViewItemFeatures where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QStyleOptionViewItem.ViewItemFeatures
clone()
Clones the flagsQStyleOptionViewItem.ViewItemFeatures
combined(QStyleOptionViewItem.ViewItemFeature e)
Combines this flags with enum entry.int
compareTo(QStyleOptionViewItem.ViewItemFeatures other)
QStyleOptionViewItem.ViewItemFeature[]
flags()
Returns an array of flag objects represented by this ViewItemFeatures.QStyleOptionViewItem.ViewItemFeatures
setFlag(QStyleOptionViewItem.ViewItemFeature e)
Sets the flage
QStyleOptionViewItem.ViewItemFeatures
setFlag(QStyleOptionViewItem.ViewItemFeature e, boolean on)
Sets or clears the flagflag
-
Constructor Details
-
ViewItemFeatures
Creates a new ViewItemFeatures where the flags inargs
are set.- Parameters:
args
- enum entries
-
ViewItemFeatures
public ViewItemFeatures(int value)Creates a new ViewItemFeatures with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
public final QStyleOptionViewItem.ViewItemFeatures combined(QStyleOptionViewItem.ViewItemFeature e)Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QStyleOptionViewItem.ViewItemFeature>
- Parameters:
e
- enum entry- Returns:
- new ViewItemFeatures
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QStyleOptionViewItem.ViewItemFeature>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
public final QStyleOptionViewItem.ViewItemFeatures setFlag(QStyleOptionViewItem.ViewItemFeature e, boolean on)Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QStyleOptionViewItem.ViewItemFeature>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this ViewItemFeatures.- Overrides:
flags
in classQFlags<QStyleOptionViewItem.ViewItemFeature>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QStyleOptionViewItem.ViewItemFeature>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QStyleOptionViewItem.ViewItemFeatures>
-