- 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:
-
Constructor Summary
ConstructorDescriptionInputDialogOptions
(int value) Creates a new InputDialogOptions with givenvalue
.Creates a new InputDialogOptions where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones the flagsCombines this flags with enum entry.final int
final QInputDialog.InputDialogOption []
flags()
Returns an array of flag objects represented by this InputDialogOptions.Sets the flage
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>
-