- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QGraphicsBlurEffect.BlurHints>
- Enclosing class:
QGraphicsBlurEffect
public static final class QGraphicsBlurEffect.BlurHints
extends QFlags<QGraphicsBlurEffect.BlurHint>
implements Comparable<QGraphicsBlurEffect.BlurHints>
QFlags
type for enum QGraphicsBlurEffect.BlurHint
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a new BlurHints.BlurHints
(int value) Creates a new BlurHints with givenvalue
.BlurHints
(QGraphicsBlurEffect.BlurHint ... args) Creates a new BlurHints where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones the flagsCombines this flags with enum entry.final int
final QGraphicsBlurEffect.BlurHint []
flags()
Returns an array of flag objects represented by this BlurHints.Sets the flage
setFlag
(QGraphicsBlurEffect.BlurHint e, boolean on) Sets or clears the flagflag
final void
setValue
(int value) Sets the value of this QFlags.final int
value()
Returns the value of this QFlags.
-
Constructor Details
-
BlurHints
public BlurHints()Creates a new BlurHints. -
BlurHints
Creates a new BlurHints where the flags inargs
are set.- Parameters:
args
- enum entries
-
BlurHints
public BlurHints(int value) Creates a new BlurHints with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QGraphicsBlurEffect.BlurHint>
- Parameters:
e
- enum entry- Returns:
- new BlurHints
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QGraphicsBlurEffect.BlurHint>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QGraphicsBlurEffect.BlurHint>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this BlurHints.- Overrides:
flags
in classQFlags<QGraphicsBlurEffect.BlurHint>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QGraphicsBlurEffect.BlurHint>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QGraphicsBlurEffect.BlurHints>
-
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
-