- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description CreateTextureOptions(int value)
Creates a new CreateTextureOptions with givenvalue
.CreateTextureOptions(QQuickWindow.CreateTextureOption... args)
Creates a new CreateTextureOptions where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QQuickWindow.CreateTextureOptions
clone()
Clones the flagsQQuickWindow.CreateTextureOptions
combined(QQuickWindow.CreateTextureOption e)
Combines this flags with enum entry.int
compareTo(QQuickWindow.CreateTextureOptions other)
QQuickWindow.CreateTextureOption[]
flags()
Returns an array of flag objects represented by this CreateTextureOptions.QQuickWindow.CreateTextureOptions
setFlag(QQuickWindow.CreateTextureOption e)
Sets the flage
QQuickWindow.CreateTextureOptions
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>
-