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