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