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