- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ToolBarAreas(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 Type Method Description Qt.ToolBarAreas
clone()
Clones the flagsQt.ToolBarAreas
combined(Qt.ToolBarArea e)
Combines this flags with enum entry.int
compareTo(Qt.ToolBarAreas other)
Qt.ToolBarArea[]
flags()
Returns an array of flag objects represented by this ToolBarAreas.Qt.ToolBarAreas
setFlag(Qt.ToolBarArea e)
Sets the flage
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>
-