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