java.lang.Object
io.qt.QtObject
io.qt.gui.QImageReader
- All Implemented Interfaces:
QtObjectInterface
Format independent interface for reading images from files or other devices
Java wrapper for Qt class QImageReader
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQImageReader::ImageReaderError
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorsConstructorDescriptionQImageReader
(String fileName) Overloaded constructor forQImageReader(java.lang.String, io.qt.core.QByteArray)
withformat = new io.qt.core.QByteArray()
.QImageReader
(String fileName, QByteArray format) QImageReader
(QIODevice device) Overloaded constructor forQImageReader(io.qt.core.QIODevice, io.qt.core.QByteArray)
withformat = new io.qt.core.QByteArray()
.QImageReader
(QIODevice device, QByteArray format) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
final boolean
final QColor
final boolean
canRead()
final QRect
clipRect()
final int
final QRect
final boolean
final QIODevice
device()
error()
final String
final String
fileName()
final QByteArray
format()
final float
gamma()
final int
final QImage.Format
static QByteArray
imageFormat
(String fileName) static QByteArray
imageFormat
(QIODevice device) static QList<QByteArray>
imageFormatsForMimeType
(QByteArray mimeType) final boolean
jumpToImage
(int imageNumber) final boolean
final int
final int
final int
quality()
final QImage
read()
final QRect
final QSize
final void
setAutoDetectImageFormat
(boolean enabled) final void
setAutoTransform
(boolean enabled) final void
setBackgroundColor
(QColor color) final void
setClipRect
(QRect rect) final void
setDecideFormatFromContent
(boolean ignored) final void
final void
setFileName
(String fileName) final void
setFormat
(QByteArray format) final void
setGamma
(float gamma) final void
setQuality
(int quality) final void
setScaledClipRect
(QRect rect) final void
setScaledSize
(QSize size) final QSize
size()
final QByteArray
subType()
static QList<QByteArray>
static QList<QByteArray>
final QList<QByteArray>
final boolean
final boolean
final String
final QStringList
textKeys()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QImageReader
public QImageReader() -
QImageReader
Overloaded constructor for
QImageReader(io.qt.core.QIODevice, io.qt.core.QByteArray)
withformat = new io.qt.core.QByteArray()
. -
QImageReader
-
QImageReader
Overloaded constructor for
QImageReader(java.lang.String, io.qt.core.QByteArray)
withformat = new io.qt.core.QByteArray()
. -
QImageReader
-
-
Method Details
-
autoDetectImageFormat
-
autoTransform
-
backgroundColor
-
canRead
-
clipRect
-
currentImageNumber
-
currentImageRect
-
decideFormatFromContent
-
device
-
error
-
errorString
-
fileName
-
format
-
gamma
-
imageCount
-
imageFormat
-
jumpToImage
-
jumpToNextImage
-
loopCount
-
nextImageDelay
-
quality
-
read
-
scaledClipRect
-
scaledSize
-
setAutoDetectImageFormat
-
setAutoTransform
-
setBackgroundColor
-
setClipRect
-
setDecideFormatFromContent
-
setDevice
-
setFileName
-
setFormat
-
setGamma
-
setQuality
-
setScaledClipRect
-
setScaledSize
-
size
-
subType
-
supportedSubTypes
-
supportsAnimation
-
supportsOption
-
text
-
textKeys
-
transformation
-
imageFormat
-
imageFormat
-
imageFormatsForMimeType
-
supportedImageFormats
-
supportedMimeTypes
-