Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
*
* @see Severities
*/
@io.qt.QtRejectedEntries({"LastSeverity"})
public enum Severity implements io.qt.QtFlagEnumerator {
InvalidSeverity(0),
HighSeverity(1),
MediumSeverity(2),
LowSeverity(4),
NotificationSeverity(8),
LastSeverity(8),
AnySeverity(-1);
private Severity(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public Severities asFlags() {
return new Severities(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public Severities combined(Severity e) {
return new Severities(this, e);
}
/**
* Creates a new {@link Severities} from the entries.
* @param values entries
* @return new flag
*/
public static Severities flags(Severity ... values) {
return new Severities(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static Severity resolve(int value) {
switch (value) {
case 0: return InvalidSeverity;
case 1: return HighSeverity;
case 2: return MediumSeverity;
case 4: return LowSeverity;
case 8: return NotificationSeverity;
case -1: return AnySeverity;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* QFlags type for enum {@link Severity}
*/
public static final class Severities extends io.qt.QFlags implements Comparable {
private static final long serialVersionUID = 0x771f7ddce3a2bab8L;
/**
* Creates a new Severities where the flags in args are set.
* @param args enum entries
*/
public Severities(Severity ... args){
super(args);
}
/**
* Creates a new Severities with given value.
* @param value
*/
public Severities(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new Severities
*/
@Override
public final Severities combined(Severity e){
return new Severities(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final Severities setFlag(Severity e){
super.setFlag(e);
return this;
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
public final Severities setFlag(Severity e, boolean on){
super.setFlag(e, on);
return this;
}
/**
* Returns an array of flag objects represented by this Severities.
* @return array of enum entries
*/
@Override
public final Severity[] flags(){
return super.flags(Severity.values());
}
/**
* {@inheritDoc}
*/
@Override
public final Severities clone(){
return new Severities(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(Severities other){
return Integer.compare(value(), other.value());
}
}
/**
*
*
* @see Sources
*/
@io.qt.QtRejectedEntries({"LastSource"})
public enum Source implements io.qt.QtFlagEnumerator {
InvalidSource(0),
APISource(1),
WindowSystemSource(2),
ShaderCompilerSource(4),
ThirdPartySource(8),
ApplicationSource(16),
OtherSource(32),
LastSource(32),
AnySource(-1);
private Source(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public Sources asFlags() {
return new Sources(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public Sources combined(Source e) {
return new Sources(this, e);
}
/**
* Creates a new {@link Sources} from the entries.
* @param values entries
* @return new flag
*/
public static Sources flags(Source ... values) {
return new Sources(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static Source resolve(int value) {
switch (value) {
case 0: return InvalidSource;
case 1: return APISource;
case 2: return WindowSystemSource;
case 4: return ShaderCompilerSource;
case 8: return ThirdPartySource;
case 16: return ApplicationSource;
case 32: return OtherSource;
case -1: return AnySource;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* QFlags type for enum {@link Source}
*/
public static final class Sources extends io.qt.QFlags implements Comparable {
private static final long serialVersionUID = 0x7fe7c1666616fb32L;
/**
* Creates a new Sources where the flags in args are set.
* @param args enum entries
*/
public Sources(Source ... args){
super(args);
}
/**
* Creates a new Sources with given value.
* @param value
*/
public Sources(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new Sources
*/
@Override
public final Sources combined(Source e){
return new Sources(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final Sources setFlag(Source e){
super.setFlag(e);
return this;
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
public final Sources setFlag(Source e, boolean on){
super.setFlag(e, on);
return this;
}
/**
* Returns an array of flag objects represented by this Sources.
* @return array of enum entries
*/
@Override
public final Source[] flags(){
return super.flags(Source.values());
}
/**
* {@inheritDoc}
*/
@Override
public final Sources clone(){
return new Sources(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(Sources other){
return Integer.compare(value(), other.value());
}
}
/**
*
*
* @see Types
*/
@io.qt.QtRejectedEntries({"LastType"})
public enum Type implements io.qt.QtFlagEnumerator {
InvalidType(0),
ErrorType(1),
DeprecatedBehaviorType(2),
UndefinedBehaviorType(4),
PortabilityType(8),
PerformanceType(16),
OtherType(32),
MarkerType(64),
GroupPushType(128),
GroupPopType(256),
LastType(256),
AnyType(-1);
private Type(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public Types asFlags() {
return new Types(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public Types combined(Type e) {
return new Types(this, e);
}
/**
* Creates a new {@link Types} from the entries.
* @param values entries
* @return new flag
*/
public static Types flags(Type ... values) {
return new Types(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static Type resolve(int value) {
switch (value) {
case 0: return InvalidType;
case 1: return ErrorType;
case 2: return DeprecatedBehaviorType;
case 4: return UndefinedBehaviorType;
case 8: return PortabilityType;
case 16: return PerformanceType;
case 32: return OtherType;
case 64: return MarkerType;
case 128: return GroupPushType;
case 256: return GroupPopType;
case -1: return AnyType;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* QFlags type for enum {@link Type}
*/
public static final class Types extends io.qt.QFlags implements Comparable {
private static final long serialVersionUID = 0x74d0fb9231ed2833L;
/**
* Creates a new Types where the flags in args are set.
* @param args enum entries
*/
public Types(Type ... args){
super(args);
}
/**
* Creates a new Types with given value.
* @param value
*/
public Types(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new Types
*/
@Override
public final Types combined(Type e){
return new Types(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final Types setFlag(Type e){
super.setFlag(e);
return this;
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
public final Types setFlag(Type e, boolean on){
super.setFlag(e, on);
return this;
}
/**
* Returns an array of flag objects represented by this Types.
* @return array of enum entries
*/
@Override
public final Type[] flags(){
return super.flags(Type.values());
}
/**
* {@inheritDoc}
*/
@Override
public final Types clone(){
return new Types(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(Types other){
return Integer.compare(value(), other.value());
}
}
/**
*
*/
@io.qt.QtUninvokable
public final int id(){
return id_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int id_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.gui.QOpenGLDebugMessage.Type type(){
return io.qt.gui.QOpenGLDebugMessage.Type.resolve(type_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int type_native_constfct(long __this__nativeId);
/**
*
Overloaded function for {@link #createApplicationMessage(java.lang.String, int, io.qt.gui.QOpenGLDebugMessage.Severity, io.qt.gui.QOpenGLDebugMessage.Type)}
* with type = io.qt.gui.QOpenGLDebugMessage.Type.OtherType.
*/
public static io.qt.gui.QOpenGLDebugMessage createApplicationMessage(java.lang.String text, int id, io.qt.gui.QOpenGLDebugMessage.Severity severity) {
return createApplicationMessage(text, id, severity, io.qt.gui.QOpenGLDebugMessage.Type.OtherType);
}
/**
*
Overloaded function for {@link #createApplicationMessage(java.lang.String, int, io.qt.gui.QOpenGLDebugMessage.Severity, io.qt.gui.QOpenGLDebugMessage.Type)}
type = io.qt.gui.QOpenGLDebugMessage.Type.OtherType
*
*/
public static io.qt.gui.QOpenGLDebugMessage createApplicationMessage(java.lang.String text, int id) {
return createApplicationMessage(text, id, io.qt.gui.QOpenGLDebugMessage.Severity.NotificationSeverity, io.qt.gui.QOpenGLDebugMessage.Type.OtherType);
}
/**
*
Overloaded function for {@link #createApplicationMessage(java.lang.String, int, io.qt.gui.QOpenGLDebugMessage.Severity, io.qt.gui.QOpenGLDebugMessage.Type)}
*/
public static io.qt.gui.QOpenGLDebugMessage createApplicationMessage(java.lang.String text, int id, io.qt.gui.QOpenGLDebugMessage.Severity severity, io.qt.gui.QOpenGLDebugMessage.Type type){
return createApplicationMessage_native_cref_QString_GLuint_QOpenGLDebugMessage_Severity_QOpenGLDebugMessage_Type(text, id, severity.value(), type.value());
}
private native static io.qt.gui.QOpenGLDebugMessage createApplicationMessage_native_cref_QString_GLuint_QOpenGLDebugMessage_Severity_QOpenGLDebugMessage_Type(java.lang.String text, int id, int severity, int type);
/**
*
Overloaded function for {@link #createThirdPartyMessage(java.lang.String, int, io.qt.gui.QOpenGLDebugMessage.Severity, io.qt.gui.QOpenGLDebugMessage.Type)}
* with type = io.qt.gui.QOpenGLDebugMessage.Type.OtherType.
*/
public static io.qt.gui.QOpenGLDebugMessage createThirdPartyMessage(java.lang.String text, int id, io.qt.gui.QOpenGLDebugMessage.Severity severity) {
return createThirdPartyMessage(text, id, severity, io.qt.gui.QOpenGLDebugMessage.Type.OtherType);
}
/**
*
Overloaded function for {@link #createThirdPartyMessage(java.lang.String, int, io.qt.gui.QOpenGLDebugMessage.Severity, io.qt.gui.QOpenGLDebugMessage.Type)}
type = io.qt.gui.QOpenGLDebugMessage.Type.OtherType
*
*/
public static io.qt.gui.QOpenGLDebugMessage createThirdPartyMessage(java.lang.String text, int id) {
return createThirdPartyMessage(text, id, io.qt.gui.QOpenGLDebugMessage.Severity.NotificationSeverity, io.qt.gui.QOpenGLDebugMessage.Type.OtherType);
}
/**
*
Overloaded function for {@link #createThirdPartyMessage(java.lang.String, int, io.qt.gui.QOpenGLDebugMessage.Severity, io.qt.gui.QOpenGLDebugMessage.Type)}