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