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