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