java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QIconEngine
- All Implemented Interfaces:
QtObjectInterface
public abstract class QIconEngine extends QtObject
Abstract base class for QIcon renderers
Java wrapper for Qt class QIconEngine
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QIconEngine.IconEngineHook
Java wrapper for Qt enum QIconEngine::IconEngineHookstatic class
QIconEngine.ScaledPixmapArgument
Java wrapper for Qt class QIconEngine::ScaledPixmapArgument -
Constructor Summary
Constructors Modifier Constructor Description QIconEngine()
protected
QIconEngine(QIconEngine other)
protected
QIconEngine(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QSize
actualSize(QSize size, QIcon.Mode mode, QIcon.State state)
void
addFile(String fileName, QSize size, QIcon.Mode mode, QIcon.State state)
void
addPixmap(QPixmap pixmap, QIcon.Mode mode, QIcon.State state)
List<QSize>
availableSizes()
Overloaded function foravailableSizes(io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
List<QSize>
availableSizes(QIcon.Mode mode)
Overloaded function foravailableSizes(io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
.List<QSize>
availableSizes(QIcon.Mode mode, QIcon.State state)
abstract QIconEngine
clone()
String
iconName()
boolean
isNull()
String
key()
abstract void
paint(QPainter painter, QRect rect, QIcon.Mode mode, QIcon.State state)
QPixmap
pixmap(QSize size, QIcon.Mode mode, QIcon.State state)
boolean
read(QDataStream in)
QPixmap
scaledPixmap(QSize size, QIcon.Mode mode, QIcon.State state, double scale)
boolean
write(QDataStream out)
-
Constructor Details
-
QIconEngine
public QIconEngine() -
QIconEngine
-
QIconEngine
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
actualSize
-
addFile
@QtUninvokable public void addFile(String fileName, QSize size, QIcon.Mode mode, QIcon.State state) -
addPixmap
-
availableSizes
Overloaded function for
availableSizes(io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
. -
availableSizes
Overloaded function for
availableSizes(io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
with:
mode = io.qt.gui.QIcon.Mode.Normal
state = io.qt.gui.QIcon.State.Off
-
availableSizes
-
clone
-
iconName
-
isNull
-
key
-
paint
@QtUninvokable public abstract void paint(QPainter painter, QRect rect, QIcon.Mode mode, QIcon.State state) -
pixmap
-
read
-
scaledPixmap
@QtUninvokable public QPixmap scaledPixmap(QSize size, QIcon.Mode mode, QIcon.State state, double scale) -
write
-