- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description WindowFlags(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 Type Method Description Qt.WindowFlags
clone()
Clones the flagsQt.WindowFlags
combined(Qt.WindowType e)
Combines this flags with enum entry.int
compareTo(Qt.WindowFlags other)
Qt.WindowType[]
flags()
Returns an array of flag objects represented by this WindowFlags.Qt.WindowFlags
setFlag(Qt.WindowType e)
Sets the flage
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>
-