A widget for selecting a PDF page. More...
| Header: | #include <QPdfPageSelector> |
| Since: | Qt 6.6 |
| Inherits: | QWidget |
| QPdfPageSelector(QWidget *parent) | |
| virtual | ~QPdfPageSelector() override |
| int | currentPage() const |
| QString | currentPageLabel() const |
| QPdfDocument * | document() const |
| void | setDocument(QPdfDocument *document) |
| void | setCurrentPage(int index) |
| void | currentPageChanged(int index) |
| void | currentPageLabelChanged(const QString &label) |
| void | documentChanged(QPdfDocument *document) |
QPdfPageSelector is a widget for selecting a page label from a QPdfDocument.
See also QPdfDocument::pageLabel().
This property holds the index (0-based) of the current page in the document.
Access functions:
| int | currentPage() const |
| void | setCurrentPage(int index) |
Notifier signal:
| void | currentPageChanged(int index) |
[read-only] currentPageLabel : const QStringThis property holds the page label corresponding to the current page in the document.
This is the text presented to the user.
Access functions:
| QString | currentPageLabel() const |
Notifier signal:
| void | currentPageLabelChanged(const QString &label) |
See also QPdfDocument::pageLabel().
This property holds the document to be viewed.
Access functions:
| QPdfDocument * | document() const |
| void | setDocument(QPdfDocument *document) |
Notifier signal:
| void | documentChanged(QPdfDocument *document) |
[explicit] QPdfPageSelector::QPdfPageSelector(QWidget *parent)Constructs a PDF page selector with parent widget parent.
[override virtual noexcept] QPdfPageSelector::~QPdfPageSelector()Destroys the page selector.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: