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