io.qt.gui.QTextObjectInterface Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.gui;
/**
* Allows drawing of custom text objects in QTextDocuments
* Java wrapper for Qt class QTextObjectInterface
*/
public interface QTextObjectInterface extends io.qt.QtObjectInterface
{
/**
* Implementor class for interface {@link io.qt.gui.QTextObjectInterface}
*/
public static abstract class Impl extends io.qt.QtObject
implements io.qt.gui.QTextObjectInterface
{
static {
QtJambi_LibraryUtilities.initialize();
}
@io.qt.NativeAccess
private static final class ConcreteWrapper extends QTextObjectInterface.Impl {
@io.qt.NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public void drawObject(io.qt.gui.QPainter painter, io.qt.core.QRectF rect, io.qt.gui.QTextDocument doc, int posInDocument, io.qt.gui.QTextFormat format){
drawObject_native_QPainter_ptr_cref_QRectF_QTextDocument_ptr_int_cref_QTextFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), QtJambi_LibraryUtilities.internal.checkedNativeId(doc), posInDocument, QtJambi_LibraryUtilities.internal.checkedNativeId(format));
}
private native static void drawObject_native_QPainter_ptr_cref_QRectF_QTextDocument_ptr_int_cref_QTextFormat(long __this__nativeId, long painter, long rect, long doc, int posInDocument, long format);
@Override
@io.qt.QtUninvokable
public io.qt.core.QSizeF intrinsicSize(io.qt.gui.QTextDocument doc, int posInDocument, io.qt.gui.QTextFormat format){
return intrinsicSize_native_QTextDocument_ptr_int_cref_QTextFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(doc), posInDocument, QtJambi_LibraryUtilities.internal.checkedNativeId(format));
}
private native static io.qt.core.QSizeF intrinsicSize_native_QTextDocument_ptr_int_cref_QTextFormat(long __this__nativeId, long doc, int posInDocument, long format);
}
public Impl(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QTextObjectInterface instance);
/**
* See QTextObjectInterface::drawObject(QPainter*,QRectF,QTextDocument*,int,QTextFormat)
*/
@io.qt.QtUninvokable
public abstract void drawObject(io.qt.gui.QPainter painter, io.qt.core.QRectF rect, io.qt.gui.QTextDocument doc, int posInDocument, io.qt.gui.QTextFormat format);
private native static void drawObject_native_QPainter_ptr_cref_QRectF_QTextDocument_ptr_int_cref_QTextFormat(long __this__nativeId, long painter, long rect, long doc, int posInDocument, long format);
/**
* See QTextObjectInterface::intrinsicSize(QTextDocument*,int,QTextFormat)
*/
@io.qt.QtUninvokable
public abstract io.qt.core.QSizeF intrinsicSize(io.qt.gui.QTextDocument doc, int posInDocument, io.qt.gui.QTextFormat format);
private native static io.qt.core.QSizeF intrinsicSize_native_QTextDocument_ptr_int_cref_QTextFormat(long __this__nativeId, long doc, int posInDocument, long format);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected Impl(QPrivateConstructor p) { super(p); }
}
/**
* See QTextObjectInterface::drawObject(QPainter*,QRectF,QTextDocument*,int,QTextFormat)
*/
@io.qt.QtUninvokable
public void drawObject(io.qt.gui.QPainter painter, io.qt.core.QRectF rect, io.qt.gui.QTextDocument doc, int posInDocument, io.qt.gui.QTextFormat format);
/**
* See QTextObjectInterface::intrinsicSize(QTextDocument*,int,QTextFormat)
*/
@io.qt.QtUninvokable
public io.qt.core.QSizeF intrinsicSize(io.qt.gui.QTextDocument doc, int posInDocument, io.qt.gui.QTextFormat format);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy