71 d->documentStatusChangedConnection =
73 [
d](){ d->documentStatusChanged(); });
75 d->documentStatusChanged();
88 if (
d->document.isNull())
91 return d->document->pageIndexForLabel(
text);
97 if (
d->document.isNull())
100 return d->document->pageLabel(
value);
105#include "moc_qpdfpageselector.cpp"
QString text
the spin box's text, including any prefix and suffix
The QPdfDocument class loads a PDF document and renders pages from it.
Status status
This property holds the current status of the document.
int pageCount
This property holds the number of pages in the loaded document or 0 if no document is loaded.
void statusChanged(QPdfDocument::Status status)
QPointer< QPdfDocument > document
QPdfPageSelectorPrivate(QPdfPageSelector *q)
void documentStatusChanged()
QPdfDocument * document
This property holds the document to be viewed.
void setDocument(QPdfDocument *document)
int valueFromText(const QString &text) const override
This virtual function is used by the spin box whenever it needs to interpret text entered by the user...
~QPdfPageSelector()
Destroys the page selector.
void documentChanged(QPdfDocument *document)
QString textFromValue(int value) const override
This virtual function is used by the spin box whenever it needs to display the given value.
bool isNull() const
Returns true if the referenced object has been destroyed or if there is no referenced object; otherwi...
The QSpinBox class provides a spin box widget.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLdouble GLdouble GLdouble GLdouble q
connect(quitButton, &QPushButton::clicked, &app, &QCoreApplication::quit, Qt::QueuedConnection)
myObject disconnect()
[26]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent