All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.widgets.QStyleHintReturn Maven / Gradle / Ivy

package io.qt.widgets;


/**
 * 

Style hints that return more than basic data types

*

Java wrapper for Qt class QStyleHintReturn

*/ public class QStyleHintReturn extends io.qt.QtObject { static { QtJambi_LibraryUtilities.initialize(); } /** *

Java wrapper for Qt enum QStyleHintReturn::HintReturnType

*/ public enum HintReturnType implements io.qt.QtEnumerator { SH_Default(61440), SH_Mask(61441), SH_Variant(61442); private HintReturnType(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static HintReturnType resolve(int value) { switch (value) { case 61440: return SH_Default; case 61441: return SH_Mask; case 61442: return SH_Variant; default: throw new io.qt.QNoSuchEnumValueException(value); } } private final int value; } /** *

Overloaded constructor for {@link #QStyleHintReturn(int, int)} * with type = 61440.

*/ public QStyleHintReturn(int version) { this(version, (int)61440); } /** *

Overloaded constructor for {@link #QStyleHintReturn(int, int)}

*

with:

    *
  • version = 1
  • *
  • type = 61440
  • *
*/ public QStyleHintReturn() { this((int)1, (int)61440); } /** *

See QStyleHintReturn::QStyleHintReturn(int,int)

*/ public QStyleHintReturn(int version, int type){ super((QPrivateConstructor)null); initialize_native(this, version, type); } private native static void initialize_native(QStyleHintReturn instance, int version, int type); /** *

The type of the style hint container

*

See QStyleHintReturn::type

*/ @io.qt.QtUninvokable public final void setType(int type){ setType_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), type); } @io.qt.QtUninvokable private native void setType_native_int(long __this__nativeId, int type); /** *

The type of the style hint container

*

See QStyleHintReturn::type

*/ @io.qt.QtUninvokable public final int type(){ return type_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native int type_native(long __this__nativeId); /** *

The version of the style hint return container

*

See QStyleHintReturn::version

*/ @io.qt.QtUninvokable public final void setVersion(int version){ setVersion_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), version); } @io.qt.QtUninvokable private native void setVersion_native_int(long __this__nativeId, int version); /** *

The version of the style hint return container

*

See QStyleHintReturn::version

*/ @io.qt.QtUninvokable public final int version(){ return version_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native int version_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QStyleHintReturn(QPrivateConstructor p) { super(p); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy