|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.trolltech.qt.internal.QSignalEmitterInternal
com.trolltech.qt.QSignalEmitter
com.trolltech.qt.QtJambiObject
com.trolltech.qt.gui.QTextFormat
com.trolltech.qt.gui.QTextCharFormat
com.trolltech.qt.gui.QTextImageFormat
public class QTextImageFormat
The QTextImageFormat class provides formatting information for images in a QTextDocument
. Inline images are represented by an object replacement character (0xFFFC in Unicode) which has an associated QTextImageFormat. The image format specifies a name with setName()
that is used to locate the image. The size of the rectangle that the image will occupy is specified using setWidth()
and setHeight()
.
Images can be supplied in any format for which Qt has an image reader, so SVG drawings can be included alongside PNG, TIFF and other bitmap formats.
QImage
, and QImageReader
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.trolltech.qt.gui.QTextCharFormat |
---|
QTextCharFormat.UnderlineStyle, QTextCharFormat.VerticalAlignment |
Nested classes/interfaces inherited from class com.trolltech.qt.gui.QTextFormat |
---|
QTextFormat.FormatType, QTextFormat.ObjectTypes, QTextFormat.PageBreakFlag, QTextFormat.PageBreakFlags, QTextFormat.Property |
Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter |
---|
QSignalEmitter.AbstractSignal, QSignalEmitter.Signal0, QSignalEmitter.Signal1, QSignalEmitter.Signal2, QSignalEmitter.Signal3, QSignalEmitter.Signal4, QSignalEmitter.Signal5, QSignalEmitter.Signal6, QSignalEmitter.Signal7, QSignalEmitter.Signal8, QSignalEmitter.Signal9 |
Nested classes/interfaces inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
---|
com.trolltech.qt.internal.QSignalEmitterInternal.AbstractSignalInternal |
Field Summary |
---|
Fields inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
---|
currentSender |
Constructor Summary | |
---|---|
QTextImageFormat()
Creates a new image format object. |
Method Summary | |
---|---|
QTextImageFormat |
clone()
This method is reimplemented for internal reasons |
double |
height()
Returns the height of the rectangle occupied by the image. |
java.lang.String |
name()
Returns the name of the image. |
void |
setHeight(double height)
Sets the height of the rectangle occupied by the image. |
void |
setName(java.lang.String name)
Sets the name of the image. |
void |
setWidth(double width)
Sets the width of the rectangle occupied by the image. |
double |
width()
Returns the width of the rectangle occupied by the image. |
Methods inherited from class com.trolltech.qt.QtJambiObject |
---|
dispose, disposed, equals, finalize, reassignNativeResources, tr, tr, tr |
Methods inherited from class com.trolltech.qt.QSignalEmitter |
---|
blockSignals, disconnect, disconnect, signalsBlocked, signalSender, thread |
Methods inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
---|
__qt_signalInitialization |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.trolltech.qt.QtJambiInterface |
---|
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership |
Constructor Detail |
---|
public QTextImageFormat()
Method Detail |
---|
public final double height()
width()
, and setHeight()
.
public final java.lang.String name()
setName()
.
public final void setHeight(double height)
height()
, and setWidth()
.
public final void setName(java.lang.String name)
name()
.
public final void setWidth(double width)
width()
, and setHeight()
.
public final double width()
height()
, and setWidth()
.
public QTextImageFormat clone()
clone
in class QTextCharFormat
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |