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