QAbstractTextDocumentLayout::Selection Struct
struct QAbstractTextDocumentLayout::SelectionLa clase QAbstractTextDocumentLayout::Selection es una clase práctica que define los parámetros de una selección. Más...
Variables públicas
Descripción detallada
Una selección se puede utilizar para especificar una parte de un documento que debe resaltarse al dibujar diseños personalizados para QTextDocuments con la función QAbstractTextDocumentLayout::draw(). Se especifica utilizando cursor y un format.
Véase también QAbstractTextDocumentLayout y PaintContext.
Documentación de variables de miembro
QTextCursor Selection::cursor
Esta variable contiene el cursor de la selección
El valor por defecto es un cursor nulo.
QTextCharFormat Selection::format
Esta variable contiene el formato de la selección
El valor por defecto es QTextFormat::InvalidFormat.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.