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

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

The newest version!
package io.qt.widgets;


/**
 * 

Tool tips (balloon help) for any widget

*

Java wrapper for Qt class QToolTip

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

See QToolTip::font()

*/ public native static io.qt.gui.QFont font(); /** *

See QToolTip::hideText()

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

See QToolTip::isVisible()

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

See QToolTip::palette()

*/ public native static io.qt.gui.QPalette palette(); /** *

See QToolTip::setFont(QFont)

*/ public static void setFont(io.qt.gui.QFont arg__1){ setFont_native_cref_QFont(QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } private native static void setFont_native_cref_QFont(long arg__1); /** *

See QToolTip::setPalette(QPalette)

*/ public static void setPalette(io.qt.gui.QPalette arg__1){ setPalette_native_cref_QPalette(QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } private native static void setPalette_native_cref_QPalette(long arg__1); /** *

Overloaded function for {@link #showText(io.qt.core.QPoint, java.lang.String, io.qt.widgets.QWidget, io.qt.core.QRect, int)} * with msecShowTime = -1.

*/ public static void showText(io.qt.core.QPoint pos, java.lang.String text, io.qt.widgets.QWidget w, io.qt.core.QRect rect) { showText(pos, text, w, rect, (int)-1); } /** *

Overloaded function for {@link #showText(io.qt.core.QPoint, java.lang.String, io.qt.widgets.QWidget, io.qt.core.QRect, int)}

*

with:

    *
  • rect = new io.qt.core.QRect()
  • *
  • msecShowTime = -1
  • *
*/ public static void showText(io.qt.core.QPoint pos, java.lang.String text, io.qt.widgets.QWidget w) { showText(pos, text, w, new io.qt.core.QRect(), (int)-1); } /** *

Overloaded function for {@link #showText(io.qt.core.QPoint, java.lang.String, io.qt.widgets.QWidget, io.qt.core.QRect, int)}

*

with:

    *
  • w = null
  • *
  • rect = new io.qt.core.QRect()
  • *
  • msecShowTime = -1
  • *
*/ public static void showText(io.qt.core.QPoint pos, java.lang.String text) { showText(pos, text, (io.qt.widgets.QWidget)null, new io.qt.core.QRect(), (int)-1); } /** *

See QToolTip::showText(QPoint,QString,QWidget*,QRect,int)

*/ public static void showText(io.qt.core.QPoint pos, java.lang.String text, io.qt.widgets.QWidget w, io.qt.core.QRect rect, int msecShowTime){ showText_native_cref_QPoint_cref_QString_QWidget_ptr_cref_QRect_int(QtJambi_LibraryUtilities.internal.checkedNativeId(pos), text, QtJambi_LibraryUtilities.internal.checkedNativeId(w), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), msecShowTime); } private native static void showText_native_cref_QPoint_cref_QString_QWidget_ptr_cref_QRect_int(long pos, java.lang.String text, long w, long rect, int msecShowTime); /** *

See QToolTip::text()

*/ public native static java.lang.String text(); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QToolTip(QPrivateConstructor p) { super(p); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy