- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description 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 Type Method Description QGraphicsBlurEffect.BlurHints
clone()
Clones the flagsQGraphicsBlurEffect.BlurHints
combined(QGraphicsBlurEffect.BlurHint e)
Combines this flags with enum entry.int
compareTo(QGraphicsBlurEffect.BlurHints other)
QGraphicsBlurEffect.BlurHint[]
flags()
Returns an array of flag objects represented by this BlurHints.QGraphicsBlurEffect.BlurHints
setFlag(QGraphicsBlurEffect.BlurHint e)
Sets the flage
QGraphicsBlurEffect.BlurHints
setFlag(QGraphicsBlurEffect.BlurHint e, boolean on)
Sets or clears the flagflag
-
Constructor Details
-
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>
-