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