- All Implemented Interfaces:
Serializable,Cloneable,Comparable<QStyleOptionFrame.FrameFeatures>
- Enclosing class:
QStyleOptionFrame
public static final class QStyleOptionFrame.FrameFeatures
extends QFlags<QStyleOptionFrame.FrameFeature>
implements Comparable<QStyleOptionFrame.FrameFeatures>
QFlags type for enum QStyleOptionFrame.FrameFeature- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFrameFeatures(int value) Creates a new FrameFeatures with givenvalue.FrameFeatures(QStyleOptionFrame.FrameFeature ... args) Creates a new FrameFeatures where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intfinal QStyleOptionFrame.FrameFeature []flags()Returns an array of flag objects represented by this FrameFeatures.Sets the flagesetFlag(QStyleOptionFrame.FrameFeature e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
FrameFeatures
Creates a new FrameFeatures where the flags inargsare set.- Parameters:
args- enum entries
-
FrameFeatures
public FrameFeatures(int value) Creates a new FrameFeatures with givenvalue.- Parameters:
value-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combinedin classQFlags<QStyleOptionFrame.FrameFeature>- Parameters:
e- enum entry- Returns:
- new FrameFeatures
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<QStyleOptionFrame.FrameFeature>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin classQFlags<QStyleOptionFrame.FrameFeature>- Parameters:
e- enum entryon- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this FrameFeatures.- Overrides:
flagsin classQFlags<QStyleOptionFrame.FrameFeature>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QStyleOptionFrame.FrameFeature>
-
compareTo
- Specified by:
compareToin interfaceComparable<QStyleOptionFrame.FrameFeatures>
-