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