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