|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.gui.QImageReader.ImageReaderError
public static final class QImageReader.ImageReaderError
This enum describes the different types of errors that can occur when reading images with QImageReader
.
Field Summary | |
---|---|
static QImageReader.ImageReaderError |
DeviceError
QImageReader encountered a device error when reading the image. |
static QImageReader.ImageReaderError |
FileNotFoundError
QImageReader was used with a file name, but not file was found with that name. |
static QImageReader.ImageReaderError |
InvalidDataError
The image data was invalid, and QImageReader was unable to read an image from it. |
static QImageReader.ImageReaderError |
UnknownError
An unknown error occurred. |
static QImageReader.ImageReaderError |
UnsupportedFormatError
Qt does not support the requested image format. |
Method Summary | |
---|---|
static QImageReader.ImageReaderError |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QImageReader.ImageReaderError |
valueOf(java.lang.String name)
|
static QImageReader.ImageReaderError[] |
values()
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QImageReader.ImageReaderError UnknownError
read()
, it is most likely caused by a bug in QImageReader
.
public static final QImageReader.ImageReaderError FileNotFoundError
QImageReader
was used with a file name, but not file was found with that name. This can also happen if the file name contained no extension, and the file with the correct extension is not supported by Qt.
public static final QImageReader.ImageReaderError DeviceError
QImageReader
encountered a device error when reading the image. You can consult your particular device for more details on what went wrong.
public static final QImageReader.ImageReaderError UnsupportedFormatError
public static final QImageReader.ImageReaderError InvalidDataError
QImageReader
was unable to read an image from it. The can happen if the image file is damaged.
Method Detail |
---|
public static QImageReader.ImageReaderError[] values()
public static QImageReader.ImageReaderError valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QImageReader.ImageReaderError resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |