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