- 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
ConstructorsConstructorDescriptionCreates a new CreateTextureOptions.CreateTextureOptions(int value) Creates a new CreateTextureOptions with givenvalue.Creates a new CreateTextureOptions where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intfinal QQuickWindow.CreateTextureOption []flags()Returns an array of flag objects represented by this CreateTextureOptions.Sets the flagesetFlag(QQuickWindow.CreateTextureOption 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
-
CreateTextureOptions
public CreateTextureOptions()Creates a new CreateTextureOptions. -
CreateTextureOptions
Creates a new CreateTextureOptions where the flags inargsare 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:
combinedin classQFlags<QQuickWindow.CreateTextureOption>- Parameters:
e- enum entry- Returns:
- new CreateTextureOptions
-
setFlag
Sets the flage- Overrides:
setFlagin 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:
setFlagin 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:
flagsin classQFlags<QQuickWindow.CreateTextureOption>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QQuickWindow.CreateTextureOption>
-
compareTo
- Specified by:
compareToin interfaceComparable<QQuickWindow.CreateTextureOptions>
-
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
-