java.lang.Object
io.qt.QFlags<QWindowsApplication.DarkModeHandlingFlag>
io.qt.gui.nativeinterface.QWindowsApplication.DarkModeHandling
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QWindowsApplication.DarkModeHandling>
- Enclosing interface:
QWindowsApplication
public static final class QWindowsApplication.DarkModeHandling
extends QFlags<QWindowsApplication.DarkModeHandlingFlag>
implements Comparable<QWindowsApplication.DarkModeHandling>
QFlags
type for enum QWindowsApplication.DarkModeHandlingFlag
- See Also:
-
Constructor Summary
ConstructorDescriptionDarkModeHandling
(int value) Creates a new DarkModeHandling with givenvalue
.Creates a new DarkModeHandling where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones the flagsCombines this flags with enum entry.final int
flags()
Returns an array of flag objects represented by this DarkModeHandling.Sets the flage
setFlag
(QWindowsApplication.DarkModeHandlingFlag e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
DarkModeHandling
Creates a new DarkModeHandling where the flags inargs
are set.- Parameters:
args
- enum entries
-
DarkModeHandling
public DarkModeHandling(int value) Creates a new DarkModeHandling with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
public final QWindowsApplication.DarkModeHandling combined(QWindowsApplication.DarkModeHandlingFlag e) Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QWindowsApplication.DarkModeHandlingFlag>
- Parameters:
e
- enum entry- Returns:
- new DarkModeHandling
-
setFlag
public final QWindowsApplication.DarkModeHandling setFlag(QWindowsApplication.DarkModeHandlingFlag e) Sets the flage
- Overrides:
setFlag
in classQFlags<QWindowsApplication.DarkModeHandlingFlag>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
public final QWindowsApplication.DarkModeHandling setFlag(QWindowsApplication.DarkModeHandlingFlag e, boolean on) Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QWindowsApplication.DarkModeHandlingFlag>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this DarkModeHandling.- Overrides:
flags
in classQFlags<QWindowsApplication.DarkModeHandlingFlag>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QWindowsApplication.DarkModeHandlingFlag>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QWindowsApplication.DarkModeHandling>
-