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