java.lang.Object
io.qt.QtObject
io.qt.gui.QIconEngine
- All Implemented Interfaces:
QtObjectInterface
Abstract base class for QIcon renderers
Java wrapper for Qt class QIconEngine
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQIconEngine::IconEngineHook
static class
Java wrapper for Qt classQIconEngine::ScaledPixmapArgument
-
Constructor Summary
-
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()
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) 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
-
-
Method Details
-
actualSize
-
addFile
-
addPixmap
-
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
-
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
-