- 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
-
Constructor Summary
ConstructorDescriptionSeeQAbstractTextDocumentLayout::Selection::
Selection() Selection
(QTextCursor cursor, QTextCharFormat format) SeeQAbstractTextDocumentLayout::Selection::
Selection{QTextCursor, QTextCharFormat} SeeQAbstractTextDocumentLayout::Selection::
Selection(QAbstractTextDocumentLayout::Selection) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final QTextCursor
cursor()
The selection's cursorfinal boolean
Seeoperator==(QAbstractTextDocumentLayout::Selection,
QAbstractTextDocumentLayout::Selection) boolean
Seeoperator==(QAbstractTextDocumentLayout::Selection,
QAbstractTextDocumentLayout::Selection) final QTextCharFormat
format()
The format of the selectionint
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() -
Selection
See
QAbstractTextDocumentLayout::Selection::
Selection(QAbstractTextDocumentLayout::Selection) -
Selection
See
QAbstractTextDocumentLayout::Selection::
Selection{QTextCursor, QTextCharFormat}
-
-
Method Details
-
equals
See
operator==(QAbstractTextDocumentLayout::Selection,
QAbstractTextDocumentLayout::Selection) -
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.
See
QAbstractTextDocumentLayout::Selection::
Selection(QAbstractTextDocumentLayout::Selection)
-