QPlainTextDocumentLayout

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Constructors

this
this(QTextDocument document)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

blockBoundingRect
QRectF blockBoundingRect(const(QTextBlock) block)
Undocumented in source.
cursorWidth
int cursorWidth()
Undocumented in source.
documentChanged
void documentChanged(int from, int , int charsAdded)
Undocumented in source.
documentSize
QSizeF documentSize()
Undocumented in source.
draw
void draw(QPainter* , const(PaintContext) )
Undocumented in source.
ensureBlockLayout
void ensureBlockLayout(const(QTextBlock) block)
Undocumented in source.
frameBoundingRect
QRectF frameBoundingRect(QTextFrame )
Undocumented in source.
hitTest
int hitTest(const(QPointF) , qt.core.namespace.HitTestAccuracy )
Undocumented in source.
pageCount
int pageCount()
Undocumented in source.
requestUpdate
void requestUpdate()
Undocumented in source.
setCursorWidth
void setCursorWidth(int width)
Undocumented in source.

Inherited Members

From QAbstractTextDocumentLayout

~this
~this()
Undocumented in source.
Selection
struct Selection
Undocumented in source.
PaintContext
struct PaintContext
Undocumented in source.
draw
void draw(QPainter* painter, const(PaintContext) context)
Undocumented in source.
hitTest
int hitTest(const(QPointF) point, qt.core.namespace.HitTestAccuracy accuracy)
Undocumented in source.
anchorAt
QString anchorAt(const(QPointF) pos)
Undocumented in source.
imageAt
QString imageAt(const(QPointF) pos)
Undocumented in source.
formatAt
QTextFormat formatAt(const(QPointF) pos)
Undocumented in source.
pageCount
int pageCount()
Undocumented in source.
documentSize
QSizeF documentSize()
Undocumented in source.
frameBoundingRect
QRectF frameBoundingRect(QTextFrame frame)
Undocumented in source.
blockBoundingRect
QRectF blockBoundingRect(const(QTextBlock) block)
Undocumented in source.
setPaintDevice
void setPaintDevice(QPaintDevice device)
Undocumented in source.
paintDevice
QPaintDevice paintDevice()
Undocumented in source.
document
QTextDocument document()
Undocumented in source.
registerHandler
void registerHandler(int objectType, QObject component)
Undocumented in source.
unregisterHandler
void unregisterHandler(int objectType, QObject component)
Undocumented in source.
handlerForObject
QTextObjectInterface handlerForObject(int objectType)
Undocumented in source.
update
void update(const(QRectF) )
Undocumented in source.
updateBlock
void updateBlock(const(QTextBlock) block)
Undocumented in source.
documentSizeChanged
void documentSizeChanged(const(QSizeF) newSize)
Undocumented in source.
pageCountChanged
void pageCountChanged(int newPages)
Undocumented in source.
documentChanged
void documentChanged(int from, int charsRemoved, int charsAdded)
Undocumented in source.
resizeInlineObject
void resizeInlineObject(QTextInlineObject item, int posInDocument, const(QTextFormat) format)
Undocumented in source.
positionInlineObject
void positionInlineObject(QTextInlineObject item, int posInDocument, const(QTextFormat) format)
Undocumented in source.
drawInlineObject
void drawInlineObject(QPainter* painter, const(QRectF) rect, QTextInlineObject object, int posInDocument, const(QTextFormat) format)
Undocumented in source.
formatIndex
int formatIndex(int pos)
Undocumented in source.
format
QTextCharFormat format(int pos)
Undocumented in source.

Meta