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