- 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
ConstructorDescriptionFrameFeatures
(int value) Creates a new FrameFeatures with givenvalue
.FrameFeatures
(QStyleOptionFrame.FrameFeature ... args) Creates a new FrameFeatures where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones the flagsCombines this flags with enum entry.final int
final QStyleOptionFrame.FrameFeature []
flags()
Returns an array of flag objects represented by this FrameFeatures.Sets the flage
setFlag
(QStyleOptionFrame.FrameFeature e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
FrameFeatures
Creates a new FrameFeatures where the flags inargs
are 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:
combined
in classQFlags<QStyleOptionFrame.FrameFeature>
- Parameters:
e
- enum entry- Returns:
- new FrameFeatures
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QStyleOptionFrame.FrameFeature>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in 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:
flags
in classQFlags<QStyleOptionFrame.FrameFeature>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QStyleOptionFrame.FrameFeature>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QStyleOptionFrame.FrameFeatures>
-