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