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