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