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