java.lang.Object
io.qt.internal.QtJambiObject
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
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QImageReader::ImageReaderErrorNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQImageReader
(QIODevice device) Overloaded constructor forQImageReader(io.qt.core.QIODevice, io.qt.core.QByteArray)
withformat = new io.qt.core.QByteArray()
.QImageReader
(QIODevice device, QByteArray format) protected
Constructor for internal use only.QImageReader
(String fileName) Overloaded constructor forQImageReader(java.lang.String, io.qt.core.QByteArray)
withformat = new io.qt.core.QByteArray()
.QImageReader
(String fileName, QByteArray format) -
Method Summary
Modifier and TypeMethodDescriptionstatic int
final 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 int
final QImage.Format
static QByteArray
imageFormat
(QIODevice device) static QByteArray
imageFormat
(String fileName) 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
static void
setAllocationLimit
(int mbLimit) 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
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
-
QImageReader
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
autoDetectImageFormat
-
autoTransform
-
backgroundColor
-
canRead
-
clipRect
-
currentImageNumber
-
currentImageRect
-
decideFormatFromContent
-
device
-
error
-
errorString
-
fileName
-
format
-
imageCount
-
imageFormat
-
jumpToImage
-
jumpToNextImage
-
loopCount
-
nextImageDelay
-
quality
-
read
-
scaledClipRect
-
scaledSize
-
setAutoDetectImageFormat
-
setAutoTransform
-
setBackgroundColor
-
setClipRect
-
setDecideFormatFromContent
-
setDevice
-
setFileName
-
setFormat
-
setQuality
-
setScaledClipRect
-
setScaledSize
-
size
-
subType
-
supportedSubTypes
-
supportsAnimation
-
supportsOption
-
text
-
textKeys
-
transformation
-
allocationLimit
public static int allocationLimit() -
imageFormat
-
imageFormat
-
imageFormatsForMimeType
-
setAllocationLimit
public static void setAllocationLimit(int mbLimit) -
supportedImageFormats
-
supportedMimeTypes
-