- All Implemented Interfaces:
QtObjectInterface
Class for drawing text layouts and text documents in the Qt Quick scene graph
Java wrapper for Qt class QSGTextNode
- Since:
- This class was introduced in Qt 6.7.
The following private functions are pure virtual in Qt and thus have to be implemented in derived Java classes by using the @QtPrivateOverride annotation:
@QtPrivateOverride
@QtUninvokable
private void doAddTextDocument(io.qt.core.@NonNull QPointF position, io.qt.gui.@Nullable QTextDocument document, int selectionStart, int selectionCount) {...}
@QtPrivateOverride
@QtUninvokable
private void doAddTextLayout(io.qt.core.@NonNull QPointF position, io.qt.gui.@Nullable QTextLayout layout, int selectionStart, int selectionCount, int lineStart, int lineCount) {...}
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQSGTextNode::RenderType
static enum
Java wrapper for Qt enumQSGTextNode::TextStyle
Nested classes/interfaces inherited from class io.qt.quick.QSGNode
QSGNode.DirtyState, QSGNode.DirtyStateBit, QSGNode.Flag, QSGNode.Flags
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
addTextDocument
(QPointF position, QTextDocument document) Overloaded function foraddTextDocument(io.qt.core.QPointF, io.qt.gui.QTextDocument, int, int)
final void
addTextDocument
(QPointF position, QTextDocument document, int selectionStart) Overloaded function foraddTextDocument(io.qt.core.QPointF, io.qt.gui.QTextDocument, int, int)
withselectionCount = -1
.final void
addTextDocument
(QPointF position, QTextDocument document, int selectionStart, int selectionCount) final void
addTextDocument
(QPoint position, QTextDocument document) Overloaded function foraddTextDocument(io.qt.core.QPoint, io.qt.gui.QTextDocument, int, int)
final void
addTextDocument
(QPoint position, QTextDocument document, int selectionStart) Overloaded function foraddTextDocument(io.qt.core.QPoint, io.qt.gui.QTextDocument, int, int)
withselectionCount = -1
.final void
addTextDocument
(QPoint position, QTextDocument document, int selectionStart, int selectionCount) Overloaded function foraddTextDocument(io.qt.core.QPointF, io.qt.gui.QTextDocument, int, int)
.final void
addTextLayout
(QPointF position, QTextLayout layout) Overloaded function foraddTextLayout(io.qt.core.QPointF, io.qt.gui.QTextLayout, int, int, int, int)
final void
addTextLayout
(QPointF position, QTextLayout layout, int selectionStart) Overloaded function foraddTextLayout(io.qt.core.QPointF, io.qt.gui.QTextLayout, int, int, int, int)
final void
addTextLayout
(QPointF position, QTextLayout layout, int selectionStart, int selectionCount) Overloaded function foraddTextLayout(io.qt.core.QPointF, io.qt.gui.QTextLayout, int, int, int, int)
final void
addTextLayout
(QPointF position, QTextLayout layout, int selectionStart, int selectionCount, int lineStart) Overloaded function foraddTextLayout(io.qt.core.QPointF, io.qt.gui.QTextLayout, int, int, int, int)
withlineCount = -1
.final void
addTextLayout
(QPointF position, QTextLayout layout, int selectionStart, int selectionCount, int lineStart, int lineCount) final void
addTextLayout
(QPoint position, QTextLayout layout) Overloaded function foraddTextLayout(io.qt.core.QPoint, io.qt.gui.QTextLayout, int, int, int, int)
final void
addTextLayout
(QPoint position, QTextLayout layout, int selectionStart) Overloaded function foraddTextLayout(io.qt.core.QPoint, io.qt.gui.QTextLayout, int, int, int, int)
final void
addTextLayout
(QPoint position, QTextLayout layout, int selectionStart, int selectionCount) Overloaded function foraddTextLayout(io.qt.core.QPoint, io.qt.gui.QTextLayout, int, int, int, int)
final void
addTextLayout
(QPoint position, QTextLayout layout, int selectionStart, int selectionCount, int lineStart) Overloaded function foraddTextLayout(io.qt.core.QPoint, io.qt.gui.QTextLayout, int, int, int, int)
withlineCount = -1
.final void
addTextLayout
(QPoint position, QTextLayout layout, int selectionStart, int selectionCount, int lineStart, int lineCount) Overloaded function foraddTextLayout(io.qt.core.QPointF, io.qt.gui.QTextLayout, int, int, int, int)
.abstract void
clear()
abstract QColor
color()
abstract QSGTexture.Filtering
abstract QColor
abstract QSGTextNode.RenderType
abstract int
abstract QColor
abstract QColor
final void
setColor
(Qt.GlobalColor color) Overloaded function forsetColor(io.qt.gui.QColor)
.abstract void
final void
Overloaded function forsetColor(io.qt.gui.QColor)
.final void
Overloaded function forsetColor(io.qt.gui.QColor)
.abstract void
setFiltering
(QSGTexture.Filtering arg__1) final void
setLinkColor
(Qt.GlobalColor linkColor) Overloaded function forsetLinkColor(io.qt.gui.QColor)
.abstract void
setLinkColor
(QColor linkColor) final void
setLinkColor
(QRgba64 linkColor) Overloaded function forsetLinkColor(io.qt.gui.QColor)
.final void
setLinkColor
(String linkColor) Overloaded function forsetLinkColor(io.qt.gui.QColor)
.abstract void
setRenderType
(QSGTextNode.RenderType renderType) abstract void
setRenderTypeQuality
(int renderTypeQuality) final void
setSelectionColor
(Qt.GlobalColor selectionColor) Overloaded function forsetSelectionColor(io.qt.gui.QColor)
.abstract void
setSelectionColor
(QColor selectionColor) final void
setSelectionColor
(QRgba64 selectionColor) Overloaded function forsetSelectionColor(io.qt.gui.QColor)
.final void
setSelectionColor
(String selectionColor) Overloaded function forsetSelectionColor(io.qt.gui.QColor)
.final void
setSelectionTextColor
(Qt.GlobalColor selectionTextColor) Overloaded function forsetSelectionTextColor(io.qt.gui.QColor)
.abstract void
setSelectionTextColor
(QColor selectionTextColor) final void
setSelectionTextColor
(QRgba64 selectionTextColor) Overloaded function forsetSelectionTextColor(io.qt.gui.QColor)
.final void
setSelectionTextColor
(String selectionTextColor) Overloaded function forsetSelectionTextColor(io.qt.gui.QColor)
.final void
setStyleColor
(Qt.GlobalColor styleColor) Overloaded function forsetStyleColor(io.qt.gui.QColor)
.abstract void
setStyleColor
(QColor styleColor) final void
setStyleColor
(QRgba64 styleColor) Overloaded function forsetStyleColor(io.qt.gui.QColor)
.final void
setStyleColor
(String styleColor) Overloaded function forsetStyleColor(io.qt.gui.QColor)
.abstract void
setTextStyle
(QSGTextNode.TextStyle textStyle) final void
setViewport
(QRect viewport) Overloaded function forsetViewport(io.qt.core.QRectF)
.abstract void
setViewport
(QRectF viewport) abstract QColor
abstract QSGTextNode.TextStyle
abstract QRectF
viewport()
Methods inherited from class io.qt.quick.QSGTransformNode
combinedMatrix, matrix, setCombinedMatrix, setCombinedMatrix, setMatrix, setMatrix, toString
Methods inherited from class io.qt.quick.QSGNode
appendChildNode, childAtIndex, childCount, clearDirty, dirtyState, firstChild, flags, insertChildNodeAfter, insertChildNodeBefore, isSubtreeBlocked, lastChild, markDirty, markDirty, nextSibling, parent, prependChildNode, preprocess, previousSibling, qsgnode_set_description, removeAllChildNodes, removeChildNode, reparentChildNodesTo, setFlag, setFlag, setFlags, setFlags
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QSGTextNode
public QSGTextNode()See
QSGTextNode::
QSGTextNode()
-
-
Method Details
-
addTextDocument
@QtUninvokable public final void addTextDocument(QPointF position, QTextDocument document, int selectionStart, int selectionCount) - Parameters:
position
-document
-selectionStart
-selectionCount
-
-
addTextLayout
@QtUninvokable public final void addTextLayout(QPointF position, QTextLayout layout, int selectionStart, int selectionCount, int lineStart, int lineCount) - Parameters:
position
-layout
-selectionStart
-selectionCount
-lineStart
-lineCount
-
-
clear
-
color
- Returns:
-
filtering
- Returns:
-
linkColor
- Returns:
-
renderType
- Returns:
-
renderTypeQuality
- Returns:
-
selectionColor
- Returns:
-
selectionTextColor
- Returns:
-
setColor
- Parameters:
color
-
-
setFiltering
- Parameters:
arg__1
-
-
setLinkColor
- Parameters:
linkColor
-
-
setRenderType
- Parameters:
renderType
-
-
setRenderTypeQuality
- Parameters:
renderTypeQuality
-
-
setSelectionColor
- Parameters:
selectionColor
-
-
setSelectionTextColor
- Parameters:
selectionTextColor
-
-
setStyleColor
- Parameters:
styleColor
-
-
setTextStyle
- Parameters:
textStyle
-
-
setViewport
- Parameters:
viewport
-
-
styleColor
- Returns:
-
textStyle
- Returns:
-
viewport
- Returns:
-
addTextDocument
@QtUninvokable public final void addTextDocument(QPointF position, QTextDocument document, int selectionStart) Overloaded function for
addTextDocument(io.qt.core.QPointF, io.qt.gui.QTextDocument, int, int)
withselectionCount = -1
. -
addTextDocument
Overloaded function for
addTextDocument(io.qt.core.QPointF, io.qt.gui.QTextDocument, int, int)
with:
selectionStart = -1
selectionCount = -1
-
addTextDocument
@QtUninvokable public final void addTextDocument(QPoint position, QTextDocument document, int selectionStart) Overloaded function for
addTextDocument(io.qt.core.QPoint, io.qt.gui.QTextDocument, int, int)
withselectionCount = -1
. -
addTextDocument
Overloaded function for
addTextDocument(io.qt.core.QPoint, io.qt.gui.QTextDocument, int, int)
with:
selectionStart = -1
selectionCount = -1
-
addTextDocument
@QtUninvokable public final void addTextDocument(QPoint position, QTextDocument document, int selectionStart, int selectionCount) Overloaded function for
addTextDocument(io.qt.core.QPointF, io.qt.gui.QTextDocument, int, int)
. -
addTextLayout
@QtUninvokable public final void addTextLayout(QPointF position, QTextLayout layout, int selectionStart, int selectionCount, int lineStart) Overloaded function for
addTextLayout(io.qt.core.QPointF, io.qt.gui.QTextLayout, int, int, int, int)
withlineCount = -1
. -
addTextLayout
@QtUninvokable public final void addTextLayout(QPointF position, QTextLayout layout, int selectionStart, int selectionCount) Overloaded function for
addTextLayout(io.qt.core.QPointF, io.qt.gui.QTextLayout, int, int, int, int)
with:
lineStart = 0
lineCount = -1
-
addTextLayout
@QtUninvokable public final void addTextLayout(QPointF position, QTextLayout layout, int selectionStart) Overloaded function for
addTextLayout(io.qt.core.QPointF, io.qt.gui.QTextLayout, int, int, int, int)
with:
selectionCount = -1
lineStart = 0
lineCount = -1
-
addTextLayout
Overloaded function for
addTextLayout(io.qt.core.QPointF, io.qt.gui.QTextLayout, int, int, int, int)
with:
selectionStart = -1
selectionCount = -1
lineStart = 0
lineCount = -1
-
addTextLayout
@QtUninvokable public final void addTextLayout(QPoint position, QTextLayout layout, int selectionStart, int selectionCount, int lineStart) Overloaded function for
addTextLayout(io.qt.core.QPoint, io.qt.gui.QTextLayout, int, int, int, int)
withlineCount = -1
. -
addTextLayout
@QtUninvokable public final void addTextLayout(QPoint position, QTextLayout layout, int selectionStart, int selectionCount) Overloaded function for
addTextLayout(io.qt.core.QPoint, io.qt.gui.QTextLayout, int, int, int, int)
with:
lineStart = 0
lineCount = -1
-
addTextLayout
@QtUninvokable public final void addTextLayout(QPoint position, QTextLayout layout, int selectionStart) Overloaded function for
addTextLayout(io.qt.core.QPoint, io.qt.gui.QTextLayout, int, int, int, int)
with:
selectionCount = -1
lineStart = 0
lineCount = -1
-
addTextLayout
Overloaded function for
addTextLayout(io.qt.core.QPoint, io.qt.gui.QTextLayout, int, int, int, int)
with:
selectionStart = -1
selectionCount = -1
lineStart = 0
lineCount = -1
-
addTextLayout
@QtUninvokable public final void addTextLayout(QPoint position, QTextLayout layout, int selectionStart, int selectionCount, int lineStart, int lineCount) Overloaded function for
addTextLayout(io.qt.core.QPointF, io.qt.gui.QTextLayout, int, int, int, int)
. -
setColor
Overloaded function for
setColor(io.qt.gui.QColor)
. -
setColor
Overloaded function for
setColor(io.qt.gui.QColor)
. -
setColor
Overloaded function for
setColor(io.qt.gui.QColor)
. -
setLinkColor
Overloaded function for
setLinkColor(io.qt.gui.QColor)
. -
setLinkColor
Overloaded function for
setLinkColor(io.qt.gui.QColor)
. -
setLinkColor
Overloaded function for
setLinkColor(io.qt.gui.QColor)
. -
setSelectionColor
Overloaded function for
setSelectionColor(io.qt.gui.QColor)
. -
setSelectionColor
Overloaded function for
setSelectionColor(io.qt.gui.QColor)
. -
setSelectionColor
Overloaded function for
setSelectionColor(io.qt.gui.QColor)
. -
setSelectionTextColor
Overloaded function for
setSelectionTextColor(io.qt.gui.QColor)
. -
setSelectionTextColor
Overloaded function for
setSelectionTextColor(io.qt.gui.QColor)
. -
setSelectionTextColor
Overloaded function for
setSelectionTextColor(io.qt.gui.QColor)
. -
setStyleColor
Overloaded function for
setStyleColor(io.qt.gui.QColor)
. -
setStyleColor
Overloaded function for
setStyleColor(io.qt.gui.QColor)
. -
setStyleColor
Overloaded function for
setStyleColor(io.qt.gui.QColor)
. -
setViewport
Overloaded function for
setViewport(io.qt.core.QRectF)
.
-