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