- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Qt.Orientations>
- Enclosing class:
Qt
public static final class Qt.Orientations
extends QFlags<Qt.Orientation>
implements Comparable<Qt.Orientations>
QFlags type for enum Qt.Orientation- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOrientations(int value) Creates a new Orientations with givenvalue.Orientations(Qt.Orientation ... args) Creates a new Orientations where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.Orientationsclone()Clones the flagsfinal Qt.OrientationsCombines this flags with enum entry.final intcompareTo(Qt.Orientations other) final Qt.Orientation []flags()Returns an array of flag objects represented by this Orientations.final Qt.OrientationsSets the flagefinal Qt.OrientationssetFlag(Qt.Orientation e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
Orientations
Creates a new Orientations where the flags inargsare set.- Parameters:
args- enum entries
-
Orientations
public Orientations(int value) Creates a new Orientations with givenvalue.- Parameters:
value-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combinedin classQFlags<Qt.Orientation>- Parameters:
e- enum entry- Returns:
- new Orientations
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<Qt.Orientation>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin classQFlags<Qt.Orientation>- Parameters:
e- enum entryon- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this Orientations.- Overrides:
flagsin classQFlags<Qt.Orientation>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<Qt.Orientation>
-
compareTo
- Specified by:
compareToin interfaceComparable<Qt.Orientations>
-