pub struct QImageIOHandler { /* private fields */ }Expand description
C++ class: QImageIOHandler.
Implementations§
Source§impl QImageIOHandler
impl QImageIOHandler
Sourcepub unsafe fn can_read(&self) -> bool
pub unsafe fn can_read(&self) -> bool
Calls C++ function: pure virtual bool QImageIOHandler::canRead() const.
Sourcepub unsafe fn current_image_number(&self) -> c_int
pub unsafe fn current_image_number(&self) -> c_int
Calls C++ function: virtual int QImageIOHandler::currentImageNumber() const.
Sourcepub unsafe fn current_image_rect(&self) -> CppBox<QRect>
pub unsafe fn current_image_rect(&self) -> CppBox<QRect>
Calls C++ function: virtual QRect QImageIOHandler::currentImageRect() const.
Sourcepub unsafe fn device(&self) -> QPtr<QIODevice>
pub unsafe fn device(&self) -> QPtr<QIODevice>
Calls C++ function: QIODevice* QImageIOHandler::device() const.
Sourcepub unsafe fn format(&self) -> CppBox<QByteArray>
pub unsafe fn format(&self) -> CppBox<QByteArray>
Calls C++ function: QByteArray QImageIOHandler::format() const.
Sourcepub unsafe fn image_count(&self) -> c_int
pub unsafe fn image_count(&self) -> c_int
Calls C++ function: virtual int QImageIOHandler::imageCount() const.
Sourcepub unsafe fn jump_to_image(&self, image_number: c_int) -> bool
pub unsafe fn jump_to_image(&self, image_number: c_int) -> bool
Calls C++ function: virtual bool QImageIOHandler::jumpToImage(int imageNumber).
Sourcepub unsafe fn jump_to_next_image(&self) -> bool
pub unsafe fn jump_to_next_image(&self) -> bool
Calls C++ function: virtual bool QImageIOHandler::jumpToNextImage().
Sourcepub unsafe fn loop_count(&self) -> c_int
pub unsafe fn loop_count(&self) -> c_int
Calls C++ function: virtual int QImageIOHandler::loopCount() const.
Sourcepub unsafe fn name(&self) -> CppBox<QByteArray>
pub unsafe fn name(&self) -> CppBox<QByteArray>
Calls C++ function: virtual QByteArray QImageIOHandler::name() const.
Sourcepub unsafe fn next_image_delay(&self) -> c_int
pub unsafe fn next_image_delay(&self) -> c_int
Calls C++ function: virtual int QImageIOHandler::nextImageDelay() const.
Sourcepub unsafe fn option(&self, option: ImageOption) -> CppBox<QVariant>
pub unsafe fn option(&self, option: ImageOption) -> CppBox<QVariant>
Calls C++ function: virtual QVariant QImageIOHandler::option(QImageIOHandler::ImageOption option) const.
Sourcepub unsafe fn read(&self, image: impl CastInto<Ptr<QImage>>) -> bool
pub unsafe fn read(&self, image: impl CastInto<Ptr<QImage>>) -> bool
Calls C++ function: pure virtual bool QImageIOHandler::read(QImage* image).
Sourcepub unsafe fn set_device(&self, device: impl CastInto<Ptr<QIODevice>>)
pub unsafe fn set_device(&self, device: impl CastInto<Ptr<QIODevice>>)
Calls C++ function: void QImageIOHandler::setDevice(QIODevice* device).
Sourcepub unsafe fn set_format_mut(&self, format: impl CastInto<Ref<QByteArray>>)
pub unsafe fn set_format_mut(&self, format: impl CastInto<Ref<QByteArray>>)
Calls C++ function: void QImageIOHandler::setFormat(const QByteArray& format).
Sourcepub unsafe fn set_format(&self, format: impl CastInto<Ref<QByteArray>>)
pub unsafe fn set_format(&self, format: impl CastInto<Ref<QByteArray>>)
Calls C++ function: void QImageIOHandler::setFormat(const QByteArray& format) const.
Sourcepub unsafe fn set_option(
&self,
option: ImageOption,
value: impl CastInto<Ref<QVariant>>,
)
pub unsafe fn set_option( &self, option: ImageOption, value: impl CastInto<Ref<QVariant>>, )
Calls C++ function: virtual void QImageIOHandler::setOption(QImageIOHandler::ImageOption option, const QVariant& value).
Sourcepub unsafe fn supports_option(&self, option: ImageOption) -> bool
pub unsafe fn supports_option(&self, option: ImageOption) -> bool
Calls C++ function: virtual bool QImageIOHandler::supportsOption(QImageIOHandler::ImageOption option) const.