java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QAbstractTextDocumentLayout.Selection
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
- QAbstractTextDocumentLayout
public static class QAbstractTextDocumentLayout.Selection extends QtObject implements Cloneable
QAbstractTextDocumentLayout::Selection class is a convenience class defining the parameters of a selection
Java wrapper for Qt class QAbstractTextDocumentLayout::Selection
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description Selection()
protected
Selection(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QAbstractTextDocumentLayout.Selection
clone()
QTextCursor
cursor()
The selection's cursorQTextCharFormat
format()
The format of the selectionvoid
setCursor(QTextCursor cursor)
The selection's cursorvoid
setFormat(QTextCharFormat format)
The format of the selection
-
Constructor Details
-
Method Details
-
setFormat
The format of the selection
See QAbstractTextDocumentLayout::Selection::setFormat(const QTextCharFormat & format)
-
format
The format of the selection
-
setCursor
The selection's cursor
See QAbstractTextDocumentLayout::Selection::setCursor(const QTextCursor & cursor)
-
cursor
The selection's cursor
-
clone
-