- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description FrameFeatures(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 Type Method Description QStyleOptionFrame.FrameFeatures
clone()
Clones the flagsQStyleOptionFrame.FrameFeatures
combined(QStyleOptionFrame.FrameFeature e)
Combines this flags with enum entry.int
compareTo(QStyleOptionFrame.FrameFeatures other)
QStyleOptionFrame.FrameFeature[]
flags()
Returns an array of flag objects represented by this FrameFeatures.QStyleOptionFrame.FrameFeatures
setFlag(QStyleOptionFrame.FrameFeature e)
Sets the flage
QStyleOptionFrame.FrameFeatures
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>
-