QImage copy(const QRect &rect=QRect()) const
Returns a sub-area of the image as a new image.
void copy(const QPixmapData *data, const QRect &rect)
void copy(const QPixmapData *data, const QRect &rect)
virtual QImage toImage() const =0
static const char * data(const QByteArray &arr)
The QRect class defines a rectangle in the plane using integer precision.
void fromImage(const QImage &image, Qt::ImageConversionFlags flags)