java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QPictureIO
- All Implemented Interfaces:
QtObjectInterface
public class QPictureIO extends QtObject
Contains parameters for loading and saving pictures
Java wrapper for Qt class QPictureIO
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QPictureIO()
QPictureIO(QIODevice ioDevice, String format)
protected
QPictureIO(QtObject.QPrivateConstructor p)
Constructor for internal use only.QPictureIO(String fileName, String format)
-
Method Summary
Modifier and Type Method Description static void
defineIOHandler(String format, String header, String flags, QPictureIOHandler read_picture, QPictureIOHandler write_picture)
String
description()
String
fileName()
String
format()
float
gamma()
static QList<QByteArray>
inputFormats()
QIODevice
ioDevice()
static QList<QByteArray>
outputFormats()
String
parameters()
QPicture
picture()
static QByteArray
pictureFormat(QIODevice arg__1)
static QByteArray
pictureFormat(String fileName)
int
quality()
boolean
read()
void
setDescription(String arg__1)
void
setFileName(String arg__1)
void
setFormat(String format)
void
setGamma(float arg__1)
void
setIODevice(QIODevice arg__1)
void
setParameters(String arg__1)
void
setPicture(QPicture arg__1)
void
setQuality(int arg__1)
void
setStatus(int arg__1)
int
status()
boolean
write()
-
Constructor Details
-
QPictureIO
public QPictureIO() -
QPictureIO
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
QPictureIO
-
QPictureIO
-
-
Method Details
-
description
-
fileName
-
format
-
gamma
-
ioDevice
-
parameters
-
picture
-
quality
-
read
-
setDescription
-
setFileName
-
setGamma
-
setIODevice
-
setParameters
-
setPicture
-
setQuality
-
setStatus
-
status
-
write
-
defineIOHandler
public static void defineIOHandler(String format, String header, String flags, QPictureIOHandler read_picture, QPictureIOHandler write_picture) -
inputFormats
-
outputFormats
-
pictureFormat
-
pictureFormat
-
setFormat
-