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:
-
Constructor Summary
ConstructorDescriptionFeature
(int value) Creates a new Feature with givenvalue
.Creates a new Feature where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones the flagsCombines this flags with enum entry.final int
flags()
Returns an array of flag objects represented by this Feature.Sets the flage
setFlag
(QDesignerFormWindowInterface.FeatureFlag e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
Feature
Creates a new Feature where the flags inargs
are set.- Parameters:
args
- enum entries
-
Feature
public Feature(int value) Creates a new Feature with givenvalue
.- Parameters:
value
-
-
-
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>
-