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