18#include <QtGui/qimageiohandler.h>
19#include <QtPdf/QPdfDocument>
49 QRect m_scaledClipRect;
51 bool m_loaded =
false;
52 bool m_ownsDocument =
false;
The QColor class provides colors based on RGB, HSV or CMYK values.
\inmodule QtCore \reentrant
The QImageIOHandler class defines the common image I/O interface for all image formats in Qt.
ImageOption
This enum describes the different options supported by QImageIOHandler.
QIODevice * device() const
Returns the device currently assigned to the QImageIOHandler.
The QPdfDocument class loads a PDF document and renders pages from it.
bool supportsOption(ImageOption option) const override
Returns true if the QImageIOHandler supports the option option; otherwise returns false.
bool canRead() const override
Returns true if an image can be read from the device (i.e., the image format is supported,...
bool jumpToNextImage() override
For image formats that support animation, this function jumps to the next image.
bool jumpToImage(int frame) override
For image formats that support animation, this function jumps to the image whose sequence number is i...
~QPdfIOHandler() override
int currentImageNumber() const override
For image formats that support animation, this function returns the sequence number of the current im...
int imageCount() const override
For image formats that support animation, this function returns the number of images in the animation...
bool read(QImage *image) override
Read an image from the device, and stores it in image.
QRect currentImageRect() const override
Returns the rect of the current image.
void setOption(ImageOption option, const QVariant &value) override
Sets the option option with the value value.
\inmodule QtCore\reentrant
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]