- 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:
-
Constructor Summary
ConstructorsConstructorDescriptionTabFeatures(int value) Creates a new TabFeatures with givenvalue.TabFeatures(QStyleOptionTab.TabFeature ... args) Creates a new TabFeatures where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intfinal QStyleOptionTab.TabFeature []flags()Returns an array of flag objects represented by this TabFeatures.Sets the flagesetFlag(QStyleOptionTab.TabFeature e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
TabFeatures
Creates a new TabFeatures where the flags inargsare 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:
combinedin classQFlags<QStyleOptionTab.TabFeature>- Parameters:
e- enum entry- Returns:
- new TabFeatures
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<QStyleOptionTab.TabFeature>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin 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:
flagsin classQFlags<QStyleOptionTab.TabFeature>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QStyleOptionTab.TabFeature>
-
compareTo
- Specified by:
compareToin interfaceComparable<QStyleOptionTab.TabFeatures>
-