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