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

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

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

import io.qt.*;


/**
 * 

Simple description of any widget, i.e. answering the question "What's This?"

*

Java wrapper for Qt class QWhatsThis

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

See QWhatsThis::createAction(QObject*)

*/ public static io.qt.gui.@Nullable QAction createAction(io.qt.core.@Nullable QObject parent){ return createAction_native_QObject_ptr(QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } private native static io.qt.gui.QAction createAction_native_QObject_ptr(long parent); /** *

See QWhatsThis::enterWhatsThisMode()

*/ public native static void enterWhatsThisMode(); /** *

See QWhatsThis::hideText()

*/ public native static void hideText(); /** *

See QWhatsThis::inWhatsThisMode()

*/ public native static boolean inWhatsThisMode(); /** *

See QWhatsThis::leaveWhatsThisMode()

*/ public native static void leaveWhatsThisMode(); /** *

See QWhatsThis::showText(QPoint,QString,QWidget*)

*/ public static void showText(io.qt.core.@NonNull QPoint pos, java.lang.@NonNull String text, io.qt.widgets.@Nullable QWidget w){ showText_native_cref_QPoint_cref_QString_QWidget_ptr(QtJambi_LibraryUtilities.internal.checkedNativeId(pos), text, QtJambi_LibraryUtilities.internal.checkedNativeId(w)); } private native static void showText_native_cref_QPoint_cref_QString_QWidget_ptr(long pos, java.lang.String text, long w); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QWhatsThis(QPrivateConstructor p) { super(p); } /** *

Overloaded function for {@link #createAction(io.qt.core.QObject)} * with parent = null.

*/ public static io.qt.gui.@Nullable QAction createAction() { return createAction((io.qt.core.QObject)null); } /** *

Overloaded function for {@link #showText(io.qt.core.QPoint, java.lang.String, io.qt.widgets.QWidget)} * with w = null.

*/ public static void showText(io.qt.core.@NonNull QPoint pos, java.lang.@NonNull String text) { showText(pos, text, (io.qt.widgets.QWidget)null); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy