java.lang.Object
io.qt.QtObject
io.qt.gui.QAbstractTextDocumentLayout.Selection
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QAbstractTextDocumentLayout
QAbstractTextDocumentLayout::Selection class is a convenience class defining the parameters of a selection
Java wrapper for Qt class QAbstractTextDocumentLayout::Selection
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final QTextCursor
cursor()
The selection's cursorboolean
Seeoperator==(QAbstractTextDocumentLayout::Selection,
QAbstractTextDocumentLayout::Selection) final QTextCharFormat
format()
The format of the selectionfinal QTextCursor
Kotlin property getter.final QTextCharFormat
Kotlin property getter.int
hashCode()
Returns the objects's hash code computed byqHash(QAbstractTextDocumentLayout::Selection)
.final void
setCursor
(QTextCursor cursor) The selection's cursorfinal void
setFormat
(QTextCharFormat format) The format of the selectionMethods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
Selection
public Selection()See
QAbstractTextDocumentLayout::Selection::
Selection()
-
-
Method Details
-
setCursor
The selection's cursor
-
cursor
The selection's cursor
-
setFormat
The format of the selection
-
format
The format of the selection
-
equals
See
operator==(QAbstractTextDocumentLayout::Selection,
QAbstractTextDocumentLayout::Selection) -
hashCode
Returns the objects's hash code computed byqHash(QAbstractTextDocumentLayout::Selection)
. -
clone
Creates and returns a copy of this object.
-
getCursor
Kotlin property getter. In Java use
cursor()
instead. -
getFormat
Kotlin property getter. In Java use
format()
instead.
-