java.lang.Object
io.qt.QtObject
io.qt.gui.QPictureIO
- All Implemented Interfaces:
QtObjectInterface
Contains parameters for loading and saving pictures
Java wrapper for Qt class QPictureIO
-
Constructor Summary
ConstructorDescriptionQPictureIO
(QIODevice ioDevice, String format) QPictureIO
(String fileName, String format) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
defineIOHandler
(String format, String header, String flags, QPictureIOHandler read_picture, QPictureIOHandler write_picture) final String
final String
fileName()
final String
format()
final float
gamma()
static QList<QByteArray>
final QIODevice
ioDevice()
static QList<QByteArray>
final String
final QPicture
picture()
static QByteArray
pictureFormat
(QIODevice arg__1) static QByteArray
pictureFormat
(String fileName) final int
quality()
final boolean
read()
final void
setDescription
(String arg__1) final void
setFileName
(String arg__1) final void
final void
setGamma
(float arg__1) final void
setIODevice
(QIODevice arg__1) final void
setParameters
(String arg__1) final void
setPicture
(QPicture arg__1) final void
setQuality
(int arg__1) final void
setStatus
(int arg__1) final int
status()
final boolean
write()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QPictureIO
public QPictureIO() -
QPictureIO
-
QPictureIO
-
-
Method Details
-
description
- Returns:
-
fileName
- Returns:
-
format
- Returns:
-
gamma
- Returns:
-
ioDevice
- Returns:
-
parameters
- Returns:
-
picture
- Returns:
-
quality
- Returns:
-
read
- Returns:
-
setDescription
- Parameters:
arg__1
-
-
setFileName
- Parameters:
arg__1
-
-
setGamma
- Parameters:
arg__1
-
-
setIODevice
- Parameters:
arg__1
-
-
setParameters
- Parameters:
arg__1
-
-
setPicture
- Parameters:
arg__1
-
-
setQuality
- Parameters:
arg__1
-
-
setStatus
- Parameters:
arg__1
-
-
status
- Returns:
-
write
- Returns:
-
defineIOHandler
public static void defineIOHandler(String format, String header, String flags, QPictureIOHandler read_picture, QPictureIOHandler write_picture) - Parameters:
format
-header
-flags
-read_picture
-write_picture
-
-
inputFormats
- Returns:
-
outputFormats
- Returns:
-
pictureFormat
- Parameters:
arg__1
-- Returns:
-
pictureFormat
- Parameters:
fileName
-- Returns:
-
setFormat
-