java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QIconEngine
- All Implemented Interfaces:
QtObjectInterface
Abstract base class for QIcon renderers
Java wrapper for Qt's class QIconEngine
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QIconEngine::IconEngineHookstatic class
Java wrapper for Qt's class QIconEngine::ScaledPixmapArgumentNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQIconEngine
(QIconEngine other) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionactualSize
(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) Overloaded function foravailableSizes(io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
availableSizes
(QIcon.Mode mode) Overloaded function foravailableSizes(io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
.availableSizes
(QIcon.Mode mode, QIcon.State state) abstract QIconEngine
clone()
iconName()
final boolean
isNull()
key()
abstract void
paint
(QPainter painter, QRect rect, QIcon.Mode mode, QIcon.State state) pixmap
(QSize size, QIcon.Mode mode, QIcon.State state) boolean
read
(QDataStream in) final QPixmap
scaledPixmap
(QSize size, QIcon.Mode mode, QIcon.State state, double scale) boolean
write
(QDataStream out) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QIconEngine
public QIconEngine() -
QIconEngine
-
QIconEngine
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
isNull
-
scaledPixmap
@QtUninvokable public final QPixmap scaledPixmap(QSize size, QIcon.Mode mode, QIcon.State state, double scale) -
actualSize
-
addFile
-
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
-
key
-
paint
@QtUninvokable public abstract void paint(QPainter painter, QRect rect, QIcon.Mode mode, QIcon.State state) -
pixmap
-
read
-
write
-