java.lang.Object
io.qt.QtObject
io.qt.gui.QTextLayout.FormatRange
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QTextLayout
QTextLayout::FormatRange structure is used to apply extra formatting information for a specified area in the text layout's content
Java wrapper for Qt class QTextLayout::FormatRange
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.boolean
Seeoperator==(QTextLayout::FormatRange,
QTextLayout::FormatRange) final QTextCharFormat
format()
final QTextCharFormat
Kotlin property getter.final int
Kotlin property getter.final int
getStart()
Kotlin property getter.int
hashCode()
Returns the objects's hash code computed byqHash(QTextLayout::FormatRange)
.final int
length()
final void
setFormat
(QTextCharFormat format) final void
setLength
(int length) final void
setStart
(int start) final int
start()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
FormatRange
public FormatRange()See
QTextLayout::FormatRange::
FormatRange()
-
-
Method Details
-
setFormat
-
getFormat
Kotlin property getter. In Java use
format()
instead. -
format
-
setLength
-
getLength
Kotlin property getter. In Java use
length()
instead. -
length
-
setStart
-
getStart
Kotlin property getter. In Java use
start()
instead. -
start
-
equals
See
operator==(QTextLayout::FormatRange,
QTextLayout::FormatRange) -
hashCode
Returns the objects's hash code computed byqHash(QTextLayout::FormatRange)
. -
clone
Creates and returns a copy of this object.
-