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