io.qt.gui.QTextImageFormat Maven / Gradle / Ivy
The newest version!
package io.qt.gui;
/**
* Formatting information for images in a QTextDocument
* Java wrapper for Qt class QTextImageFormat
*/
public class QTextImageFormat extends io.qt.gui.QTextCharFormat
implements java.lang.Cloneable
{
/**
* See QTextImageFormat::QTextImageFormat()
*/
public QTextImageFormat(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QTextImageFormat instance);
protected QTextImageFormat(io.qt.gui.QTextFormat format){
super((QPrivateConstructor)null);
initialize_native(this, format);
}
private native static void initialize_native(QTextImageFormat instance, io.qt.gui.QTextFormat format);
/**
* See QTextImageFormat::height()const
*/
@io.qt.QtUninvokable
public final double height(){
return height_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native double height_native_constfct(long __this__nativeId);
/**
* See QTextFormat::isValid()const
*/
@io.qt.QtUninvokable
public final boolean isValid(){
return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isValid_native_constfct(long __this__nativeId);
/**
* See QTextImageFormat::name()const
*/
@io.qt.QtUninvokable
public final java.lang.String name(){
return name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String name_native_constfct(long __this__nativeId);
/**
* See QTextImageFormat::quality()const
*/
@io.qt.QtUninvokable
public final int quality(){
return quality_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int quality_native_constfct(long __this__nativeId);
/**
* See QTextImageFormat::setHeight(qreal)
*/
@io.qt.QtUninvokable
public final void setHeight(double height){
setHeight_native_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), height);
}
@io.qt.QtUninvokable
private native void setHeight_native_qtjambireal(long __this__nativeId, double height);
/**
* See QTextImageFormat::setName(QString)
*/
@io.qt.QtUninvokable
public final void setName(java.lang.String name){
setName_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name);
}
@io.qt.QtUninvokable
private native void setName_native_cref_QString(long __this__nativeId, java.lang.String name);
/**
* @deprecated Pass a quality value, the default is 100
*/
@Deprecated
@io.qt.QtUninvokable
public final void setQuality(){
setQuality_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@Deprecated
@io.qt.QtUninvokable
private native void setQuality_native(long __this__nativeId);
/**
* See QTextImageFormat::setQuality(int)
*/
@io.qt.QtUninvokable
public final void setQuality(int quality){
setQuality_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), quality);
}
@io.qt.QtUninvokable
private native void setQuality_native_int(long __this__nativeId, int quality);
/**
* See QTextImageFormat::setWidth(qreal)
*/
@io.qt.QtUninvokable
public final void setWidth(double width){
setWidth_native_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), width);
}
@io.qt.QtUninvokable
private native void setWidth_native_qtjambireal(long __this__nativeId, double width);
/**
* See QTextImageFormat::width()const
*/
@io.qt.QtUninvokable
public final double width(){
return width_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native double width_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QTextImageFormat(QPrivateConstructor p) { super(p); }
@Override
public QTextImageFormat clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native QTextImageFormat clone_native(long __this_nativeId);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy