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