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

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

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

import io.qt.*;


/**
 * 

Text item that you can add to a QGraphicsScene to display formatted text

*

Java wrapper for Qt class QGraphicsTextItem

*/ public class QGraphicsTextItem extends io.qt.widgets.QGraphicsObject { @QtPropertyMember(enabled=false) private Object __rcDocument = null; /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QGraphicsTextItem.class); /** *

See QGraphicsTextItem::linkActivated(QString)

*/ public final @NonNull Signal1 linkActivated = new Signal1<>(); /** *

See QGraphicsTextItem::linkHovered(QString)

*/ public final @NonNull Signal1 linkHovered = new Signal1<>(); /** *

See QGraphicsTextItem::QGraphicsTextItem(QGraphicsItem*)

*/ public QGraphicsTextItem(io.qt.widgets.@Nullable QGraphicsItem parent){ super((QPrivateConstructor)null); initialize_native(this, parent); if (parent != null) QtJambi_LibraryUtilities.internal.setCppOwnership(this); } private native static void initialize_native(QGraphicsTextItem instance, io.qt.widgets.QGraphicsItem parent); /** *

See QGraphicsTextItem::QGraphicsTextItem(QString,QGraphicsItem*)

*/ public QGraphicsTextItem(java.lang.@NonNull String text, io.qt.widgets.@Nullable QGraphicsItem parent){ super((QPrivateConstructor)null); initialize_native(this, text, parent); if (parent != null) QtJambi_LibraryUtilities.internal.setCppOwnership(this); } private native static void initialize_native(QGraphicsTextItem instance, java.lang.String text, io.qt.widgets.QGraphicsItem parent); /** *

See QGraphicsTextItem::adjustSize()

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

See QGraphicsTextItem::defaultTextColor()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QColor defaultTextColor(){ return defaultTextColor_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QColor defaultTextColor_native_constfct(long __this__nativeId); /** *

See QGraphicsTextItem::document()const

*/ @QtUninvokable public final io.qt.gui.@Nullable QTextDocument document(){ return document_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QTextDocument document_native_constfct(long __this__nativeId); /** *

See QGraphicsTextItem::font()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QFont font(){ return font_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QFont font_native_constfct(long __this__nativeId); /** *

See QGraphicsTextItem::openExternalLinks()const

*/ @QtUninvokable public final boolean openExternalLinks(){ return openExternalLinks_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean openExternalLinks_native_constfct(long __this__nativeId); /** *

See QGraphicsTextItem::setDefaultTextColor(QColor)

*/ @QtUninvokable public final void setDefaultTextColor(io.qt.gui.@NonNull QColor c){ setDefaultTextColor_native_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(c)); } @QtUninvokable private native void setDefaultTextColor_native_cref_QColor(long __this__nativeId, long c); /** *

See QGraphicsTextItem::setDocument(QTextDocument*)

*/ @QtUninvokable public final void setDocument(io.qt.gui.@Nullable QTextDocument document){ setDocument_native_QTextDocument_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(document)); __rcDocument = document; } @QtUninvokable private native void setDocument_native_QTextDocument_ptr(long __this__nativeId, long document); /** *

See QGraphicsTextItem::setFont(QFont)

*/ @QtUninvokable public final void setFont(io.qt.gui.@NonNull QFont font){ setFont_native_cref_QFont(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(font)); } @QtUninvokable private native void setFont_native_cref_QFont(long __this__nativeId, long font); /** *

See QGraphicsTextItem::setHtml(QString)

*/ @QtUninvokable public final void setHtml(java.lang.@NonNull String html){ setHtml_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), html); } @QtUninvokable private native void setHtml_native_cref_QString(long __this__nativeId, java.lang.String html); /** *

See QGraphicsTextItem::setOpenExternalLinks(bool)

*/ @QtUninvokable public final void setOpenExternalLinks(boolean open){ setOpenExternalLinks_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), open); } @QtUninvokable private native void setOpenExternalLinks_native_bool(long __this__nativeId, boolean open); /** *

See QGraphicsTextItem::setPlainText(QString)

*/ @QtUninvokable public final void setPlainText(java.lang.@NonNull String text){ setPlainText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text); } @QtUninvokable private native void setPlainText_native_cref_QString(long __this__nativeId, java.lang.String text); /** *

See QGraphicsTextItem::setTabChangesFocus(bool)

*/ @QtUninvokable public final void setTabChangesFocus(boolean b){ setTabChangesFocus_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), b); } @QtUninvokable private native void setTabChangesFocus_native_bool(long __this__nativeId, boolean b); /** *

See QGraphicsTextItem::setTextCursor(QTextCursor)

*/ @QtUninvokable public final void setTextCursor(io.qt.gui.@NonNull QTextCursor cursor){ setTextCursor_native_cref_QTextCursor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(cursor)); } @QtUninvokable private native void setTextCursor_native_cref_QTextCursor(long __this__nativeId, long cursor); /** *

See QGraphicsTextItem::setTextInteractionFlags(Qt::TextInteractionFlags)

*/ @QtUninvokable public final void setTextInteractionFlags(io.qt.core.Qt.@NonNull TextInteractionFlags flags){ setTextInteractionFlags_native_Qt_TextInteractionFlags(QtJambi_LibraryUtilities.internal.nativeId(this), flags.value()); } @QtUninvokable private native void setTextInteractionFlags_native_Qt_TextInteractionFlags(long __this__nativeId, int flags); /** *

See QGraphicsTextItem::setTextWidth(qreal)

*/ @QtUninvokable public final void setTextWidth(double width){ setTextWidth_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), width); } @QtUninvokable private native void setTextWidth_native_qreal(long __this__nativeId, double width); /** *

See QGraphicsTextItem::tabChangesFocus()const

*/ @QtUninvokable public final boolean tabChangesFocus(){ return tabChangesFocus_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean tabChangesFocus_native_constfct(long __this__nativeId); /** *

See QGraphicsTextItem::textCursor()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QTextCursor textCursor(){ return textCursor_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QTextCursor textCursor_native_constfct(long __this__nativeId); /** *

See QGraphicsTextItem::textInteractionFlags()const

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull TextInteractionFlags textInteractionFlags(){ return new io.qt.core.Qt.TextInteractionFlags(textInteractionFlags_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int textInteractionFlags_native_constfct(long __this__nativeId); /** *

See QGraphicsTextItem::textWidth()const

*/ @QtUninvokable public final double textWidth(){ return textWidth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double textWidth_native_constfct(long __this__nativeId); /** *

See QGraphicsTextItem::toHtml()const

*/ @QtUninvokable public final java.lang.@NonNull String toHtml(){ return toHtml_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String toHtml_native_constfct(long __this__nativeId); /** *

See QGraphicsTextItem::toPlainText()const

*/ @QtUninvokable public final java.lang.@NonNull String toPlainText(){ return toPlainText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String toPlainText_native_constfct(long __this__nativeId); /** *

See QGraphicsTextItem::type()const

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

See QGraphicsItem::boundingRect()const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QRectF boundingRect(){ return boundingRect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.core.QRectF boundingRect_native_constfct(long __this__nativeId); /** *

See QGraphicsItem::contains(QPointF)const

*/ @QtUninvokable @Override public boolean contains(io.qt.core.@NonNull QPointF point){ return contains_native_cref_QPointF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(point)); } private native static boolean contains_native_cref_QPointF_constfct(long __this__nativeId, long point); /** *

See QGraphicsItem::contextMenuEvent(QGraphicsSceneContextMenuEvent*)

*/ @QtUninvokable @Override protected void contextMenuEvent(io.qt.widgets.@Nullable QGraphicsSceneContextMenuEvent event){ contextMenuEvent_native_QGraphicsSceneContextMenuEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static void contextMenuEvent_native_QGraphicsSceneContextMenuEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::dragEnterEvent(QGraphicsSceneDragDropEvent*)

*/ @QtUninvokable @Override protected void dragEnterEvent(io.qt.widgets.@Nullable QGraphicsSceneDragDropEvent event){ dragEnterEvent_native_QGraphicsSceneDragDropEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static void dragEnterEvent_native_QGraphicsSceneDragDropEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::dragLeaveEvent(QGraphicsSceneDragDropEvent*)

*/ @QtUninvokable @Override protected void dragLeaveEvent(io.qt.widgets.@Nullable QGraphicsSceneDragDropEvent event){ dragLeaveEvent_native_QGraphicsSceneDragDropEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static void dragLeaveEvent_native_QGraphicsSceneDragDropEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::dragMoveEvent(QGraphicsSceneDragDropEvent*)

*/ @QtUninvokable @Override protected void dragMoveEvent(io.qt.widgets.@Nullable QGraphicsSceneDragDropEvent event){ dragMoveEvent_native_QGraphicsSceneDragDropEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static void dragMoveEvent_native_QGraphicsSceneDragDropEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::dropEvent(QGraphicsSceneDragDropEvent*)

*/ @QtUninvokable @Override protected void dropEvent(io.qt.widgets.@Nullable QGraphicsSceneDragDropEvent event){ dropEvent_native_QGraphicsSceneDragDropEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static void dropEvent_native_QGraphicsSceneDragDropEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::extension(QVariant)const

*/ @QtUninvokable @Override protected java.lang.Object extension(java.lang.Object variant){ return extension_native_cref_QVariant_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), variant); } private native static java.lang.Object extension_native_cref_QVariant_constfct(long __this__nativeId, java.lang.Object variant); /** *

See QGraphicsItem::focusInEvent(QFocusEvent*)

*/ @QtUninvokable @Override protected void focusInEvent(io.qt.gui.@Nullable QFocusEvent event){ focusInEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static void focusInEvent_native_QFocusEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::focusOutEvent(QFocusEvent*)

*/ @QtUninvokable @Override protected void focusOutEvent(io.qt.gui.@Nullable QFocusEvent event){ focusOutEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static void focusOutEvent_native_QFocusEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::hoverEnterEvent(QGraphicsSceneHoverEvent*)

*/ @QtUninvokable @Override protected void hoverEnterEvent(io.qt.widgets.@Nullable QGraphicsSceneHoverEvent event){ hoverEnterEvent_native_QGraphicsSceneHoverEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static void hoverEnterEvent_native_QGraphicsSceneHoverEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent*)

*/ @QtUninvokable @Override protected void hoverLeaveEvent(io.qt.widgets.@Nullable QGraphicsSceneHoverEvent event){ hoverLeaveEvent_native_QGraphicsSceneHoverEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static void hoverLeaveEvent_native_QGraphicsSceneHoverEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent*)

*/ @QtUninvokable @Override protected void hoverMoveEvent(io.qt.widgets.@Nullable QGraphicsSceneHoverEvent event){ hoverMoveEvent_native_QGraphicsSceneHoverEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static void hoverMoveEvent_native_QGraphicsSceneHoverEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::inputMethodEvent(QInputMethodEvent*)

*/ @QtUninvokable @Override protected void inputMethodEvent(io.qt.gui.@Nullable QInputMethodEvent event){ inputMethodEvent_native_QInputMethodEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static void inputMethodEvent_native_QInputMethodEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::inputMethodQuery(Qt::InputMethodQuery)const

*/ @QtUninvokable @Override protected java.lang.Object inputMethodQuery(io.qt.core.Qt.@NonNull InputMethodQuery query){ return inputMethodQuery_native_Qt_InputMethodQuery_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), query.value()); } private native static java.lang.Object inputMethodQuery_native_Qt_InputMethodQuery_constfct(long __this__nativeId, int query); /** *

See QGraphicsItem::isObscuredBy(const QGraphicsItem*)const

*/ @QtUninvokable @Override public boolean isObscuredBy(io.qt.widgets.@Nullable QGraphicsItem item){ return isObscuredBy_native_const_QGraphicsItem_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(item)); } private native static boolean isObscuredBy_native_const_QGraphicsItem_ptr_constfct(long __this__nativeId, long item); /** *

See QGraphicsItem::keyPressEvent(QKeyEvent*)

*/ @QtUninvokable @Override protected void keyPressEvent(io.qt.gui.@Nullable QKeyEvent event){ keyPressEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static void keyPressEvent_native_QKeyEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::keyReleaseEvent(QKeyEvent*)

*/ @QtUninvokable @Override protected void keyReleaseEvent(io.qt.gui.@Nullable QKeyEvent event){ keyReleaseEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static void keyReleaseEvent_native_QKeyEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*)

*/ @QtUninvokable @Override protected void mouseDoubleClickEvent(io.qt.widgets.@Nullable QGraphicsSceneMouseEvent event){ mouseDoubleClickEvent_native_QGraphicsSceneMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static void mouseDoubleClickEvent_native_QGraphicsSceneMouseEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent*)

*/ @QtUninvokable @Override protected void mouseMoveEvent(io.qt.widgets.@Nullable QGraphicsSceneMouseEvent event){ mouseMoveEvent_native_QGraphicsSceneMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static void mouseMoveEvent_native_QGraphicsSceneMouseEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent*)

*/ @QtUninvokable @Override protected void mousePressEvent(io.qt.widgets.@Nullable QGraphicsSceneMouseEvent event){ mousePressEvent_native_QGraphicsSceneMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static void mousePressEvent_native_QGraphicsSceneMouseEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent*)

*/ @QtUninvokable @Override protected void mouseReleaseEvent(io.qt.widgets.@Nullable QGraphicsSceneMouseEvent event){ mouseReleaseEvent_native_QGraphicsSceneMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static void mouseReleaseEvent_native_QGraphicsSceneMouseEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::opaqueArea()const

*/ @QtUninvokable @Override public io.qt.gui.@NonNull QPainterPath opaqueArea(){ return opaqueArea_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.gui.QPainterPath opaqueArea_native_constfct(long __this__nativeId); /** *

See QGraphicsItem::paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*)

*/ @QtUninvokable @Override public void paint(io.qt.gui.@Nullable QPainter painter, io.qt.widgets.@Nullable QStyleOptionGraphicsItem option, io.qt.widgets.@Nullable QWidget widget){ paint_native_QPainter_ptr_const_QStyleOptionGraphicsItem_ptr_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter), QtJambi_LibraryUtilities.internal.checkedNativeId(option), QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } private native static void paint_native_QPainter_ptr_const_QStyleOptionGraphicsItem_ptr_QWidget_ptr(long __this__nativeId, long painter, long option, long widget); /** *

See QGraphicsItem::sceneEvent(QEvent*)

*/ @QtUninvokable @Override protected boolean sceneEvent(io.qt.core.@Nullable QEvent event){ return sceneEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } private native static boolean sceneEvent_native_QEvent_ptr(long __this__nativeId, long event); /** *

See QGraphicsItem::setExtension(QGraphicsItem::Extension,QVariant)

*/ @QtUninvokable @Override protected void setExtension(io.qt.widgets.QGraphicsItem.@NonNull Extension extension, java.lang.Object variant){ setExtension_native_QGraphicsItem_Extension_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), extension.value(), variant); } private native static void setExtension_native_QGraphicsItem_Extension_cref_QVariant(long __this__nativeId, int extension, java.lang.Object variant); /** *

See QGraphicsItem::shape()const

*/ @QtUninvokable @Override public io.qt.gui.@NonNull QPainterPath shape(){ return shape_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.gui.QPainterPath shape_native_constfct(long __this__nativeId); /** *

See QGraphicsItem::supportsExtension(QGraphicsItem::Extension)const

*/ @QtUninvokable @Override protected boolean supportsExtension(io.qt.widgets.QGraphicsItem.@NonNull Extension extension){ return supportsExtension_native_QGraphicsItem_Extension_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), extension.value()); } private native static boolean supportsExtension_native_QGraphicsItem_Extension_constfct(long __this__nativeId, int extension); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QGraphicsTextItem(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QGraphicsTextItem(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QGraphicsTextItem instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QGraphicsTextItem(io.qt.widgets.QGraphicsItem)} * with parent = null.

*/ public QGraphicsTextItem() { this((io.qt.widgets.QGraphicsItem)null); } /** *

Overloaded constructor for {@link #QGraphicsTextItem(java.lang.String, io.qt.widgets.QGraphicsItem)} * with parent = null.

*/ public QGraphicsTextItem(java.lang.@NonNull String text) { this(text, (io.qt.widgets.QGraphicsItem)null); } /** *

Overloaded function for {@link #setDefaultTextColor(io.qt.gui.QColor)}.

*/ @QtUninvokable public final void setDefaultTextColor(io.qt.core.Qt.@NonNull GlobalColor c) { setDefaultTextColor(new io.qt.gui.QColor(c)); } /** *

Overloaded function for {@link #setDefaultTextColor(io.qt.gui.QColor)}.

*/ @QtUninvokable public final void setDefaultTextColor(io.qt.gui.@NonNull QRgba64 c) { setDefaultTextColor(new io.qt.gui.QColor(c)); } /** *

Overloaded function for {@link #setDefaultTextColor(io.qt.gui.QColor)}.

*/ @QtUninvokable public final void setDefaultTextColor(java.lang.@NonNull String c) { setDefaultTextColor(new io.qt.gui.QColor(c)); } /** *

Overloaded function for {@link #setFont(io.qt.gui.QFont)}.

*/ @QtUninvokable public final void setFont(java.lang.@NonNull String font) { setFont(new io.qt.gui.QFont(font)); } /** *

Overloaded function for {@link #setTextInteractionFlags(io.qt.core.Qt.TextInteractionFlags)}.

*/ @QtUninvokable public final void setTextInteractionFlags(io.qt.core.Qt.@NonNull TextInteractionFlag @NonNull... flags) { setTextInteractionFlags(new io.qt.core.Qt.TextInteractionFlags(flags)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy