QPdfPageSelector Class
Un widget para seleccionar una página PDF. Más...
| Header: | #include <QPdfPageSelector> |
| Since: | Qt 6.6 |
| Inherits: | QWidget |
Propiedades
- currentPage : int
- currentPageLabel : QString
- document : QPdfDocument*
Funciones públicas
| QPdfPageSelector(QWidget *parent) | |
| virtual | ~QPdfPageSelector() override |
| int | currentPage() const |
| QString | currentPageLabel() const |
| QPdfDocument * | document() const |
| void | setDocument(QPdfDocument *document) |
Ranuras públicas
| void | setCurrentPage(int index) |
Señales
| void | currentPageChanged(int index) |
| void | currentPageLabelChanged(const QString &label) |
| void | documentChanged(QPdfDocument *document) |
Descripción detallada
QPdfPageSelector es un widget para seleccionar una etiqueta de página de un QPdfDocument.
Ver también QPdfDocument::pageLabel().
Documentación de Propiedades
currentPage : int
Esta propiedad contiene el índice (basado en0) de la página actual del documento.
Funciones de acceso:
| int | currentPage() const |
| void | setCurrentPage(int index) |
Señal del notificador:
| void | currentPageChanged(int index) |
[read-only] currentPageLabel : QString
Esta propiedad contiene la etiqueta de página correspondiente a la página actual del documento.
Es el texto que se presenta al usuario.
Funciones de acceso:
| QString | currentPageLabel() const |
Señal del notificador:
| void | currentPageLabelChanged(const QString &label) |
Véase también QPdfDocument::pageLabel().
document : QPdfDocument*
Esta propiedad contiene el documento que se desea visualizar.
Funciones de acceso:
| QPdfDocument * | document() const |
| void | setDocument(QPdfDocument *document) |
Señal del notificador:
| void | documentChanged(QPdfDocument *document) |
Documentación de la función miembro
[explicit] QPdfPageSelector::QPdfPageSelector(QWidget *parent)
Construye un selector de página PDF con el widget padre parent.
[override virtual noexcept] QPdfPageSelector::~QPdfPageSelector()
Destruye el selector de página.
© 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.