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

io.qt.gui.qpa.QPlatformIntegration Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.gui.qpa;

import io.qt.*;


/**
 * 

Java wrapper for Qt class QPlatformIntegration

*/ public class QPlatformIntegration extends QtObject { static { QtJambi_LibraryUtilities.initialize(); } /** *

Java wrapper for Qt enum QPlatformIntegration::Capability

*/ public enum Capability implements QtEnumerator { /** *

Representing QPlatformIntegration::ThreadedPixmaps

*/ ThreadedPixmaps(1), /** *

Representing QPlatformIntegration::OpenGL

*/ OpenGL(2), /** *

Representing QPlatformIntegration::ThreadedOpenGL

*/ ThreadedOpenGL(3), /** *

Representing QPlatformIntegration::SharedGraphicsCache

*/ SharedGraphicsCache(4), /** *

Representing QPlatformIntegration::BufferQueueingOpenGL

*/ BufferQueueingOpenGL(5), /** *

Representing QPlatformIntegration::WindowMasks

*/ WindowMasks(6), /** *

Representing QPlatformIntegration::MultipleWindows

*/ MultipleWindows(7), /** *

Representing QPlatformIntegration::ApplicationState

*/ ApplicationState(8), /** *

Representing QPlatformIntegration::ForeignWindows

*/ ForeignWindows(9), /** *

Representing QPlatformIntegration::NonFullScreenWindows

*/ NonFullScreenWindows(10), /** *

Representing QPlatformIntegration::NativeWidgets

*/ NativeWidgets(11), /** *

Representing QPlatformIntegration::WindowManagement

*/ WindowManagement(12), /** *

Representing QPlatformIntegration::WindowActivation

*/ WindowActivation(13), /** *

Representing QPlatformIntegration::SyncState

*/ SyncState(14), /** *

Representing QPlatformIntegration::RasterGLSurface

*/ RasterGLSurface(15), /** *

Representing QPlatformIntegration::AllGLFunctionsQueryable

*/ AllGLFunctionsQueryable(16), /** *

Representing QPlatformIntegration::ApplicationIcon

*/ ApplicationIcon(17), /** *

Representing QPlatformIntegration::SwitchableWidgetComposition

*/ SwitchableWidgetComposition(18), /** *

Representing QPlatformIntegration::TopStackedNativeChildWindows

*/ TopStackedNativeChildWindows(19), /** *

Representing QPlatformIntegration::OpenGLOnRasterSurface

*/ OpenGLOnRasterSurface(20), /** *

Representing QPlatformIntegration::MaximizeUsingFullscreenGeometry

*/ MaximizeUsingFullscreenGeometry(21), /** *

Representing QPlatformIntegration::PaintEvents

*/ PaintEvents(22), /** *

Representing QPlatformIntegration::RhiBasedRendering

*/ RhiBasedRendering(23), /** *

Representing QPlatformIntegration::ScreenWindowGrabbing

*/ ScreenWindowGrabbing(24), /** *

Representing QPlatformIntegration::BackingStoreStaticContents

*/ BackingStoreStaticContents(25); static { QtJambi_LibraryUtilities.initialize(); } private Capability(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 @NonNull Capability resolve(int value) { switch (value) { case 1: return ThreadedPixmaps; case 2: return OpenGL; case 3: return ThreadedOpenGL; case 4: return SharedGraphicsCache; case 5: return BufferQueueingOpenGL; case 6: return WindowMasks; case 7: return MultipleWindows; case 8: return ApplicationState; case 9: return ForeignWindows; case 10: return NonFullScreenWindows; case 11: return NativeWidgets; case 12: return WindowManagement; case 13: return WindowActivation; case 14: return SyncState; case 15: return RasterGLSurface; case 16: return AllGLFunctionsQueryable; case 17: return ApplicationIcon; case 18: return SwitchableWidgetComposition; case 19: return TopStackedNativeChildWindows; case 20: return OpenGLOnRasterSurface; case 21: return MaximizeUsingFullscreenGeometry; case 22: return PaintEvents; case 23: return RhiBasedRendering; case 24: return ScreenWindowGrabbing; case 25: return BackingStoreStaticContents; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QPlatformIntegration::StyleHint

*/ public enum StyleHint implements QtEnumerator { /** *

Representing QPlatformIntegration::CursorFlashTime

*/ CursorFlashTime(0), /** *

Representing QPlatformIntegration::KeyboardInputInterval

*/ KeyboardInputInterval(1), /** *

Representing QPlatformIntegration::MouseDoubleClickInterval

*/ MouseDoubleClickInterval(2), /** *

Representing QPlatformIntegration::StartDragDistance

*/ StartDragDistance(3), /** *

Representing QPlatformIntegration::StartDragTime

*/ StartDragTime(4), /** *

Representing QPlatformIntegration::KeyboardAutoRepeatRate

*/ KeyboardAutoRepeatRate(5), /** *

Representing QPlatformIntegration::ShowIsFullScreen

*/ ShowIsFullScreen(6), /** *

Representing QPlatformIntegration::PasswordMaskDelay

*/ PasswordMaskDelay(7), /** *

Representing QPlatformIntegration::FontSmoothingGamma

*/ FontSmoothingGamma(8), /** *

Representing QPlatformIntegration::StartDragVelocity

*/ StartDragVelocity(9), /** *

Representing QPlatformIntegration::UseRtlExtensions

*/ UseRtlExtensions(10), /** *

Representing QPlatformIntegration::PasswordMaskCharacter

*/ PasswordMaskCharacter(11), /** *

Representing QPlatformIntegration::SetFocusOnTouchRelease

*/ SetFocusOnTouchRelease(12), /** *

Representing QPlatformIntegration::ShowIsMaximized

*/ ShowIsMaximized(13), /** *

Representing QPlatformIntegration::MousePressAndHoldInterval

*/ MousePressAndHoldInterval(14), /** *

Representing QPlatformIntegration::TabFocusBehavior

*/ TabFocusBehavior(15), /** *

Representing QPlatformIntegration::ReplayMousePressOutsidePopup

*/ ReplayMousePressOutsidePopup(16), /** *

Representing QPlatformIntegration::ItemViewActivateItemOnSingleClick

*/ ItemViewActivateItemOnSingleClick(17), /** *

Representing QPlatformIntegration::UiEffects

*/ UiEffects(18), /** *

Representing QPlatformIntegration::WheelScrollLines

*/ WheelScrollLines(19), /** *

Representing QPlatformIntegration::ShowShortcutsInContextMenus

*/ ShowShortcutsInContextMenus(20), /** *

Representing QPlatformIntegration::MouseQuickSelectionThreshold

*/ MouseQuickSelectionThreshold(21), /** *

Representing QPlatformIntegration::MouseDoubleClickDistance

*/ MouseDoubleClickDistance(22), /** *

Representing QPlatformIntegration::FlickStartDistance

*/ FlickStartDistance(23), /** *

Representing QPlatformIntegration::FlickMaximumVelocity

*/ FlickMaximumVelocity(24), /** *

Representing QPlatformIntegration::FlickDeceleration

*/ FlickDeceleration(25), /** *

Representing QPlatformIntegration::UnderlineShortcut

*/ UnderlineShortcut(26); static { QtJambi_LibraryUtilities.initialize(); } private StyleHint(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 @NonNull StyleHint resolve(int value) { switch (value) { case 0: return CursorFlashTime; case 1: return KeyboardInputInterval; case 2: return MouseDoubleClickInterval; case 3: return StartDragDistance; case 4: return StartDragTime; case 5: return KeyboardAutoRepeatRate; case 6: return ShowIsFullScreen; case 7: return PasswordMaskDelay; case 8: return FontSmoothingGamma; case 9: return StartDragVelocity; case 10: return UseRtlExtensions; case 11: return PasswordMaskCharacter; case 12: return SetFocusOnTouchRelease; case 13: return ShowIsMaximized; case 14: return MousePressAndHoldInterval; case 15: return TabFocusBehavior; case 16: return ReplayMousePressOutsidePopup; case 17: return ItemViewActivateItemOnSingleClick; case 18: return UiEffects; case 19: return WheelScrollLines; case 20: return ShowShortcutsInContextMenus; case 21: return MouseQuickSelectionThreshold; case 22: return MouseDoubleClickDistance; case 23: return FlickStartDistance; case 24: return FlickMaximumVelocity; case 25: return FlickDeceleration; case 26: return UnderlineShortcut; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See QPlatformIntegration::beep()const

*/ @QtUninvokable public void beep(){ beep_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void beep_native_constfct(long __this__nativeId); /** *

See QPlatformIntegration::defaultWindowState(Qt::WindowFlags)const

*/ @QtUninvokable public io.qt.core.Qt.@NonNull WindowState defaultWindowState(io.qt.core.Qt.@NonNull WindowFlags arg__1){ return io.qt.core.Qt.WindowState.resolve(defaultWindowState_native_Qt_WindowFlags_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value())); } @QtUninvokable private native int defaultWindowState_native_Qt_WindowFlags_constfct(long __this__nativeId, int arg__1); /** *

See QPlatformIntegration::hasCapability(QPlatformIntegration::Capability)const

*/ @QtUninvokable public boolean hasCapability(io.qt.gui.qpa.QPlatformIntegration.@NonNull Capability cap){ return hasCapability_native_QPlatformIntegration_Capability_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), cap.value()); } @QtUninvokable private native boolean hasCapability_native_QPlatformIntegration_Capability_constfct(long __this__nativeId, int cap); /** *

See QPlatformIntegration::openGLModuleType()

*/ @QtUninvokable public io.qt.gui.QOpenGLContext.@NonNull OpenGLModuleType openGLModuleType(){ return io.qt.gui.QOpenGLContext.OpenGLModuleType.resolve(openGLModuleType_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int openGLModuleType_native(long __this__nativeId); /** *

See QPlatformIntegration::quit()const

*/ @QtUninvokable public void quit(){ quit_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void quit_native_constfct(long __this__nativeId); /** *

See QPlatformIntegration::setApplicationBadge(qint64)

*/ @QtUninvokable public void setApplicationBadge(long number){ setApplicationBadge_native_qint64(QtJambi_LibraryUtilities.internal.nativeId(this), number); } @QtUninvokable private native void setApplicationBadge_native_qint64(long __this__nativeId, long number); /** *

See QPlatformIntegration::setApplicationIcon(QIcon)const

*/ @QtUninvokable public void setApplicationIcon(io.qt.gui.@NonNull QIcon icon){ setApplicationIcon_native_cref_QIcon_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(icon)); } @QtUninvokable private native void setApplicationIcon_native_cref_QIcon_constfct(long __this__nativeId, long icon); /** *

See QPlatformIntegration::styleHint(QPlatformIntegration::StyleHint)const

*/ @QtUninvokable public java.lang.Object styleHint(io.qt.gui.qpa.QPlatformIntegration.@NonNull StyleHint hint){ return styleHint_native_QPlatformIntegration_StyleHint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), hint.value()); } @QtUninvokable private native java.lang.Object styleHint_native_QPlatformIntegration_StyleHint_constfct(long __this__nativeId, int hint); /** *

See QPlatformIntegration::themeNames()const

*/ @QtUninvokable public io.qt.core.@NonNull QStringList themeNames(){ return themeNames_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.@NonNull QStringList themeNames_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QPlatformIntegration(QPrivateConstructor p) { super(p); } @QtUninvokable public native static QPlatformIntegration instance(); /** *

Overloaded function for {@link #defaultWindowState(io.qt.core.Qt.WindowFlags)}.

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull WindowState defaultWindowState(io.qt.core.Qt.@NonNull WindowType @NonNull... arg__1) { return defaultWindowState(new io.qt.core.Qt.WindowFlags(arg__1)); } /** *

Overloaded function for {@link #setApplicationIcon(io.qt.gui.QIcon)}.

*/ @QtUninvokable public final void setApplicationIcon(io.qt.gui.@NonNull QPixmap icon) { setApplicationIcon(new io.qt.gui.QIcon(icon)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy