- 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
ConstructorsConstructorDescriptionWindowFlags(int value) Creates a new WindowFlags with givenvalue.WindowFlags(Qt.WindowType ... args) Creates a new WindowFlags where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.WindowFlagsclone()Clones the flagsfinal Qt.WindowFlagsCombines this flags with enum entry.final intcompareTo(Qt.WindowFlags other) final Qt.WindowType []flags()Returns an array of flag objects represented by this WindowFlags.final Qt.WindowFlagsSets the flagefinal Qt.WindowFlagssetFlag(Qt.WindowType e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
WindowFlags
Creates a new WindowFlags where the flags inargsare 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:
combinedin classQFlags<Qt.WindowType>- Parameters:
e- enum entry- Returns:
- new WindowFlags
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<Qt.WindowType>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin 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:
flagsin classQFlags<Qt.WindowType>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<Qt.WindowType>
-
compareTo
- Specified by:
compareToin interfaceComparable<Qt.WindowFlags>
-